ID: 28558
Comment by: StanislavB at training dot ru
Reported By: j dot j dot d dot e dot lammerts at vanlanschot dot
com
Status: Open
Bug Type: Apache2 related
Operating System: AIX 5.1 ML4
PHP Version: 4.3.6
New Comment:
Hi,
I have same problem on Redhat 7.3 and Apache 1.3.7.
Problem appears as described when I build PHP 4.38 or 5.0
Previous Comments:
------------------------------------------------------------------------
[2004-07-09 10:35:24] laalit_seth at hotpop dot com
Hi,
I m facing the same problem on HP-UX 11.11 my httpd -v results in
# ./httpd -v
Server version: HP-UX_Apache-based_Web_Server/2.0.48
Server built: Nov 5 2003 03:42:46
i m using configuring it as
./configure --enable-libgcc --with-apxs2=/opt/hpws/apache/bin/apxs
--with-oracle=/opt/oracle1/product/8.1.7
--with-oci8=/opt/oracle1/product/8.1.7
fails in make stating
/opt/apal3/lib/PHP/php-4.3.4/sapi/apache/sapi_apache.c: In function
`apache_php_module_main':
/opt/apal3/lib/PHP/php-4.3.4/sapi/apache/sapi_apache.c:45: error:
`NOT_FOUND' undeclared (first use in this function)
/opt/apal3/lib/PHP/php-4.3.4/sapi/apache/sapi_apache.c:45: error: (Each
undeclared identifier is reported only once
/opt/apal3/lib/PHP/php-4.3.4/sapi/apache/sapi_apache.c:45: error: for
each function it appears in.)
gmake: *** [sapi/apache/sapi_apache.lo] Error 1
changing to apxs2 in above configure results in
checking for Apache 2.0 handler-module support via DSO through APXS...
expr: An integer value was expected.
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)
How can i resolve it. Is this resolved in 4.3.7 version.
Many Thanks
------------------------------------------------------------------------
[2004-07-08 15:17:42] j dot j dot d dot e dot lammerts at vanlanschot
dot com
Hello Sniper,
The output of httpd -v is :
Server version: IBM_HTTP_Server/2.0.42.2-PQ85834 Apache/2.0.47
Server built: Mar 31 2004 18:11:05
Hope this helps..
------------------------------------------------------------------------
[2004-07-08 12:58:06] [EMAIL PROTECTED]
What does 'httpd -v' output ?
------------------------------------------------------------------------
[2004-05-28 16:56:44] j dot j dot d dot e dot lammerts at vanlanschot
dot com
You are correct IHS 2.0.47 is Apache 2.0.47.
When I try configuring with --with-apxs2 I get :
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS...
no
checking for Apache 2.0 handler-module support via DSO through APXS...
expr: non-numeric a
rgument
configure: error: You have enabled Apache 2 support while your server
is Apache 1.3. Plea
se use the appropiate switch --with-apxs (without the 2)
Somehow the configurescript seems to think that I'm using 1.3, which
I'm not.....
------------------------------------------------------------------------
[2004-05-28 16:10:35] [EMAIL PROTECTED]
IBM HTTPServer 2.0.47 sounds like Apache 2 not Apache 1
which is what you are compiling php sapi for. Try using
--with-apxs2
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28558
--
Edit this bug report at http://bugs.php.net/?id=28558&edit=1