Zen Cart Logo
Forums / General Questions / How do I disable PHP Deprecated warnings

How do I disable PHP Deprecated warnings

Views: 412

Results 1 to 1 of 1
14 Nov 2024, 8:28 PM
#1
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
773
Plugin Contributions:
0

How do I disable PHP Deprecated warnings

Zencart 1.5.8
php 8.1

I am trying to disable the deprecated messages but have been unsuccessful.

This is what I have done but still nothing. Anyone have any other ideas
.

  1. Go to WHM » Home » Software » MultiPHP INI Editor.
  2. Click the Editor Mode tab.
  3. Choose the PHP version from the dropdown.
  4. ind the "error_reporting" section and add the following line: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
    5.restart apache.