Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I installed PHP3 using RPMS, but it doesn compile with the database support I need! Whats going on here?

0
Posted

I installed PHP3 using RPMS, but it doesn compile with the database support I need! Whats going on here?

0

Due to the way PHP is currently built, it is not easy to build a complete flexible PHP RPM. This issue will be addressed in PHP4. For PHP3, we currently suggest you use the mechanism described in the INSTALL.REDHAT file in the PHP distribution. If you insist on using an RPM version of PHP, read on… Currently the RPM packagers are setting up the RPMS to install without database support to simplify installations AND because RPMS use /usr/ instead of the standard /usr/local/ directory for files. You need to tell the RPM spec file which databases to support and the location of the top-level of your database server. This example will explain the process of adding support for the popular MySQL database server, using the mod installation for Apache. Of course all of this information can be adjusted for any database server that PHP3 supports. I will assume you installed MySQL and Apache completely with RPMS for this example as well. • First remove mod_php3 rpm -e mod_php3 • Then get the sour

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.