Current time: 11-23-2024, 11:53 AM Hello There, Guest! (LoginRegister)


Post Reply 
Couple simple php questions
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #4
RE: Couple simple php questions
I just noticed after migrating a website over to Omega that i get incomplete header warnings in the apache conf file from fcgi, now i read a few posts regarding this, it seems that if one uses php5 rather than php4-cgi it fixes this?

After re-checking my setup i think i might actually have php4 as the default, rather than php5? this is what is set in the ispcp.conf file...
PHP_VERSION = 4
however if i do php -v on the server it tells me PHP 5.2.0-8

When i do a ps -ax i see only php4-cgi stuff running each time i go to the website..

any ideas? How would i make php5 the default instead?

Thanks to all and have a great weekend!

Rob..
robmorin Wrote:Thanks for the quick reply!

Smile
Rob..

joximu Wrote:
robmorin Wrote:Hello all, just wanted to verify a few things with respect to php on an Omega system..

1- When i installed it i said to choose php5, does this mean php5 is the default? I mean any php scripts that run run as php5?

2- How wold one run a php script as php4?

3- When i need to modify the php file i should do it in the domains /var/www/fcg/domain.com/php5/php.ini file since php5 is the default?

4- I should never really touch the /etc/php5/ and /etc/php4 dirs unless it somethign system wide?

Thanks to all in advance..

Rob..

1) yes - you can manually switch some of the customers back to PHP4 - but I recommend only to do that in very special cases...

2) use the FAQ and think the other way...
http://www.isp-control.net/component/opt...iew/id,18/

3) question not clear: the php.ini for domains.com is in /var/www/fcgi/domains.com/php5(or 4)/php.ini

4) yep

this is all for running php as fast_cgi - as recommended and standard by ispcp.

/Joximu
11-03-2007 05:29 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Couple simple php questions - robmorin - 11-03-2007, 12:20 AM
RE: Couple simple php questions - joximu - 11-03-2007, 12:29 AM
RE: Couple simple php questions - robmorin - 11-03-2007, 12:41 AM
RE: Couple simple php questions - robmorin - 11-03-2007 05:29 AM
RE: Couple simple php questions - BeNe - 11-03-2007, 05:49 AM
RE: Couple simple php questions - robmorin - 11-03-2007, 06:04 AM
RE: Couple simple php questions - BeNe - 11-03-2007, 06:11 AM
RE: Couple simple php questions - robmorin - 11-03-2007, 06:17 AM
RE: Couple simple php questions - robmorin - 11-03-2007, 06:23 AM
RE: Couple simple php questions - robmorin - 11-03-2007, 07:03 AM
RE: Couple simple php questions - joximu - 11-03-2007, 06:20 AM
RE: Couple simple php questions - raphael - 11-03-2007, 11:36 AM

Forum Jump:


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