Jump to content

Trying to install PHP4, module problem


ThinkGeekness

Recommended Posts

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

#./install-bindist.sh

 

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

#--enable-module=so

 

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?

 

Thanks

Link to comment
Share on other sites

  • 3 weeks later...

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.