Operating System - HP-UX
1833861 Members
2565 Online
110063 Solutions
New Discussion

Re: Yet another PHP/Apache Compile Problem

 
Paul Hawkins
Frequent Advisor

Yet another PHP/Apache Compile Problem

Hello,

I have been trying to build a PHP/Oracle/Apache environment. I have made quite a lot of progress (seems PHP has a bit of a reputation judging by the amount of stuff on the web!).
The problem I have is that when I use the following configure...

./configure --with-apxs=/opt/hpws/apache/bin/apxs --with-oci8=/Oracle --with-oracle=/Oracle --with-enable-sigchild --prefix=/opt/hpws/apache/php

I get the following error at the end of the configure:-

WARNING: Your /opt/hpws/apache/bin/apxs script is most likely broken.

(ps - if I use apxs2 the configure says ...
configure: error: You have enabled Apache 2 support while your server is Apache 1.3. Please use the appropiate switch --with-apxs (without the 2)

**Surely /opt/hpapache2 is Apache 2 !!!***



...and if I proceed to build it fails with...


# make
/bin/sh /opt/hpapache2/php-4.3.4/libtool --silent --preserve-dup-deps --mode=compile gcc -D_USE_BIG_FDS -DUSE_SSL -DCHROOT -D_USE_BIG_FDS -I/opt/hpws/apache/include -Isapi/apache/ -I/opt/hpapache2/php-4.3.4/sapi/apache/ -DPHP_ATOM_INC -I/opt/hpapache2/php-4.3.4/include -I/opt/hpapache2/php-4.3.4/main -I/opt/hpapache2/php-4.3.4 -I/opt/hpapache2/php-4.3.4/Zend -I/Oracle/rdbms/public -I/Oracle/rdbms/demo -I/opt/hpapache2/php-4.3.4/ext/xml/expat -I/opt/hpapache2/php-4.3.4/TSRM -g -O2 -prefer-pic -c /opt/hpapache2/php-4.3.4/sapi/apache/sapi_apache.c -o sapi/apache/sapi_apache.lo
/opt/hpapache2/php-4.3.4/sapi/apache/sapi_apache.c: In function `apache_php_module_main':
/opt/hpapache2/php-4.3.4/sapi/apache/sapi_apache.c:45: error: `NOT_FOUND' undeclared (first use in this function)
/opt/hpapache2/php-4.3.4/sapi/apache/sapi_apache.c:45: error: (Each undeclared identifier is reported only once
/opt/hpapache2/php-4.3.4/sapi/apache/sapi_apache.c:45: error: for each function it appears in.)
*** Error exit code 1

Stop.
#

I can see there some real php experts on the forum, I hope someone can help me out here.

Regards
Paul
1 REPLY 1
Yogeeraj_1
Honored Contributor

Re: Yet another PHP/Apache Compile Problem

hi Paul,

any success?

I am in the same quest...

Install PHP 4.3.4 with my hpws.

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)