If your server is running with default php version 5 and you want php 4 for single account so you just can add the following line in .htaccess.
Create one .htaccess file under public_html and add the following code.
AddHandler application/x-httpd-php4 .php
now you can create phpinfo page and check it will show your default php version is php4.
1 comment:
Hey yes it is working for PHP 5 version server . We also tried to do same for PHP 4 version and added the code as AddHandler application/x-httpd-php5 .php and it is working .. Thanks for the post ..
Post a Comment