webzash icon indicating copy to clipboard operation
webzash copied to clipboard

Please upgrade CakePHP Version

Open mladoux opened this issue 10 years ago • 3 comments

With PHP 7 rolling out, I would ask that you upgrade to CakePHP 3.x as the String utilities class will no longer function, it's a reserved name in PHP 7. In Cake 3.x it has been renamed to CakeText. I understand this will not be something you can do overnight, and PHP 7 adoption is still in early phases, but starting the conversion now will still work on PHP > 5.4, and when PHP 7 adoption becomes more prevalent, it will be less of a hassle as you won't need to play catch up.

mladoux avatar Dec 28 '15 02:12 mladoux

I am hoping that we will see a cakephp 2.x version that supports PHP 7

prashants avatar Jan 02 '16 10:01 prashants

Looks like 2.8 will have PHP7 compatibility: https://github.com/cakephp/cakephp/commit/0aa884776264e8dfc6a33c6baca8728074b5af06

Although I still advocate for upgrading considering 3.x has been out for half a year.

tylerhcarter avatar Jan 02 '16 15:01 tylerhcarter

I was able to get Webzash running by overwriting the Cake directory from Cake 2.8.2 at https://codeload.github.com/cakephp/cakephp/zip/2.8.2. Also, had to install the sqlite3 package php7.0-sqlite3 and php7.0-bcmath. Finally, restarted apache2 and able to connect. This is in conjunction with Ubuntu upgrade to Ubuntu 16.04.1 LTS Xenial.

bortvern avatar Aug 01 '16 03:08 bortvern