Results 1 to 5 of 5
  1. #1
    vtupser
    Guest
    Question Apache PHP Error Handlers
    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.

  2. #2

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Location
    Mount Vernon, WA
    Posts
    4,915
    Specs:
    MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
    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

  3. #3
    vtupser
    Guest
    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?

  4. #4
    vtupser
    Guest
    Nevermind, just had to click the stupid lock to unlock it and change permissions. Thanks for the help though.

  5. #5

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Location
    Mount Vernon, WA
    Posts
    4,915
    Specs:
    MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Apache and PHP
    By giszzmo in forum OS X - Operating System
    Replies: 3
    Last Post: 09-24-2011, 04:16 PM
  2. Apache works, but PHP will not
    By Mac4Work in forum Web Design and Hosting
    Replies: 5
    Last Post: 12-23-2008, 11:07 AM
  3. All in 1; php/apache/mysql ?
    By gab1982 in forum Running Windows (or anything else) on your Mac
    Replies: 5
    Last Post: 08-31-2004, 03:41 PM
  4. Apache/PHP
    By psychotoe in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 08-12-2004, 06:10 PM
  5. Apache + PHP + MySQL
    By Emrys in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 11-14-2003, 01:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •