I am attempting to install apache 2.2.0 and php 5.1.1 I want to have php5 as a loadable module. I recieve the exact same error as the person above.
Here are the details:
OS is fedora core 4 with kernel 2.6.14-1.1637_FC4
Apache 2.2.0 built as follows:
./configure --prefix=/usr/local/apache --enable-so --enable-module=ssl --enable-shared=ssl --enable-shared=max
make && make install
PHP 5.5.1 built and installed as follows:
./configure --with-apxs2=/usr/local/apache/bin/apxs
make && make install
Am I missing any options here?
When I do
apachectl start
I get:
httpd: Syntax error on line 235 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: sqlite3AlterFinishAddColumn
ps -ef | grep httpd
shows that the web server is not started.
Here's line 234, and 235 in httpd.conf:
AddType application/x-httpd-php .php
LoadModule php5_module modules/libphp5.so
Then it's comments for the next 10 lines. All starting with #
I can post configure script output for both apache and PHP if necessary. I'm not sure what to try next. Perhaps there is already a thread on this topic elswhere?
Any help would be appreciated.