FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Can anyone recommend a good debugger & IDE for PHP?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Can anyone recommend a good debugger & IDE for PHP? [message #170059 is a reply to message #170057] Fri, 08 October 2010 11:01 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 10/8/2010 3:49 AM, Tim Streater wrote:
> In article <i8lmfm$bn7$1(at)news(dot)eternal-september(dot)org>,
> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>
>> 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.
>
> 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.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP Help
Next Topic: file access permission?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 17:05:48 GMT 2024

Total time taken to generate the page: 0.05569 seconds