LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP 5.1.0 and Apache 2.0.55 don't work together (https://www.linuxquestions.org/questions/linux-software-2/php-5-1-0-and-apache-2-0-55-don%27t-work-together-387082/)

polemon 11-27-2005 05:23 PM

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

Tinkster 11-27-2005 06:08 PM

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


Cheers,
Tink

polemon 11-28-2005 01:24 AM

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

Tinkster 11-28-2005 11:17 AM

Read again ... the problem is NOT with mysql, it's with SQLite


Cheers,
Tink

polemon 11-28-2005 06:35 PM

OOOkay, SQLite!!!

um... how can i solve my problem?

Tinkster 11-28-2005 07:03 PM

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


Cheers,
Tink

polemon 11-29-2005 05:43 AM

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

polemon 12-04-2005 05:35 AM

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.

Tinkster 12-04-2005 12:57 PM

Good on yah!

:}


All times are GMT -5. The time now is 04:38 PM.