Re: Can anyone recommend a good debugger & IDE for PHP? [message #170067 is a reply to message #170059] |
Fri, 08 October 2010 16:20 |
Tim Streater
Messages: 328 Registered: September 2010
Karma:
|
Senior Member |
|
|
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.
--
Tim
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
|
|
|