Operating System - HP-UX
1834931 Members
2469 Online
110071 Solutions
New Discussion

Start PHP with Apache in HPUX 11i rp 2470

 
Victor Manuel
New Member

Start PHP with Apache in HPUX 11i rp 2470

When i try starting PHP4 with apache 2, i uncoment LoadModule php4_module modules/libphp4.so line in the httpd.conf file, then run script /opt/hpapache2/bin/apachectl start but process doesn´t finish and apache can´t start.

Please some one has a tip, for start apache with PHP, thaks and regards

Víctor Valeriano
3 REPLIES 3
enrico.nic
Regular Advisor

Re: Start PHP with Apache in HPUX 11i rp 2470

Simply uncomment the following 3 lines in httpd.conf:

LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

then run apachectl configtest (or apachectl -t), this should tell you about any other error in the configuration.

Cheers

Enrico
Steven E. Protter
Exalted Contributor

Re: Start PHP with Apache in HPUX 11i rp 2470

Shalom Victor,

HP does deliver an integrated depot that includes php, apache and tomcat.

There are several versions available on http://software.hp.com that will work with the configuration you have posted.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Victor Manuel
New Member

Re: Start PHP with Apache in HPUX 11i rp 2470

Hi Enrico & SEP,
I trying whith your suggest Enrico, but problem persists, and now I am installing hp web server from hp depot, Thanks guys.