Entry
After install PHP4 as DSO with Apache, I get [Mon Aug 28 19:56:52 2000] [error] (8)Exec format error: exec of /home/httpd/phpPgAdmin/index.php failed
Jul 9th, 2001 09:56
jeff putnam, Capt. Mooboy, David Day,
Check httpd.conf within the <IfModule mod_mime.c> directive to make sure
that:
1) You have:
AddType application/x-httpd-php .php
2) You DON'T have .php listed here:
AddHandler cgi-script .cgi
You should also check to be sure that the php script is not in a
directory listed in the ScriptsAlias section as there it will be
executed as a normal unix script, instead it should be in a normal
directory of web pages. (This took me rather a while to figure out.)