HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Yet another PHP/Apache Compile Problem
Operating System - HP-UX
1833861
Members
2565
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 10:25 PM
01-22-2004 10:25 PM
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2004 03:48 PM
02-03-2004 03:48 PM
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
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)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP