Welcome Guest, Not a member yet? Register   Sign In
Good ORM for PHP4
#6

[eluser]TheFuzzy0ne[/eluser]
The default PHP running is governed by what's in /etc/alternatives. If that's set to PHP 4, then that's the default, and Plesk should use it. If you also have PHP 5 installed on your server too (yes, the two will quite happily co-exist together), you can add something like this to your htaccess file:

Code:
# To switch to PHP 5.0:
AddHandler application/x-httpd-php5 .php .php5 .php4 .php3

# To switch to PHP 5.1:
AddHandler application/x-httpd-php51 .php .php5 .php4 .php3

# To switch to PHP 5.2:
AddHandler application/x-httpd-php52 .php .php5 .php4 .php3

Ta-da! You can now use PHP5 with your Web app, and Plesk is none the wiser. I truly believe this is the solution to your problem (which is why I won't take the hint Tongue).


Messages In This Thread
Good ORM for PHP4 - by El Forum - 04-24-2009, 11:52 AM
Good ORM for PHP4 - by El Forum - 04-24-2009, 12:06 PM
Good ORM for PHP4 - by El Forum - 04-24-2009, 12:59 PM
Good ORM for PHP4 - by El Forum - 04-24-2009, 01:21 PM
Good ORM for PHP4 - by El Forum - 04-24-2009, 01:30 PM
Good ORM for PHP4 - by El Forum - 04-24-2009, 02:49 PM
Good ORM for PHP4 - by El Forum - 04-24-2009, 02:53 PM
Good ORM for PHP4 - by El Forum - 04-24-2009, 03:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB