Page 1 of 1

PHP5 Problems

Posted: Sun Dec 07, 2008 10:29 am
by yesfan
My server defaults to php ver 4.4.8 but I have had a few syntax issues running some modules so I thought I would try php5.  The server has ver 4 and 5 so I created a .htaccess file with this command:

SetEnv DEFAULT_PHP_VERSION 5

As recommended by my host, and placed it in the server public html folder (root).

When I install CMSMS it will only see ver 4.4.8 during the install process, cant seem to get it show as ver 5? Have tried CMSMS ver 1.4.1 and 1.5.1.  Any ideas?

Also, once I get it running, will I have to change php.ini to php5.ini?

Re: PHP5 Problems

Posted: Sun Dec 07, 2008 3:02 pm
by alby
yesfan wrote: Also, once I get it running, will I have to change php.ini to php5.ini?
You must ask your provider....

Alby

Re: PHP5 Problems

Posted: Wed Dec 10, 2008 10:51 pm
by Pierre M.
Hello,
yesfan wrote: ...so I created a .htaccess file with this command:
SetEnv DEFAULT_PHP_VERSION 5
As recommended by my host, and placed it in the server public html folder (root).
Recheck this. Mine recommends SetEnv PHP_VER 5

Pierre M.