Solved

debugger with zend php iseries

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to count occurrences of each item in an array.
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 …

726 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