Apache Installation on Linux: No Add Modules
Posted 20 October 2003 - 04:19 PM
I am unable to compile any php code without AddModule mod_php4.c which I cant seem to add successfully.
Does anybody have suggestions?
Posted 25 October 2003 - 04:01 PM
#grep php /usr/local/etc/apache/httpd.confLoadModule php4_module libexec/apache/libphp4.soAddModule 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 .html .php3 AddType application/x-httpd-php-source .phps
Posted 26 October 2003 - 11:52 AM
I added the line LoadModule php4_module modules/libphp4.so, and it started to work. Though I am somewhat confused as I thought AddModule\'s are supposed to be core components of Apache Server. Does libphp4.so replace the need for AddModules?
Thanks for your response LAMP. I am definitely going to try replicate your httpd.conf structure to see what happens.
Posted 26 October 2003 - 02:14 PM
In Apache 1.3.x, at least (have no experience with 2.x) you must both \"Load\" and \"Add\" your modules, as your experience has shown.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users