I'm attempting to use NuSoap in PHP 5.3. After I debug my script in Eclipse I recieve lots of Deprecated alerts however the script still runs, however, if I call the script through Apache on my small localhost the script terminates with no explanation. I am not just a web-mind yet, and being a bit of a noob only at that, I'm baffled why it might work on a single machine while debugging, although not through Apache. Do you know the possible causes that will create a script run in Eclipse, although not run after i refer to it as from the browser. Also, once the script fails outdoors from the debugger, will it goes some type of log or debugging data somewhere, and when just how could I locate that?
It's most likely tossing a fatal error, however, you have display_errors switched off in your production server (while you should), therefore it will not output errors in html, as the development version will. Look at your php.ini for the position of the error log, or request your server admin to suggest you within the right direction. You will need to have file level accessibility server, or perhaps a user interface that will display it for you personally.
Alternatively, you are able to turn display_errors on inside a .htaccess file, close to that application only.
php_flag display_startup_errors on php_flag display_errors on
Or maybe exhibiting errors isn't a choice, and also you can't access your logfile, you can set your error log to some custom location, as lengthy as it is writable by apache:
php_flag log_errors on php_value error_log /absole/path/to/a/writable/directory/php_errors.log
PHP has several directives that comprise the behavior of error confirming. The most crucial ones are:
The first sets the seriousness of error confirming: you are able to tell PHP to warn on every possible problem, warn only on fatal errors, etc. The 2nd one instructs PHP to show error messages on the watch's screen or otherwise. This choices are not hardcoded: they may be set on runtime.
See also log_errors.
As concerning how to change these options, you could change them for the entire system if you can get the primary php.ini file. You can also change these questions per-site basis, however the exact mechanism is dependent how PHP interacts using the web server. Whether it runs as Apache module (a typical setup), you should use an
You will find plenty of info here: http://www.php.net/manual/en/configuration.php