Jump to content


Photo

Trying to install PHP4, module problem


  • Please log in to reply
1 reply to this topic

#1 ThinkGeekness

ThinkGeekness
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 17 March 2003 - 09:51 PM

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

#2 Nicat23

Nicat23
  • New Members
  • Pip
  • Newbie
  • 4 posts
  • LocationFt Worth, TX

Posted 04 April 2003 - 03:44 PM

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

-- Justin




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users