Restoring PHP
-
Hi. I am running on 2.1 snapshot, and I accidentally downgraded PHP package to 5.3.10 while I was trying to add php5-iconv package against my better judgement. Now the web configurator would not start. Is there a way to restore PHP (I believe the original snapshot version was 5.3.27) short of reinstalling the firmware from a USB stick? I've included log messages below.
Thanks a lot.
Aug 6 14:57:31 gateway php: /etc/rc.restart_webgui: Creating rrd update script
Aug 6 14:57:32 gateway lighttpd[37053]: (mod_fastcgi.c.1103) the fastcgi-backend /usr/local/bin/php failed to start:
Aug 6 14:57:32 gateway lighttpd[37053]: (mod_fastcgi.c.1107) child exited with status 0 /usr/local/bin/php
Aug 6 14:57:32 gateway lighttpd[37053]: (mod_fastcgi.c.1110) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version. If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
Aug 6 14:57:32 gateway lighttpd[37053]: (mod_fastcgi.c.1397) [ERROR]: spawning fcgi failed.
Aug 6 14:57:32 gateway lighttpd[37053]: (server.c.964) Configuration of plugins failed. Going down. -
Manually download an update .tgz file and then manually decompress it on top of the current filesystem (or you could just grab the php binaries and modules from it if you're feeling like doing a lot of digging)
-
Thanks a lot for the quick response, that's exactly what I did. 'Upgrade from console' option in ssh menu works great.