Re: Can anyone recommend a good debugger & IDE for PHP? [message #170056 is a reply to message #170055] |
Thu, 07 October 2010 23:52 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 10/7/2010 5:15 PM, Marious Barrier wrote:
> On 10/07/2010 04:56 PM, Jerry Stuckle wrote:
>> On 10/7/2010 2:35 PM, Marious Barrier wrote:
>>> On 10/07/2010 02:15 PM, Jerry Stuckle wrote:
>>>> On 10/7/2010 11:58 AM, Marious Barrier wrote:
>>>> > On 09/26/2010 09:46 AM, Jerry Stuckle wrote:
>>>> >> On 9/25/2010 5:06 PM, Marious Barrier wrote:
>>>> >>> On 09/22/2010 06:09 PM, Michael wrote:
>>>> >>>> Looking for the equivalent of MS Visual Studio for PHP. Thanks.
>>>> >>>
>>>> >>> tail -f apache-error-log
>>>> >>> and you will see everything you need to know to debug your scripts.
>>>> >>
>>>> >> Not likely.
>>>> >
>>>> > For a newbie, absolutely not.
>>>> >
>>>>
>>>> First, it assumes the op is running Apache. Many are not.
>>>>
>>>> Second, it assumes PHP errors are being written to the Apache error
>>>> log.
>>>> A sysadmin who knows his stuff will not mix application and server
>>>> errors in the same log.
>>>>
>>>> Third, it assumes the user has access to the apache error log. This is
>>>> not true on the vast majority of hosts, for security reasons.
>>>>
>>>> Fourth, it assumes the PHP error messages will tell the user everything
>>>> they need to know. This is not the case - as is evinced by a lot of
>>>> messages in this newsgroup asking what a particular error message
>>>> means.
>>>>
>>>> Only a newbie would make such a claim.
>>>
>>> In which moment did we talk about a free host trolly? Sorry if my
>>> comment hurt you.
>>
>> No place. But it applies to virtually every shared host out there.
>
> That is a different matter, I assume almost all here are professionals
> working in their own servers.
>
> Or at least developing in their own box?
Not necessarily on their own box, not necessarily on Apache and not
necessarily on Linux.
In fact, I would bet the vast majority of the group is NOT developing on
Linux, for instance.
But even if that is the case - if they are professionals, they will NOT
have their PHP errors mixed in with the web server error log.
But a real professional would understand that. A troll would not.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|