notes on building PHP 5 on a Fedora Core 3 system
I have a generally vanilla FC3 system. I wanted to update to PHP 5 because of security issues in PHP. These are the extra things I had to do to get it to work.
First, my configure line is this:
./configure --with-apxs2=/usr/sbin/apxs --with-mysql
I had to make links for libjpeg and libpng:
ln -s libjpeg.so.6 libjpeg.so
ln -s libpng.so.3 libpng.so
These are packages I needed to add:
yum -y install libpng-devel
yum -y install freetype-devel
yum -y install libc-client-devel
yum -y install unixODBC-devel
yum -y install aspell-devel
I actually had some trouble with postgresSQL connector, so I turned it off. I don't use it myself, so that doesn't really matter.
I tried to replicate the configure line from my php4. Big mistake. All I got were segfaults and link errors. I re-configured with the minimalist line above. Now everything is happy.