coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: vern on July 14, 2004, 03:43:55 AM

Title: PHP 5.0?
Post by: vern on July 14, 2004, 03:43:55 AM
Will upgrading to PHP 5.0 break anything on my current gallery? Or should I just stick to PHP 4.3.7 for now?
Title: Re: PHP 5.0?
Post by: Tarique Sani on July 14, 2004, 05:24:51 AM
If it is a production server - stick to 4.3.7 PHP5 is RC3 for reasons - but CPG works with PHP5 very well at least in my experience

[update]
Just read that PHP 5 final has been released
[/update]
Title: Re: PHP 5.0?
Post by: vern on July 15, 2004, 01:08:29 AM
PHP5 final has been released though.

Quote
[13-Jul-2004] The PHP team is proud to announce the final release of PHP 5!

It's not production, so as long as there are no major issues, it should be all good. Thanks!
Title: Re: PHP 5.0?
Post by: Michael25 on July 20, 2004, 02:48:31 AM
I have 1.3.1 When I request the index page, I get warnings about $HTTP_GET/POST/SERVER/COOKIE_VARS being unregistered ( Replaced by $_GET/POST/SERVER/COOKIE vars ) and that's it.

Nothing config wise has changed. If I drop back to PHP 4.x.x everything is fine. So no luck for me with 5.0. :(
Title: Re: PHP 5.0?
Post by: Nibbler on July 20, 2004, 03:11:11 AM
I believe there is a setting in the php.ini for enabling the long style names.
Title: Re: PHP 5.0?
Post by: kegobeer on July 20, 2004, 03:15:05 AM
Yep.  It's register_long_arrays.  It's on by default.
Title: Re: PHP 5.0?
Post by: Michael25 on July 20, 2004, 07:05:47 AM
Ok, thanks. It was set to 'off' iin my ini file. I turned it on, and now all I get is a blank page. :) Appricate the help though!