Solved

debugger with zend php iseries

Posted on 2014-10-31
3
221 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 109

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 109

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now