Solved

debugger with zend php iseries

Posted on 2014-10-31
3
204 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 108

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
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
Comment Utility
Thank you - this helped me out a lot.
0
 
LVL 108

Expert Comment

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article discusses how to create an extensible mechanism for linked drop downs.
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 …

743 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

19 Experts available now in Live!

Get 1:1 Help Now