OneAndOne Hosting / PHP 5+

I’m hoping someone who has 1and1 Hosting experience can help me out a bit here…

The standard for 1and1 to enable PHP 5+ is to add the following line to your htaccess file:

AddType x-mapp-php5 .php

…but yet, the phpinfo() still shows a lower version. Am I being naive to expect that to change when using phpinfo() after I make the changes to the htaccess?

Add following line in your .htaccess:

AddType application/x-httpd-php5 .phps
AddType application/x-httpd-php5 .php

I think it should work now.
Let us know.

Still not working. phpinfo() is still showing 4.4.9…

Here’s EXACTLY what I have in the htaccess:

AddType application/x-httpd-php5 .phps
AddType application/x-httpd-php5 .php
php_value memory_limit 32M

Instead of seeing phpinfo(), have you tried to run some PHP5 code?

I tried running a script that requires 5.1.2 or above and it bombed-out. :frowning:

PHPycho, I found out what was causing problems… I use WinSCP3 to make my file revisions and I noticed today that the period was left off on my htaccess file! Ha. Simple fix, nonetheless.

Thanks for your help, though. :slight_smile: