Bug #14556 Updated: PHP 4.1.0 and Apache 2.0.28 Beta incompatible statically and as DSO

From: Date: Sat, 12 Jan 2002 13:58:46 +0000
Subject: Bug #14556 Updated: PHP 4.1.0 and Apache 2.0.28 Beta incompatible statically and as DSO
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76775@lists.php.net to get a copy of this message
ID: 14556 Comment by: rod@sunsetsystems.com Old Reported By: melt284@hotmail.com Reported By: rod@sunsetsystems.com Status: Open Bug Type: Apache2 related Operating System: RedHat Linux 7.2 PHP Version: 4.1.0 New Comment: Same problem here but with PHP 4.1.1 and Apache snapshot 2.0_20011228171212. -- Rod Previous Comments: ------------------------------------------------------------------------ [2001-12-17 00:44:51] melt284@hotmail.com When Trying to install PHP 4.1.0 as a DSO on Apache 2.0.28 Beta the install completes without errors. I use this ./configure line with PHP: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars My httpd.conf contains the correct AddType and LoadModule lines and the module does exist in the directory LoadModule points to. My php.ini file is in /usr/local/lib Apache starts fine but when when trying to view a PHP page the browser simply tries to donwload the file instead of show it in the browser. If I try to compile PHP statically instead of as a DSO I use this ./configure line: ./configure --with-apache=/root/downloads/httpd-2_0_28/ --enable-track-vars And recieve this: configure: error: Invalid Apache directory - unable to find httpd.h under /root/downloads/httpd-2_0_28/ However httpd.h is there (in /root/downloads/httpd-2_0_28/includes/). Even if I change the ./configure line to say "includes/" at the end it still won't find the file. Apache2 was compiled with so enabled. If there is any other information I can provide please email me. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14556&edit=1

« previous php.dev (#76775) next »