Originally posted by SavedToServe
So what am I doing wrong??
Shane Miller
Unix System Admin
Possibly a great many things, young Skywalker.... 😃
But I dunno for sure. I have a php *.so file, but I still have to tell Apache to load the module; if you don't that's news to me 😕
Also, it looks as if you're not sure whether you want Apache to use the shared library or to use PHP as a CGI. Here's the relevant data from my httpd.conf if it helps:
#grep php /usr/local/etc/apache/httpd.conf
LoadModule php4_module libexec/apache/libphp4.so
AddModule mod_php4.c
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.php3 index.html
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html
<IfModule !mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.html
<IfModule !mod_php4.c>
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps