|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #446 Unable to compile PHP2 & PHP3 under Apache 1.3.0
Submitted: 1998-06-09 11:03 UTC Modified: 1998-06-17 09:29 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: fmal at fmal dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: other OS: AIX 3.2.5
Private report: No CVE-ID: None
 [1998-06-09 11:03 UTC] fmal at fmal dot com
I was able to compile both php 2.0.1 whit php 3.0rc4 under
apache 1.3b5, (fixint the missing " in

Now I try to have the same system with php 3.0 and apache
1.3.0, following the FAQ instructions ... but I have :

\"     \
      -o httpd buildmark.o modules.o modules/php3/libphp3.a modules/extra/libextra.a modul
es/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a  -L
modules/php3 -L../modules/php3 -lmodphp3 -ldb -lgd -lresolv -lm            -L/usr/local/ms
ql/lib -lmsql
collect2: ld returned 8 exit status
0706-317 ERROR: Unresolved or undefined symbols detected:
                 Symbols in error (followed by references) are
                 dumped to the load map.
                 The -bloadmap:<filename> option will create a load map.
make: *** [target_static] Error 1


The install script for php2 does not copy mod_php.module
into the apache tree ... I did it handly into the right
directory src/modules/extra.
I included compat.h in php.h
I escluded from os.c in apache/src/os/unix the include
for dso (aix 3 does not support it).
I edited src/Makefile to find includes ...




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-17 09:29 UTC] rasmus
In your src/modules/extra/mod_php.c file, try adding
#include "compat.h" just before the httpd.h include.
(confirmed, the above did the trick)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 10:01:29 2024 UTC