PHP 5 support

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Zappah

PHP 5 support

Post by Zappah »

Hi!
When is PHP 5 fully supported? Are there even plans to make CMSMS work with PHP5? Just asking. I'm willing to wait. 0.11beta3 had "blank admin page" problem, which 0.10.4 fixed but now, with 0.11 beta5, the problem is again acute.

All the best :)
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm
Location: Los Angeles, CA

Re: PHP 5 support

Post by sjg »

What problems are you seeing?

I develop under a variety of PHP versions, including 5.0.5, and haven't seen any problems for a while.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: PHP 5 support

Post by Ted »

I've been developing CMSMS on php 5.0.5 since about beta4.  I'm not quite sure that's what the problem is, but I'm not totally sure it's related.
Zappah

Re: PHP 5 support

Post by Zappah »

Hi!

The problem I've encountered is a blank page after I enter http://mysite.foo/admin :o
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm
Location: Los Angeles, CA

Re: PHP 5 support

Post by sjg »

I don't know if there's a plan to rewrite with pure PHP 5.

I'm constantly amazed at what old versions of PHP many hosts have installed. I get bug reports for my various modules all the time that I can't reproduce -- until I test under PHP 4.1 or 4.2. What that tells me is that a lot of people are still using some very old versions of PHP. While I'd like to say "hey, those versions are insecure and need to be upgraded," I think the bigger goal is to make the system work for as many people as possible.

I suspect if you ask Wishy, he'll say that if we want CMS Made Simple to be written in a more formally-structured Object Oriented model, we should do it in Ruby on Rails :)
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: PHP 5 support

Post by Ted »

You know me all too well.  :)

Unfortunately, because of these old versions of PHP that are still very much in the wild, we're stuck playing this balancing act.

Personally, I'd like to move totally to PHP5, using proper OOP and all that jazz.  However, I know that it's not realistic to do that for at least another year...  and by that point, PHP6 will probably be out.  :)

Though, you're right.  If I knew that we could have as large of an install base, I'd say that we do Ruby on Rails and just rewrite the whole damn thing.
lemkepf
Forum Members
Forum Members
Posts: 163
Joined: Tue Oct 18, 2005 8:30 pm

Re: PHP 5 support

Post by lemkepf »

wishy wrote: Though, you're right.  If I knew that we could have as large of an install base, I'd say that we do Ruby on Rails and just rewrite the whole damn thing.
Lol! You will alienate much of the crowd... including me. I'd veto the Ruby on Rails idea. :)
kishman155
Translator
Translator
Posts: 169
Joined: Sat Mar 12, 2005 12:30 pm
Location: Vienna

Re: PHP 5 support

Post by kishman155 »

Me to

mfg
kishman155
Post Reply

Return to “Developers Discussion”