I need PHP5 for my scripts, but the server has PHP4 installed only. Please upgrade PHP.

Article Details
URL: http://www.w3helpdesk.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=20
Article ID: 20
Created On: 13 Apr 2010 3:17 PM

Answer We already have PHP5 running in our servers. It has been compiled with all the options in existing php. If you would like your php application to be run on php5, it can be enabled by creating a .htaccess file and adding this line to it.

AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml