Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP and RedHat 7.2 Install

Status
Not open for further replies.

gwinn7

Programmer
Feb 10, 2001
1,004
US
If you are trying to configure PHP (from source) with Apache and PostgreSQL on RedHat 7.2 and are having trouble, here is what seems to work consistently...

1. Install Postgres and Apache from RPM.
2. Install PHP from source as a DSO.
3. Done. You may need to check your httpd.conf file.

After thought...
I am not sure why, perhaps someone could add some information as to why is it when we install Apache from source, PHP (from source as a DSO) does not install properly.

I will continue to check the documentation and post if I find anything.

Gary
gwinn7
A+, Network+


 
Actually, I compiled PostgreSQL, Apache and PHP from source just 3 days ago on my RedHat 7.3 system. It works just fine for me. //Daniel
 
Great! I wish I had the same fortune!

What was your install procedure, step-by-step?

Gary
gwinn7
A+, Network+
 
The only thing I can think of that might be your problem is how you configured Apache. Did you add --enable-module=so? Without it you don't have any DSO support. If that won't work, I'll post how I did it. //Daniel
 
Well, I did more than that actually. Here is what I used...

./configure --enable-module=most --enable-shared=max

According to the docs, this should enable just about everything, including DSO support.

Gary
gwinn7
A+, Network+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top