Favourite Host

Interserver

Install Service

Premium Support

Development

Order Custom Development Services

View Categories

install.php script showing Notices and Warnings

< 1 min read

Symptoms:

PHP is showing 'Use of undefined constant action Notice:' type messages when running install.php

Cause:

It looks like you have Notices turned on in your PHP php.ini file.
This occurs when you first install php on your server, and the notices are
turned on by default.
(php.ini file is not a part of the script, but a part of PHP, where your PHP is configured)

Fix:

Notices should always be turned off on production environments.

Edit your php.ini file and make sure that the error_reporting directive
is set to:

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

Please make sure to restart your web server after editing the php.ini file.

Powered by BetterDocs

Submit a Comment

Your email address will not be published. Required fields are marked *