All I want to do is have an apache server with PHP and MySQL/SQLite. I downloaded the latest versions of both from their websites to compile from source.
I compiled Apache with the configure flag:
Code:
./configure --enable-mods-shared=all
It compiles, installs, and runs.
I compiled PHP with the configure flag:
Code:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
It compiles and installs, but when I restart apache it gives the following error:
Code:
./apachectl restart
httpd: Syntax error on line 103 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: sqlite3AlterFinishAddColumn
I have the latest version of SQLite and SQLite-Devel installed already. What's going on?