Hi all,
I have recently installed PHP/Apache/MySQL. I have also compiled the package cURL so that it works together with Apache and PHP. This all works fine.
Now, I want to add some packages to Apache and PHP, but I have tried so many suggestions and nothing seems to do the job.
I would like to have support zlib, jpeg6b, libpng, t1lib, freetype and especially GD.
I unpacked all these packages into /usr/local and then did:
cd apache_1.3.28
./configure --prefix=/usr/local/apache
cd php-4.2.3
./configure --with-mysql=/usr \
--with-xml --with apache=../apache_1.3.28 \
--with-curl=../curl\
--with-jpeg-dir=/usr/local/jpeg-6b \
--with-png-dir=/usr/local \
--with-freetype-dir=/usr/local \
--with-ttf \
--with-t1lib \
--with-tiff-dir=/usr/local \
--with-gd=/usr/local \
--enable-gd=/usr/local \
--enable-sockets \
--with zlib
make
make install
cp php.ini-recommended /usr/local/lib/php.ini
cd apache-1.3.28
make
make install
It looks like it did not do anything as my phpinfo() gives exactly the same output as before.
Can anyone point me to a REAL good tutorial that explains me how I can add modules and packages to an already installed Apache/PHP/MySQL environment.
Thanks in advance!!!