coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Cyberpawz on August 24, 2005, 07:00:25 AM

Title: When will PHP 5.x be supported?
Post by: Cyberpawz on August 24, 2005, 07:00:25 AM
I think this is a valid question, since PHP itself has been developing 5.1 as it stands now... So when is Coppermine going to support 5.x for PHP?
Title: Re: When will PHP 5.x be supported?
Post by: Tranz on August 24, 2005, 07:50:17 AM
Coppermine works with PHP 5... or do you mean to say/ask something else?
Title: Re: When will PHP 5.x be supported?
Post by: Cyberpawz on August 24, 2005, 03:38:07 PM
Quote from: TranzNDance on August 24, 2005, 07:50:17 AM
Coppermine works with PHP 5... or do you mean to say/ask something else?

Actually no, it isn't...

When I installed Coppermine 1.3.3. I got this error:

Warning your browser does not accept script's cookies

I fixed it by going through the boards, but I can tell you now, Coppermine doesn't support PHP 5 right now... at least 100%.
Title: Re: When will PHP 5.x be supported?
Post by: Nibbler on August 24, 2005, 03:40:57 PM
For 1.3.x you need to enable long arrays. With 1.4.x you don't need to. That's all there is to be said about PHP 5 compatibility.
Title: Re: When will PHP 5.x be supported?
Post by: Cyberpawz on August 24, 2005, 04:16:45 PM
Quote from: Nibbler on August 24, 2005, 03:40:57 PM
For 1.3.x you need to enable long arrays. With 1.4.x you don't need to. That's all there is to be said about PHP 5 compatibility.

I found that out after, but wasn't there just a new release of 1.3.x?
Title: Re: When will PHP 5.x be supported?
Post by: kegobeer on August 25, 2005, 04:24:50 AM
Yes, a security update.  Changing all depreciated server arrays into the short style is a long process that has been done for 1.4 and won't be done for 1.3.
Title: Re: When will PHP 5.x be supported?
Post by: Cyberpawz on August 25, 2005, 04:43:49 AM
Quote from: kegobeer on August 25, 2005, 04:24:50 AM
Yes, a security update.  Changing all depreciated server arrays into the short style is a long process that has been done for 1.4 and won't be done for 1.3.

Just curious why? Is is really that difficult to make that one change?
Title: Re: When will PHP 5.x be supported?
Post by: kegobeer on August 26, 2005, 01:25:30 AM
As the one who did the change for 1.4, yes it's a lot of work.
Title: Re: When will PHP 5.x be supported?
Post by: Joachim Müller on August 26, 2005, 08:25:16 AM
No new features will be added to cpg1.3.x - from a developers point of view, that version is "dead". We just maintain it, adding security fixes. Hopefully, cpg1.4.x will be released as stable pretty soon. However, you will run into issues with many apps if you don't enable register_long_arrays in PHP5, so it shouldn't be a big deal. I'm sure your webhost will readily do this for you.
Title: Re: When will PHP 5.x be supported?
Post by: Cyberpawz on August 26, 2005, 04:26:34 PM
Quote from: GauGau on August 26, 2005, 08:25:16 AM
No new features will be added to cpg1.3.x - from a developers point of view, that version is "dead". We just maintain it, adding security fixes. Hopefully, cpg1.4.x will be released as stable pretty soon. However, you will run into issues with many apps if you don't enable register_long_arrays in PHP5, so it shouldn't be a big deal. I'm sure your webhost will readily do this for you.

I'm my own webhost, so I already did it.