Solved

debugger with zend php iseries

Posted on 2014-10-31
3
236 Views
Last Modified: 2014-10-31
I have created a new web partition running zend server and have started writing php pages. I am not getting any errors even though my page isn't working. I would like to know, where can I activate the debugger in php and how to I start it? I imagine in the php.ini file.

Thanks in advance.
0
Comment
Question by:samic400
  • 2
3 Comments
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 40416615
Here are my php.ini settings related to errors.  You might try adding these to your php.ini file(s).   On my Linux server, each directory can have its own php.ini file.

display_errors = On
log_errors = On
log_errors_max_len = 1024
error_log = error_log

Open in new window


In addition to adding these settings to your existing php.ini, you might want to put error_reporting(E_ALL) into the top of all of your PHP scripts.
0
 
LVL 13

Author Closing Comment

by:samic400
ID: 40416777
Thank you - this helped me out a lot.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 40416789
Thanks for the points -- PHP is a little obscure about how it displays errors.  You have to "ask" for help!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question