?
Solved

debugger with zend php iseries

Posted on 2014-10-31
3
Medium Priority
?
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 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 111

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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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 count occurrences of each item in an array.
Suggested Courses

800 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