I know that more than one person has been through this. I've read lots of manuals (apache, PHP, others ...), and I just can't get Apache + PHP working.
* TC 2.9
* Installed PHP, MySQL, Apache
* followed PHP info file instructions, repeatedly
* followed apache info file instructions, repeatedly
PHP works fine from the command line, but I can't get it to work from the browser. error_log says:
(8)Exec format error: exec of '/usr/local/htdocs/index.php' failed, referrer: http://127.0.0.1/
Premature end of script headers: index.php, referrer: http://127.0.0.1/
my index.php is simple:
<?php phpinfo(); ?>
I read Rob's advice about using lighttpd instead, but I'd reeeeely like this to work on apache. I am trying to duplicate a production server that runs debian+apache+drupal.
I am afraid that I have to recompile PHP and create the apache libphp5.so module, then load that in httpd.conf?
Any/all advice welcome!