ispCP - Board - Support
PHP5 for one client - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: PHP5 for one client (/thread-2103.html)



PHP5 for one client - robmorin - 01-09-2008 02:11 AM

Hello all...

i have a client that wants to use php5 only, how would i do this....
i have php4 as default.. i tried just replace php4-cgi with php5-cgi in his php4-starter file but it did not work...

i searched around here, i did not see any simple doc mentioning it....

I thought the client can end his files in .php5 but that did not work
Smile
Thanks...

Rob..


RE: PHP5 for one client - joximu - 01-09-2008 02:39 AM

Should work as you thought

Here is s.th. similar
http://www.isp-control.net/component/option,com_easyfaq/Itemid,38/task,view/id,18/

/Joximu


RE: PHP5 for one client - robmorin - 01-09-2008 04:08 AM

I just get a white/blank page....

Could it be something in his code?

Thanks
Rob....
joximu Wrote:Should work as you thought

Here is s.th. similar
http://www.isp-control.net/component/option,com_easyfaq/Itemid,38/task,view/id,18/

/Joximu



RE: PHP5 for one client - joximu - 01-09-2008 05:50 AM

robmorin Wrote:I just get a white/blank page....

Could it be something in his code?

Thanks
Rob....
joximu Wrote:Should work as you thought

Here is s.th. similar
http://www.isp-control.net/component/option,com_easyfaq/Itemid,38/task,view/id,18/

/Joximu

BeNe Wrote:How can i change to PHP5 ?

Written by BeNe
If you want to change from PHP4 to PHP5, only edit the php4-fcgi-starter file under /var/www/fcgi/your-domain.tld/ and change the last line from:

"exec /usr/bin/php4-cgi" to "exec /usr/bin/php5-cgi"

This can be done for every domain. So one domain can run with PHP4 and the other domain can run with PHP5 at the same time.

After this change you have to restart your Apache.



RE: PHP5 for one client - ibiza4000 - 01-09-2008 07:42 AM

did you restart apache?