Operating System - HP-UX
1823920 Members
3084 Online
109667 Solutions
New Discussion юеВ

Re: HpuxwsApache and Oracle/PHP support

 
Paul Hawkins
Frequent Advisor

HpuxwsApache and Oracle/PHP support

Does anyone know whether HPuxWSApache has Oracle/PHP support built in. It is supposed to but I get

Fatal error: Call to undefined function: ocilogon() in /opt/hpws/apache/htdocs/oracle.php on line 29

I have looked a test PHP page and it seems Apache is configured thus...

./configure' '--prefix=/opt/hpws/apache/php' '--enable-so' '--with-apxs2=/opt/hpws/apache/bin/apxs'

Surely this means PHP in Apache does not support Oracle/PHP out of the box as is claimed.

Anyone had any experience of this?

Thanks
Paul
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: HpuxwsApache and Oracle/PHP support

Hi Paul,

Maybe it depends on the version you are running ?

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW101001

If you look at the above link, PHP/oracle is build in.

Robert-Jan
Mark Greene_1
Honored Contributor

Re: HpuxwsApache and Oracle/PHP support

check the config for apache (typically on hp in /opt/apache/conf/httpd.conf) and see if the PHP add-ins have been uncommented.

mark
the future will be a lot like now, only later
Paul Hawkins
Frequent Advisor

Re: HpuxwsApache and Oracle/PHP support

Thanks Guys,
HP Apache is supposed to have PHP/Oracle out of the box but the ocilogon err msg indicates that it it is not...
Perhaps I should log a a call with the response center.
Paul Hawkins
Frequent Advisor

Re: HpuxwsApache and Oracle/PHP support

The solution to this problem is that the php.ini file has to have the following line uncommented...
extension=oci8.sl

It now works!