Re: Apache 2.2 and PHP5

From: Date: Fri, 17 Feb 2006 23:12:57 +0000
Subject: Re: Apache 2.2 and PHP5
Groups: php.install 
Request: Send a blank email to php-install+get-17071@lists.php.net to get a copy of this message
It means ur a pecr-head. ;-) I have PHP 5 integrated with httpd 2.2 and had no problems. I used almost the same confiure flags as you except the --with-pdo. When I have included that path in past installations, something always broke. I never bothered to figure it out. Mark >>> Rodrigo Poblanno Balp <balpo@gmx.net> 17-Feb-06 17:59:30 PM >>> I can't get PHP along with Apache Web Server 2.2. I've already read the mail archives to find a solution, but none helps me. Now, I followed the instructions on http://www.php.net/manual/en/install.unix.apache2.php Apache installation was OK. PHP installation was OK. The ./configure parameters for PHP were: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-calendar --with-pgsql=/usr/local/pgsql/ --with-pdo-pgsql=/usr/local/pgsql/ --with-zlib=/usr/local/lib I don't use mysql so I eliminated the suggestion on the manual. After the installation libphp5.so is copied on my modules directory of apache. I added to httpd.conf the following: LoadModule php5_module modules/libphp5.so I stop my apache, and restart it in order to it taking effects of the changes and get this message: httpd: Syntax error on line 487 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: php_pcre_fullinfo I really don't know what's the problem here. I guess this is a php installation problem, rather than an apache one. Can anybody help me here? Thanx in advance. Balpo

« previous php.install (#17071) next »