[POSSIBLE - SPAM] [FX.php List] How to turn on PHP errorreporting
on OS X
Dale Bengston
dbengston at preservationstudio.com
Thu May 4 10:29:52 MDT 2006
I second this! Mr. Liyanage is a treasure.
Dale
On May 4, 2006, at 10:59 AM, Michael Layne wrote:
> All,
>
> Marc Liyanage has been a great resource for all things OS X and
> server related (such as MySQL, PHP, etc.)
>
> http://www.entropy.ch/software/macosx/php/
>
> I've had nothing but great experiences with his builds and
> instructions. May many people use his installs. They work. Good
> luck.
>
> HTH
>
> Michael
>
> Michael Layne | 9 degrees development | www.9degrees.com |
> 404.226.7835 | Skype: LayneBay
>
>
> On May 4, 2006, at 11:27 AM, Stephen Knight wrote:
>
>> There is actually a great discussion on setting up PHP on Mac OS X
>> here:
>> http://fmwebschool.com/frm/index.php?topic=214.msg598#msg598 and here
>> http://fmwebschool.com/frm/index.php?topic=216.0
>>
>>
>> In Kindness
>> Stephen K Knight
>> http://www.fmwebschool.com
>> 800.353.7950 / 386.453.5843
>> FMWebschool, we bring the web to life
>> FX.PHP PHP XML MySQL CDML ASP
>>
>> -----Original Message-----
>> From: fx.php_list-bounces at mail.iviking.org
>> [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of David Ness
>> Sent: Thursday, May 04, 2006 11:18 AM
>> To: FX.php Discussion List
>> Subject: RE: [POSSIBLE - SPAM] [FX.php List] How to turn on PHP
>> errorreporting on OS X
>>
>> William,
>>
>> Macs are very unusual with regard to the location and presence of the
>> php.ini file. Google this topic for the answer to finding &
>> setting up the
>> php.ini file on Macs.
>>
>> Once that's done...
>>
>> In your php.ini file, configure your error log settings. Search
>> for 'Log'
>> I have mine set as follows:
>>
>>
>> error_reporting = E_ALL
>> display_errors = off
>> display_startup_errors = Off
>> log_errors = On
>> log_errors_max_len = 1024
>> ignore_repeated_source = Off
>> error_log = \path to your website directory\phperrorlog.txt
>>
>> Read the info in the php.ini file for a lot more detail and
>> options, there
>> are many ways to configure error logging. There are probably many
>> places you
>> can locate the error log file, and different names you could call
>> it, of
>> course. Placing the file into my web directory works for me so I
>> know PHP
>> has the proper permissions to write the file here.
>>
>>
>> This php error logging has proven to be VERY helpful in cleaning
>> up my code.
>>
>>
>> --
>> David Ness,
>> FileMaker/PHP Developer
>>
>> Bonded Builders Risk Management
>> 1500 Kings Highway
>> Port Charlotte, FL 33980
>> 800.749.0381 x3123 (National Toll Free)
>> 941.255.3274 x3123 (Local)
>>
>>
>> -----Original Message-----
>> From: fx.php_list-bounces at mail.iviking.org
>> [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of William
>> Akey
>> Sent: Thursday, May 04, 2006 10:57 AM
>> To: FX.php Discussion List
>> Subject: [POSSIBLE - SPAM] [FX.php List] How to turn on PHP error
>> reporting
>> on OS X
>>
>> Hi Folks,
>>
>> I have just started to work on a FX.php solution on an Mac running OS
>> 10.3.9 and PHP 5.x. Can some kind soul tell me where to go to
>> enable display
>> of PHP parsing errors?
>>
>> Currently, when I have parsing errors in my code, I just get a
>> blank page
>> instead of the nice error reporting that I am used to on the PC side.
>> Needless to say, blank pages make it a lot harder to debug my
>> code. I am
>> familiar with using Print_r() and Set Debug True, but those don't
>> catch the
>> simple parse errors from poor typing. There does not seem to be a
>> php.ini
>> file anywhere on the Mac that I could hope to modify.
>>
>> Thanks for any help you can give.
>>
>> William
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060504/90e5dd61/attachment-0001.html
More information about the FX.php_List
mailing list