Re: Can anyone recommend a good debugger & IDE for PHP? [message #170071 is a reply to message #170067] |
Fri, 08 October 2010 17:51 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 10/8/2010 12:20 PM, Tim Streater wrote:
> In article <i8mtlm$8lf$1(at)news(dot)eternal-september(dot)org>,
> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>
>> On 10/8/2010 3:49 AM, Tim Streater wrote:
>
>>>
>>> Mmmm, where would the errors be reported then?
>>>
>>> I'm using JavasScript-ajax-apache-php all within one machine. For me,
>>> it's quite handy that PHP notices from the backend scripts go into the
>>> server log, rather than getting mixed in with the ajax responses. This
>>> is OS X 10.6.4.
>>
>> To the PHP error log - where ever the sysadmin specifies in the
>> php.ini file.
>
> Unspecified, as far as I can tell.
>
> The actual behaviour suits me fine: as part of the application, I'm
> running an instance of apache under the user's username and group. It
> starts when the user starts the app and terminates when the user quits
> the app; it listens only to localhost. And if it manages to catch any
> PHP errors into its logfile (part of the set of logfiles for the app),
> then so much the better. That way I don't, as part of the app's
> installation process, have to mess with any system files (which php.ini
> is).
>
> Running a private instance of apache also means I get to control its
> config file, and I don't interfere with the instance of apache that OS X
> will run if the user turns on web sharing.
>
That can be fine for you. However, in a production environment, a good
sysop knows to separate the system errors from the application errors.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|