If you are struggling with a PHP CLI script and the errors are not showing:

php -d display_errors <script_filename.php>

By admin

3 thought on “PHP CLI script – show errors”

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.