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!

./configure with additional support/modules

Status
Not open for further replies.

j0nxuser

Technical User
May 4, 2003
31
US
Currently running RHL9 and FC3 on several x86 boxes -installed OS's, apache & php from CD distro). Perl, PHP, Oracle, Apache all run like they should. My next challenge is that I would now like to interface PHP with Oracle, LDAP, MSSQL Server, MYSQL and Postgre but can't figure out where to start since I installed php/apache from CD as opposed to binary (*.gz). Everything that I read clearly shows how to complile PHP with all of the above modules from fresh binary install, but it does not show you what to do if you selected these options on CD install (I guess that is telling me something ;-) ). Where is the ./configure file located? Will I be better off reinstalling PHP and apache from binary?

Thank you!
Mark
 
If you're talking about using PHP's ./configure script, you're not talking about installing from binary, but rather compiling PHP from from source tarball. That would be the *.tar.gz files.

Generally, I install Apache and PHP solely from source tarball. Even the Fedora folk take a while to update their packages when new versions of Apache and PHP come out, and I like to get security updates installed as quickly as possible. Were I in your place, I would uninstall both the Apache and PHP packages and reinstall them both from source tarballs I had downloaded from their respective websites.

If you do decide to reinstall Apache from source, one parameter you can pass Apache's configure script is "--enable-layout=RedHat", which will put the configuration files, etc, about where you expect them to be.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Thank you! That is what I was figuring - I will let you know what happens. Keep your fingers crossed!

Mark
 
Got it working - had to re-install/compile Apache and PHP.
That was some work!!

Thanks again!

Mark
 
Another recommendation:

Create a shell script which invokes the appropriate configure scripts and passes all the parameters you need. This makes reconfiguring a lot easier.

Also, you can see what parameters you passed to Apache's and PHP's respective configure scripts by looking in the file config.status in their respective directories.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Will do, hadn't thought of that. Thanks again!!

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top