Jump to content


This topic is now archived and is closed to further replies.


Trying to install PHP4, module problem

Recommended Posts

I am trying to install PHP4.3.1 on Apache 1.3.26. I originally installed apache by:



When I tried to install PHP it said that I need to have Apache installed with:



Okay, so I installed enabling module=so (with ./configure), but it didnt load any of my modules.


So is there a way I can --enable-module=so with install-bindist.sh or a way I can have it install all of the modules with ./configure?



Share this post

Link to post
Share on other sites

try this.. it\'s a sample configure line.. the options may not be the same as yours.. but I have imap support enabled as well as openssl and vpopmail support, which is going away soon..


./configure --with-apxs=/var/www/bin/apxs --with-mysql --enable-track-vars --enable-versioning --with-imap=../imap-2002a/ --with-imap-ssl=../openssl-0.9.7 --with-vpopmail=/var/vpopmail


that\'s what you need to do if you\'re installing it as a module (I think...) you need to change the /var/www/bin/apxs to wherever apxs is installed.. then once you have that done and compiled and installed, then you need to add these lines to the httpd.conf

LoadModule php4_module        libexec/libphp4.so

AddType application/x-httpd-php .php .phtml .php3

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.