forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: applefruit on August 20, 2009, 07:27:33 pm

Title: [Solved]: PHP 5.3/6
Post by: applefruit on August 20, 2009, 07:27:33 pm
I'm currently running php 5.3 (latest_stable) with cpg.  When I turn reporting to full, it shows that a lot of the functions are deprecated.  It however still seems to work.

However, a book I'm currently using suggests writing in php 6 compatible code, to be future-proof.  Just prior to testing the dev version of php 6, I found that cpg will not work anymore.

Should I try cpg1.5 alpha and hope it uses better more future-proof code, or plough ahead with cpg1.4, and pray that it will still work with php5.3?
Title: Re: PHP 5.3/6
Post by: Nibbler on August 20, 2009, 09:36:37 pm
1.4 works on PHP 5.3 but uses functions that are now deprecated. 1.5 has the deprecated functions removed. There is little point testing anything on PHP6 yet.
Title: Re: PHP 5.3/6
Post by: applefruit on August 20, 2009, 09:41:29 pm
So basically using 1.4x on 5.3 is fine - when time comes (php6), I'll just wait for an update to 1.5x?
Title: Re: PHP 5.3/6
Post by: Nibbler on August 20, 2009, 09:54:11 pm
That's fine. Coppermine 1.5 will be released long before PHP6 anyway.
Title: Re: PHP 5.3/6
Post by: applefruit on August 20, 2009, 10:05:53 pm
thx