best php5.2 version

General project discussion. NOT for help questions.
Post Reply
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

best php5.2 version

Post by giggler »

So since the next version of cmsms is going to be for php 5.2+ (right?), just wanted to know which of the 5.2 versions the best to use right now. Since I've heard using the newest can have problems...
drew
Forum Members
Forum Members
Posts: 72
Joined: Wed Jan 02, 2008 5:37 pm

Re: best php5.2 version

Post by drew »

Curious question. Are you saying that the current version of cmsms is not supported under php 5.2 ?

I have been running a demo site under php 5.2.1 server-side without problems. I am however seeing problems with php 5.2.5 cgi mode. Am I risking stability by running under 5.2 ?

Thank you.
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: best php5.2 version

Post by giggler »

No, I think the current one is fine... It's just that I don't have php 5.2 on my server and I know the next version of cmsm 2 will need at least php5.2.  So I also wanted to know which of the 5.2 series in general is more stable...not just for cmsms
drew
Forum Members
Forum Members
Posts: 72
Joined: Wed Jan 02, 2008 5:37 pm

Re: best php5.2 version

Post by drew »

btw,

It seems that when using PHP5.x you may need to enable fastCGI mode to insure that PHP session services work properly. I originally had problems installing CMSMS 1.2.3 and found the problem to be PHP5.2.5 running in normal CGI mode.

-Drew
Last edited by drew on Wed Feb 06, 2008 10:28 pm, edited 1 time in total.
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: best php5.2 version

Post by giggler »

Thanks for the tip. Isn't the other way to run php as module or something?
drew
Forum Members
Forum Members
Posts: 72
Joined: Wed Jan 02, 2008 5:37 pm

Re: best php5.2 version

Post by drew »

The way I understand it is that Apache web server uses many modules to render and serve up web pages. When it encounters a PHP script, it runs the 'mod_suphp' module to 'load' and pass processing to the PHP interpreter. This is sometimes called normal CGI mode.

'mod_fastcgi' is another Apache module that allows execution of PHP scripts except that the PHP interpreter is not unloaded when it is done. PHP stays in memory somehow and is ready to process subsequent PHP scripts. Hence the 'fast' aspect.

Hope this helps - it's all new to me. Good luck with you setup and development.
Post Reply

Return to “General Discussion”