#27373 [Opn->Bgs]: Apache vs 1.3.27 and 1.3.29 with PHP 4.3.4 and 4.2.2 - libphp4.so not created
| From: | sniper@php.net | Date: | Thu, 26 Feb 2004 00:23:11 +0000 |
| Subject: | #27373 [Opn->Bgs]: Apache vs 1.3.27 and 1.3.29 with PHP 4.3.4 and 4.2.2 - libphp4.so not created | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55577@lists.php.net to get a copy of this message | ||
ID: 27373
Updated by: sniper@php.net
Reported By: mattm at mattm dot net
-Status: Open
+Status: Bogus
-Bug Type: Reproducible crash
+Bug Type: Compile Failure
Operating System: Solaris 5.7 Sparc
PHP Version: 4.3.4
New Comment:
If you follow the instructions in the INSTALL file for static build
(and EXACTLY like it said there! Use _fresh_ apache sources!) it will
work.
Please ask further support questions elsewhere, there is no bug here.
(libphp4.so is created ONLY when you use --with-apxs and have DSO
enabled Apache)
Previous Comments:
------------------------------------------------------------------------
[2004-02-25 17:25:52] mattm at mattm dot net
Thanks for the speedy reply --
I started with a very basic httpd.conf file, as this server is to have
only two directories (Nagios install w/ php).
I have wound up blowing away apache completely, and just trying to get
it to work with the newly compiled Apache/PHP combo. Note that Apache
compiles and works without PHP. As soon as I add it in I get probs.
Just no I tried the same steps, omiting the --active-module=php4 line.
Same results.
The /usr/local/apache/libexec directory is empty
The PHP entries for LoadModule / ClearModule were not added to
httpd.conf
------------------------------------------------------------------------
[2004-02-24 04:47:14] sniper@php.net
What exactly do you have in httpd.conf ?
And I don't think you need --enable-module=php4 in the last phase for
Apache..
------------------------------------------------------------------------
[2004-02-23 18:31:54] mattm at mattm dot net
Description:
------------
Apache vs 1.3.27 and 1.3.29 with PHP 4.3.4 and 4.2.2
I'm almost bald now -- pulling out my hair for a week on this one. I
have gone through all the bug-reports and tried all sorts of
combinations. I am using the latest stable release from the website.
Preconfigure APACHE
# cd apache_1.3.27
# ./configure --prefix=/usr/local/apache
PHP
# cd php-4.3.3
# ./configure --with-apache=../apache_1.3.27
# make
# make install
# cp php.ini-dist /usr/local/lib/php.ini
APACHE Final Install
# cd apache_1.3.27
# ./configure --activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--prefix=/usr/local/apache \
# make
# make install
Error conditions now:
a) The /usr/local/apache/libexec folder is empty.
b) The htpasswd tool core-dumps
c) httpd will not start when php4 is referenced in httpd.conf
Things tried:
a) configure, make, change libtool: build_libtool_libs=yes, make
install -- the libphp4.so.0 is not in .libs as the workarounds
indicate
b) varios combinations of Apache and PHP as listed above.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27373&edit=1