Apache 2.2 and PHP5
| From: | Rodrigo Poblanno Balp | Date: | Fri, 17 Feb 2006 22:59:30 +0000 |
| Subject: | Apache 2.2 and PHP5 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17070@lists.php.net to get a copy of this message | ||
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