If you have no access to the
php.ini file (which is often the case in shared hosting), contact your host about your hosting needs.
To install PrestaShop, PHP 5.6+ must be activated. If you It is extended to PHP 7.2, but don't attempt to run PrestaShop using PHP 4, you will receive numerous errors, including this very common message:
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [php file] on line X.
7.3, it won't work.
Please do not hesitate to post a bug report concerning the tips needed to make PrestaShop run on your hosting service, on PrestaShop's Forge GitHub (you will need an account). We will add them to this guide as we receive them.
The following is a list of procedures of which we are currently aware of...
Add this line to your
- Enter cPanel. It should be located at http://www.(your_domain).(com/net/org/etc)/cpanel
- Enter your account username and password in the box that appears.
- A new page appears. Go to the bottom row of icons in the page and click the icon titled "Enable/Disable PHP 5.6+"
- A new page appears. Click "Add PHP 5.6+ To Your Account!".
Your language change request is submitted. Please allow up to 24 hours for the change to be processed by the hosting server.