PHP, MySQL and IMP FAQ

Q. I can't find some of the RPM's listed in the book.

A. They should be online at http://www.mcp.com/display.cfm?item=0789724405&itemhdr=Updates&itemloc=updates

You can also download them from http://www.ctelcom.net/maxfield

 

Q. I am using PHP 3.0.15, and I get a mysql_pconnect() problem.

A. An error crept into the book, as PHP was undergoing a transition while the book was being printed. Get PHP version 3.0.16 source code instead.

You may also wish to download RPMs for PHP and install them instead. You can get 3.0 RPM's from rpmfind.net. The versions of RPM's online vary.

Version 3.0.12 rpm's can be found at http://www.linuxhelp.com.au/downloads/apache-php-mysql/ You would need to install the php, php-imap, and php-mysql rpms. I'm not sure how successful this path would be, but it should work.

Q. I've compiled under RedHat 6.2 or later, and get an error starting Apache, looking for compress and uncompress.

A. There are many ways around this. Some are much more painful than others. The easiest answer is to downgrade to version 1.3.9 of Apache, and compile PHP for it, and use the version of MySQL listed in the book. You can do this using only RPM's.

I've seen an answer that says to compile PHP with the –with-zlib option. That may work, but I've not done that.

The other way is to download the source for MySQL and compile it, then compile PHP.

If you wish the latest version of Apache, then you should download and compile Apache at the same time.

Q. I can't use the freetype RPM's you list in your book, as I can't uninstall the version I have.

A. This happens on 6.2 and later. Try installing the freetype-devel RPM's from the installation CD. The important thing is to have the devel RPM match the version you have installed.