LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-27-2005, 05:23 PM   #1
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
PHP 5.1.0 and Apache 2.0.55 don't work together


Hi, I updatet to the last version of Apache, (2.0.55) and it works just fine.
Then i wantet to update to the latest PHP plugin (5.1.0).
Compiling the Apache module went well, without any errors, and it build that libphp5.so and places it into the right directory, where the old libphp5.so was.

however, when i try to start the Server i get the following error:
Code:
[root@MAGI bereziak]# /usr/local/apache2/bin/httpd -k start
Syntax error on line 232 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: sqlite3IdListDelete
The module is awkwardly small, it's just 223.1KB, whereas the old module was about 6.6MB in size.

I compiled exactly like the manual said, but it just doesn't work.
I use a backup version of my old module, (PHP 5.0.4) it works fine with that for now...

Please help,

--polemon
 
Old 11-27-2005, 06:08 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well, the error message is quite clear, isn't it? Something
went wrong when you compiled your PHP against SQLite.


Cheers,
Tink
 
Old 11-28-2005, 01:24 AM   #3
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

Original Poster
Rep: Reputation: 31
Well, well, i compiled my former version of PHP with '--with-mysql' and it worked niceley.

What should I do to have it compiled correctly?

please help,

--polemon
 
Old 11-28-2005, 11:17 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Read again ... the problem is NOT with mysql, it's with SQLite


Cheers,
Tink
 
Old 11-28-2005, 06:35 PM   #5
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

Original Poster
Rep: Reputation: 31
OOOkay, SQLite!!!

um... how can i solve my problem?
 
Old 11-28-2005, 07:03 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I don't know, I have never used sqlite, but my guess
would be "by explicitly compiling PHP *without*
sqlite support"?


Cheers,
Tink
 
Old 11-29-2005, 05:43 AM   #7
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

Original Poster
Rep: Reputation: 31
I tryed that, i ./configure-ed with '--without-sqlite', like the '--help' function states, but i still get the same error, i tryed updating SQLite, but it was no use, didn't help...

I'm kinda lost, maybe anybody had to tackle the same problem?

Please help.

--polemon
 
Old 12-04-2005, 05:35 AM   #8
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

Original Poster
Rep: Reputation: 31
Ok, I solved it!

Well, the problem was not me this time, it was the plugin itself, that's why two days after 5.1.0 was released, they released 5.1.1 .

I compiled 5.1.1 without any errors or problems, worked on the first shot.
 
Old 12-04-2005, 12:57 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Good on yah!

:}
 
  


Reply



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, MySql, PHP work on 10.0 but not 10.1 fireman949 Slackware 3 02-28-2005 11:36 PM
installing php to work with apache citrus Linux - Software 8 04-30-2004 02:08 AM
downloaded apache +RH mysql + RH php would it work? Red Squirrel Linux - Software 1 03-07-2004 06:11 PM
Can't get PHP and apache to work together FrostGunner Linux - Software 3 09-11-2003 11:51 AM
apache or php doesn't work properly on RH8.0 abd_bela Linux - Networking 6 03-18-2003 05:20 AM

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

All times are GMT -5. The time now is 05:31 AM.

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