Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Php4 And Apache 2, Having some trouble with DSO
post Apr 13 2004, 01:20 PM
Post #1


Group: Members
Posts: 27
Joined: 13-April 04
From: Brandon, Manitoba, Canada
Member No.: 2,771


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.

Go to the top of the page
+Quote Post
post Apr 14 2004, 03:24 AM
Post #2

RMS is my Hero

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29

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...

Hemant Kumar
user posted image
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd June 2018 - 04:30 AM