I’m just trying to install my LAMP Server. Everything went well so far. The last step is getting PHP installed.
now this is how I want it to be configured:
./configure --prefix=/usr/local/php-4.3.4 --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql/ --with-pdflib=/usr/local/ --with-zlib-dir=/usr/lib/ --enable-track-vars=yes --enable-magic-quotes --enable-url-includes --enable-sysvshm=yes --enable-sysvsem=yes --enable-ftp --with-config-file-path=/usr/local/php/ --with-gd --with-jpeg-dir=/usr/lib/
now, my first Problem was, that the “libjpeg.so” was missing - I found the libjpeg.so.62 on my System and made a ls - n to it with “libjpeg.so”.
Now the same problem accured with libpng - no problem again a link…
But now it says
“configure: error: png.h not found.”
what ist png.h - couldn’t locate this on my System (except in /users/floezen/PDFlib-Lite-5.0.2-Unix-src/libs/png/png.h which is the source for the PDFlib installation).
Now - where should png.h be and how can I install this?
Hope someone can help me
This is a RedHat 9 Linux distribution.