Problem: 1. make test on php
gives the following and hangs on last line:
2. apache does not start and gives error on sapi_module
Error from make test:
TEST
5382/5418 [sapi/cgi/tests/001.phpt]
FAIL
version string [sapi/cgi/tests/001.phpt]
TEST
5383/5418 [sapi/cgi/tests/002.phpt]
Error from apache start up:
httpd:
Syntax error on line 56 of /usr/local/apache2/conf/httpd.conf:
Cannot load
/usr/local/apache2/modules/libphp5.so into server:
ld.so.1: httpd: fatal: relocation
error:
file
/usr/local/apache2/modules/libphp5.so:
symbol sapi_module:
referenced symbol not found
Environment:
1. Solaris 9 No
previous php came with OS install.
2. php 5.3.0
downloaded from www.php.net
3. Apache 2.2.13 downloaded from www.apache.org
Performed as root
Build Method(s):
1. Apache build
./configure --enable-so --enable-rewrite=shared
make
make install
# check install. Start up apache and view through a browser.
# Works just fine.
2. php build (from php source dir)
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/usr/local/apache2/php
--prefix=/usr/local/apache2/php
# also tried
a --disable-all which didn't work either.
httpd.conf moded entries:
LoadModule rewrite_module
modules/mod_rewrite.so
LoadModule
php5_module modules/libphp5.so
# with another attempt with
AddType
application/x-httpd-php .php
AddType
application/x-httpd-php-source .phps
Any statement,
direction and / or guidance is highly appreciated.
Thank You
John Doppert
"This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to which they are addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error, please contact the sender and delete the material from your computer. Please note that any view or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of CKE Restaurants, Inc. ("CKE") and/or its subsidiaries. Finally, the recipient should check this e-mail and any attachments for the presence of viruses. CKE accepts no liability for any damage caused by any virus transmitted by this e-mail."
- Follow-Ups:
- Re: make test fails on sapi php 5.3.0
- From: Keith Roberts
- Re: make test fails on sapi php 5.3.0
- Prev by Date: unable to start apache 2.2.13 with php5.3.0
- Next by Date: Re: make test fails on sapi php 5.3.0
- Previous by thread: unable to start apache 2.2.13 with php5.3.0
- Next by thread: Re: make test fails on sapi php 5.3.0
- Index(es):