Where is php5?
Posted by: jayrock
Posted on: 2006-09-08 13:54:00
I am new to php and dreamhost.
I did a phpinfo() and I saw version 4.4.2.
If php 5 is available, how can use it?
Thanks
Jay
Posted by: jayrock
Posted on: 2006-09-08 13:54:00
I am new to php and dreamhost.
I did a phpinfo() and I saw version 4.4.2.
If php 5 is available, how can use it?
Thanks
Jay
Posted by: shelves
Posted on: 2006-09-08 14:03:00
You set it in the control panel. Go to Manage Domains:
https://panel.dreamhost.com/index.cgi?tree=domain.manage&
Click on Edit next to the domain under the "Web Hosting" column. Then you have the choice between php 5.1.2 and 4.4.2.
Posted by: jayrock
Posted on: 2006-09-08 14:19:00
Thanks for the quick response.
Are there any known issues using php5 apposed to using php4?
Posted by: seiler
Posted on: 2006-09-08 14:48:00
Are you using any of the one-click installs? Those are listed in 3 categories based on whether they work with 4, 5, or both.
I forget what I installed once (maybe PHP Link Directory?), but the installation tripped up on one PHP version, but ran fine on it--so I installed it with 4, then switched to 5.
You can switch back and forth, so if you run into problems with 5, just switch it back.
Posted by: guice
Posted on: 2006-09-08 15:09:00
In reply to:Are there any known issues using php5 apposed to using php4?
Properly written scripts won't have any troubles. Properly written as in developer followed the PHP dev's recommendations in what to do and not to do within PHP4.
Posted by: vtluu
Posted on: 2006-09-12 09:28:00
I tried installing MediaWiki. It told me it needed PHP5, so I switched my domain over to PHP5 (as described above). I tried installing MediaWiki again and it installed... but now when I try to go to the config page I get an error message saying:
In reply to:PHP 5.0.0 or higher is required. ABORTING.
So on one hand it seems the PHP change took, since it allowed the MediaWiki one-click install to work, but on the other it didn't. Has anyone else had this problem (and how did you fix it)?
Thanks.
Viet-Tam Luu (a.k.a. "Tam")