Discussion in 'Installation/Configuration' started by ruskicar, Jan 14, 2006.
How to install php5 on Debian 3.1 stable?
You can use the php5 package from backports.org. Instrctions on how to configure your sources list where provided here:
The PHP5 backports package is named "php5".
PHP5 on debian sarge
I tried like described at
But for some reason I still can't run PHP5. It is installed as shown by apt-get. But when I run
PHP 4.3.10-16 (cli) (built: Aug 24 2005 20:25:01)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
Also, when I run the phpinfo(); I get:
PHP Version 4.3.10-16
Someone knows how to actually activate php5? I even deleted php4 with
#apt-get remove php4
and restarted the webserver with
Even tried rebooting, but still it didn't work.
I need PHP5 because I'm using classes etc, otherwise I'll have to rewrite a lot of the stuff I'm developing to run on my vserver.
You used the command line PHP here. Did you install php5-cli?
Did you run that on the command line or in a web browser?
I did run that part in a web browser.
Anyway, I got it sorted now. I don't know why, but when I went through the steps again, it just worked. I think I might have missed out on the lib module or something. Well, anyway, it's working now, thnx though.
Separate names with a comma.