4950 Posts in 13978 Topics by 1490 members
|Go to End|
6 September 2009 at 5:00pm
My server is running 5.2.5, but the install program keeps detecting 4.4.8. I've tried various browsers and deleting the cache, but nothing helps. Any ideas?
6 September 2009 at 5:29pm
Does your hosting provider provide both options? Some shared hosts will do this and configuration will be set in your sites .htaccess file. SilverStripe overrides this file and hosts tend to default back to PHP4.
If this is happening make sure the php 5 handle is set in the silverstripe .htaccess file at the top to ensure you are running php5
6 September 2009 at 5:35pm
Thanks for the quick reply. I don't know much about the .htaccess file. How should the line read?
6 September 2009 at 5:39pm
Depends on your host. Some use the following at the top of the file
AddType x-mapp-php5 .php
AddHandler application/x-httpd-php5 .php
AddHandler cgi-php5 .php
6 September 2009 at 6:05pm
Added those lines, but now I'm seeing a page that says this:
If you can read this text in your browser then you don't have PHP installed. **
** Please install PHP 5.0 or higher, preferably PHP 5.2.
Any other suggestions?
7 September 2009 at 4:51am
Found it. Here's the switch my hosting service needs:
AddType application/x-httpd-php5 .php
|Go to Top|