Operating System - HP-UX
1783198 Members
1804 Online
109144 Solutions
New Discussion юеВ

Re: Apache, PHP and Images

 
SOLVED
Go to solution
Ermin Borovac
Honored Contributor
Solution

Re: Apache, PHP and Images

Ok, you're almost there :-)

/opt/hpws/apache/hpws_docs/php.admin.guide lists libpng 1.0.11 as a dependency for gd.sl.

You need to get source for libpng 1.0.x and compile it (unless you can find already built depot).

I think libpng-1.0.18 will do fine.

http://prdownloads.sourceforge.net/libpng/libpng-1.0.18.tar.gz?download

After untar'ing the file you will find a makefile for hp-ux in scripts directory. Use makefile.hpgcc for gcc, or makefile.hpux for cc.

$ cp scripts/makefile.hpgcc makefile
$ make
# make install
MR VILLOT   MR MONTAGNE
Frequent Advisor

Re: Apache, PHP and Images

Thanks to you for your help.

It works fine !

Final Configuration :
hpuxwsApache A.2.0.53.00 HP-UX Apache-based Web Server
Apache/2.0.53 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/4.3.8
GD Version bundled (2.0.23 compatible)
libpng 1.0.18.
MR VILLOT   MR MONTAGNE
Frequent Advisor

Re: Apache, PHP and Images

Thread closed