Help - Search - Members - Calendar
Full Version: Php4 And Apache 2
Linuxhelp > Support > Technical Support

I am trying to install php4 onto a Slackware 9.1 install with apache already installed with mod_so.c enabled.... When i configure php, i do it with the following options:

--with-pgsql=/usr/local/postgres -> for postgresql
--prefix=/usr/local/apache/php -> the php install dir
--with-apxs2=/usr/local/apache/bin/apxs -> to make the module a DSO

then i do a make and a make install. after that i copyed the php.ini file to /usr/local/lib (i am not sure this is right)

then i edit my httpd.conf file and insert the LoadModule for php. Then i restart apache and do a httpd -l, however php still doesn't show up. Does anybody have any ideas? I think i might not have the php.ini file in the right spot...but the php INSTALL file in the src dir tells me that's where to put it. The reason that i think that it might be in the wrong place is because i didn't go with the default prefix, for both php and apache. apache is located in /usr/local/apache. anyways, thanks for any help in advance.

It really doesn't matter where is your php.ini but i think..httpd.conf should have correct information about the location of the file...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.