Hi!
I am trying to give my Plesk hosting clients a method of choosing between php4 and php5 without changing something in Plesk's configuration files. The quickest and most unobtrusive solution I've come so far is using .htaccess files inside the client's httpdocs directory with this line:
to force PHP5 versioning and
to force PHP4 versioning.
Unfortunately, while changing from PHP4 to PHP5 works, the other way around does not (PHP5->PHP4). Am I doing something wrong? Is it a bug?
Thanks in advance!
I am trying to give my Plesk hosting clients a method of choosing between php4 and php5 without changing something in Plesk's configuration files. The quickest and most unobtrusive solution I've come so far is using .htaccess files inside the client's httpdocs directory with this line:
Code:
AddHandler php5-script php php3 php4 php5
Code:
AddHandler php4-script php php3 php4 php5
Unfortunately, while changing from PHP4 to PHP5 works, the other way around does not (PHP5->PHP4). Am I doing something wrong? Is it a bug?
Thanks in advance!