upgrading PHP

Having trouble installing serendipity?
Post Reply
PeterK2003

upgrading PHP

Post by PeterK2003 »

I am tring to upgrade to PHP 5.1.1 but when i do all i get is blank screen when i try to load S9Y. I know the php install seems to be working fine as i have squirrel mail(PHP based) installed on the same machine and it is working fine. any thoughts?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: upgrading PHP

Post by garvinhicking »

Please enable your php's display_errors directive and/or search through your PHP/Apache error logfile.

A blank screen usually means either a coredump or a fatal error that is suppressed because of missing display_errors directive.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
PeterK2003
Regular
Posts: 8
Joined: Tue Dec 20, 2005 3:22 pm

the error

Post by PeterK2003 »

I belive this is the error that is causing the problem but i am not sure what to do about it:

[Sat Dec 17 14:49:24 2005] [error] [client 192.168.0.2] PHP Fatal error: Call to undefined function sqlite_open() in D:\\ftp\\Peter.krum.name\\serendipity\\include\\db\\sqlite.inc.php on line 37
[Sat Dec 17 14:49:29 2005] [error] [client 192.168.0.2] PHP Fatal error: Call to undefined function sqlite_open() in D:\\ftp\\Peter.krum.name\\serendipity\\include\\db\\sqlite.inc.php on line 37
[Sat Dec 17 14:50:13 2005] [error] [client 192.168.0.2] PHP Fatal error: Call to undefined function sqlite_open() in D:\\ftp\\Peter.krum.name\\serendipity\\include\\db\\sqlite.inc.php on line 37
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

Is the sqlite-extension activated?
PeterK2003
Regular
Posts: 8
Joined: Tue Dec 20, 2005 3:22 pm

where am i looking

Post by PeterK2003 »

where should i be looking for this? PHP.ini? If so i see a bunch of stuff about mysql but nothing for sqlite.
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

Yes, php.ini. Search for a long list with extension= and write extension=sqlite.dll at the end or delete the ;. Restart the Apache.

Create a phpinfo and habe a look at sqlite.
PeterK2003
Regular
Posts: 8
Joined: Tue Dec 20, 2005 3:22 pm

not quite

Post by PeterK2003 »

i think the command should be "extension=php_sqlite.dll" based on the other extentions and the list of dlls in the ext folder. And when i added the line and restarted apache it took a really long time and eventually windows told me "Error 1053: The service did not respond to the start or control request in a timely fashion."
PeterK2003
Regular
Posts: 8
Joined: Tue Dec 20, 2005 3:22 pm

Post by PeterK2003 »

btw

my phpinfo can be seen at: http://krum.name/phptest.php
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

Code: Select all

Beim Laden von http://www2.krum.name:8080/phptest.php ist folgender Fehler aufgetreten:
Zeitüberschreitung auf dem Server
 Verbindung bestand zu www2.krum.name an Port 8080
Okay, no connection.
I think there is an error with your sqlite. Can you test it with other databases? I use Linux and have no problems with mysql and sqlite. I think it is a problem with the php configuration or the OS.

I installed WAMP a long time, so i don't remember of the right dll filenames. But you found the right names ;-).
PeterK2003
Regular
Posts: 8
Joined: Tue Dec 20, 2005 3:22 pm

Post by PeterK2003 »

ok i am not sure why that link didn't work for ya it looks like th redirection worked but what ever. Thanks for the help. I am going to be moving all my web stuff to a new server shortly maybe that will fix it.
Post Reply