LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-07-2006, 11:59 AM   #1
Ravo
Member
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 41

Rep: Reputation: 15
PHP 5.1.2 / Apache 2.2 / SQLite install error on FC4


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?

Last edited by Ravo; 03-07-2006 at 12:00 PM.
 
Old 03-07-2006, 03:03 PM   #2
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Rep: Reputation: 31
try compiling without SQLite...
 
Old 03-07-2006, 08:51 PM   #3
Ravo
Member
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 41

Original Poster
Rep: Reputation: 15
OK, so after adding --without-sqlite to ./configure, I recompile, then reinstall. It gives me the same error. I finally did away with all that and installed Apache and PHP via YUM. That halfed worked. It installed, and I could easily get MySQL working, but once again no SQLite.

So I tried "pecl install sqlite". It downloads, runs config, then fails to compile.

This is absurdly frustrating. Does anyone know of a precompiled binary of sqlite for php?

Last edited by Ravo; 03-07-2006 at 08:54 PM.
 
Old 03-09-2006, 03:16 PM   #4
Ravo
Member
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 41

Original Poster
Rep: Reputation: 15
The problem is fixed.

I went around this problem by installing xampp, which is available from http://www.apachefriends.org/en/xampp.html. Xampp is like a virtual server suite, and took almost no effort at all to get installed and running.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache / FC4 undefined symbol error krazygaz Linux - Software 1 04-02-2006 04:53 PM
Sablotron+iconv+php+apache error MPowers Linux - Software 0 03-02-2006 02:27 AM
Apache Virtualhosts + PHP error critical Linux - Software 3 08-03-2005 12:21 AM
Apache + PHP error Peper Linux - Software 1 12-20-2004 09:27 AM
apache + php error bkortleven Linux - Software 2 04-23-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration