Operating System - HP-UX
1819941 Members
3618 Online
109607 Solutions
New Discussion

Re: apache 2 with php ( php with GD )

 
Karvendhan M
Frequent Advisor

apache 2 with php ( php with GD )

Hi all,

I am trying for last one week to get this combination work. The reqt is Apache with PHP and PHP with GD+mySQL.

I didn't see any errors while building php or apache. But when starting...

opt/apache2/bin/apachectl start
Syntax error on line 230 of /opt/apache2/conf/httpd.conf:
Cannot load /opt/apache2/modules/libphp4.so into server: Unresolved symbol: jpeg_destroy (code) from /opt/gd/lib/libgd.sl
/opt/apache2/bin/apachectl start: httpd could not be started


Pls help me to get this combination work.

I have used the GD binary from http://hpux.connect.org.uk

I have installed freetype, jpeg, zlib & png libs ( got from the above site ).


I have tried # chatr +s enable /opt/gd/lib/libgd.sl

this command failed.

jpeg libs are in /usr/local/lib

#/usr/ccs/bin/nm /opt/gd/lib/libgd.sl
says
nm: /opt/gd/lib/libgd.sl: no symbols



Pls help



1 REPLY 1
Karvendhan M
Frequent Advisor

Re: apache 2 with php ( php with GD )

Some more details:

OS hpux 11

gcc 3.1

Alsop anybody ca tell me how to build a libgd.sl/ibgd.so from gd distribution?

GD is 1.8.4

I did't get libgd.sl/ibgd.so when tried to install from source. I had to go for the depot from the poring centre.

Thanks in Advance

~ Karvendhan M