Page 1 of 1
upgrading PHP
Posted: Sat Dec 17, 2005 9:07 pm
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?
Re: upgrading PHP
Posted: Mon Dec 19, 2005 9:32 am
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
the error
Posted: Tue Dec 20, 2005 3:31 pm
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
Posted: Tue Dec 20, 2005 3:33 pm
by falk
Is the sqlite-extension activated?
where am i looking
Posted: Tue Dec 20, 2005 4:09 pm
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.
Posted: Tue Dec 20, 2005 4:13 pm
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.
not quite
Posted: Tue Dec 20, 2005 4:43 pm
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."
Posted: Tue Dec 20, 2005 4:51 pm
by PeterK2003
btw
my phpinfo can be seen at:
http://krum.name/phptest.php
Posted: Tue Dec 20, 2005 5:07 pm
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

.
Posted: Tue Dec 20, 2005 5:17 pm
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.