New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Apache PHP Error Handlers


Post Reply New Thread Subscribe

 
Thread Tools
vtupser
Guest
 
Posts: n/a

Does anyone know how to turn on the Apache PHP Error Handlers (the errors it spits out when something is miscoded on your page) for the Apache PHP server on the Mac? Mine used to do it, but once I upgraded to PHP 5.0 it doesnt do it anymore.
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
check your php.ini file, which you can find by creating a page and putting this in it:

<?php
phpinfo();
?>

Around the top it should say where the php.ini file is. Then check for things like:

display_errors = Off and change it to On
error_reporting = E_ALL and change to E_ALL ^ E_NOTICE

That should do it for you. Oh and make sure you restart apache after doing this
QUOTE Thanks
vtupser
Guest
 
Posts: n/a

I have found the file, but it is write protected and I cant even change the permission to write. I am the adminster of my computer, but dont know why it is locked. Any clue on how to unlock it?
QUOTE Thanks
vtupser
Guest
 
Posts: n/a

Nevermind, just had to click the stupid lock to unlock it and change permissions. Thanks for the help though.
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
heh sorry that it took so long for me to get back here.. but yeah good to hear you got it so that you can edit it
QUOTE Thanks

Post Reply New Thread Subscribe


« Does anyone know how to change border color in Golive 7 ??? | New to webpage design! Anything helps »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Setting up PHP and PHP Nuke EvoMac Web Design and Hosting 2 02-18-2005 12:38 PM
Php vtupser Web Design and Hosting 5 02-16-2005 03:36 AM
Apache does not start plutonito OS X - Development and Darwin 3 07-28-2004 12:19 PM
Apache + PHP + MySQL Emrys OS X - Development and Darwin 2 11-14-2003 01:30 AM
Bogus PHP bug on Mac OS X... mark Web Design and Hosting 19 10-03-2003 07:34 PM

All times are GMT -4. The time now is 02:44 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?