How to update in compatible with PHP 7
Permalink
My client has a website made on concrete5 v.5.6.2.1
http://www.boistec.com/
Is this possible to be updated to a version of concrete5 to be compatible with PHP7?
http://www.boistec.com/
Is this possible to be updated to a version of concrete5 to be compatible with PHP7?
Hi there! in what specific version of PHP is compatible?
Also, how to upgrade an existing concrete5?
Also, how to upgrade an existing concrete5?
Run an update to 5.6.3.5, then do a manual update to 5.6.4.0.
Thanks for the response, I have successfully run an update to 5.6.3.5, then a manual update to 5.6.4.0.
Any idea how can I check if PHP 7 Compatibiity is okay?
Any idea how can I check if PHP 7 Compatibiity is okay?
The core you are running is compatible, so the risk areas are packages and any application code such as custom block templates and theme.
First clear out detrius, such as packages installed and never used. There is no point repairing code you are not actually using. Then make sure all packages are up-to-date. Double-check package versions manually against the marketplace.
Most host control panels have a section to select php versions. So one option is to just give it a go and see what happens. you can always switch back.
A more thorough approach is to go through packages and application code looking for typical trouble spots. The most common issues are parameter mismatches, unquoted constants and use of the 'Object' class.
You can also post a list of packages you use here or on Slack and see whether others report php7.2 issues.
If you use eCommerce, I have posted notes on fixing it for php7.2 at
https://www.c5magic.co.uk/add-ons/zone-based-shipping/php7/...
First clear out detrius, such as packages installed and never used. There is no point repairing code you are not actually using. Then make sure all packages are up-to-date. Double-check package versions manually against the marketplace.
Most host control panels have a section to select php versions. So one option is to just give it a go and see what happens. you can always switch back.
A more thorough approach is to go through packages and application code looking for typical trouble spots. The most common issues are parameter mismatches, unquoted constants and use of the 'Object' class.
You can also post a list of packages you use here or on Slack and see whether others report php7.2 issues.
If you use eCommerce, I have posted notes on fixing it for php7.2 at
https://www.c5magic.co.uk/add-ons/zone-based-shipping/php7/...
currently running 5.6.3.5. How do I do a manual update to 5.6.4.0.?
1. MAKE A COMPLETE BACKUP (files + database)
2. download x5.6.4.0 fromhttps://www.concrete5.org/download... (bottom left, 5.6.4.0 or direct - Download onhttps://www.concrete5.org/developers/developer-downloads/)...
3. upload this version to your webserver (only /concrete directory)
4. log in with admin account
if I remember well, concrete5 will update for you, otherwise go to system and settings and there is a procedure to upgrade
good luck
2. download x5.6.4.0 fromhttps://www.concrete5.org/download... (bottom left, 5.6.4.0 or direct - Download onhttps://www.concrete5.org/developers/developer-downloads/)...
3. upload this version to your webserver (only /concrete directory)
4. log in with admin account
if I remember well, concrete5 will update for you, otherwise go to system and settings and there is a procedure to upgrade
good luck
3.1 make sure folder 'update' is empty
3.2 open config/site.php and remove DIRNAME_APP_UPDATED constant (if exists)
3.2 open config/site.php and remove DIRNAME_APP_UPDATED constant (if exists)
https://documentation.concrete5.org/developers/background/version-hi...