PHP: Common configuration errors

Some common errors, which can be corrected in php.ini:

- Error:
Notice: Undefined index: PHP_SELF

Solution:
register_globals = On

- Error:
Web page displays part of php code

Solution:
short_open_tag = On

- Error:
Errors are displayed on production environment

Solution:
display_errors = Off

Leave a Reply