I tried to search the forums, but there were a lot unrelated results returned.
In my account, my own website is PHP4. But for a client hosted under my reseller account, they have PHP5. How is that governed?
In this case, I need their account to be PHP4 and it cannot be PHP5. How do I change this?
And if it were the reverse situation, how then? Just wanted to ask for posterity's sake.
Thanks in advance for treating me with kid gloves.
============================
Edit: It turns out I should have already known the answer. PHP4 runs on the account by default.
If you want PHP5, you can name your files .php5 to activate that. Or, if you want files to be named just .php, then you can put a line into the .htaccess such as
AddHandler application/x-httpd-php5 .php
To go back to PHP4, just remove that.
In my account, my own website is PHP4. But for a client hosted under my reseller account, they have PHP5. How is that governed?
In this case, I need their account to be PHP4 and it cannot be PHP5. How do I change this?
And if it were the reverse situation, how then? Just wanted to ask for posterity's sake.
Thanks in advance for treating me with kid gloves.
============================
Edit: It turns out I should have already known the answer. PHP4 runs on the account by default.
If you want PHP5, you can name your files .php5 to activate that. Or, if you want files to be named just .php, then you can put a line into the .htaccess such as
AddHandler application/x-httpd-php5 .php
To go back to PHP4, just remove that.
Comment