Current time: 12-23-2024, 07:09 PM Hello There, Guest! (LoginRegister)


Post Reply 
PHP5 for one client
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #1
PHP5 for one client
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..
01-09-2008 02:11 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: PHP5 for one client
Should work as you thought

Here is s.th. similar
http://www.isp-control.net/component/opt...iew/id,18/

/Joximu
01-09-2008 02:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #3
RE: PHP5 for one client
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/opt...iew/id,18/

/Joximu
01-09-2008 04:08 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: PHP5 for one client
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/opt...iew/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.
(This post was last modified: 01-09-2008 05:50 AM by joximu.)
01-09-2008 05:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ibiza4000 Offline
Junior Member
*

Posts: 19
Joined: Feb 2007
Reputation: 0
Post: #5
RE: PHP5 for one client
did you restart apache?
01-09-2008 07:42 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)