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?
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
Thanks for the quick reply. I don't know much about the .htaccess file. How should the line read?
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
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?
Found it. Here's the switch my hosting service needs:
AddType application/x-httpd-php5 .php