Can't log php errors.

I installed php 5.2.5 per the instructions on this page:
http://switch.richard5.net/isp-in-a-box-v2/installing-php-on-mac-os-x/
I've also installed Apache 2.2.8 and MySQL 5.1.24.
Everything seems to be working fine, except for one strange problem. I cannot log php errors.
I have edited my php.ini file so that
error_log = "/Library/PHP5/logs/php_error.log"
... and I have set the permissions on the php_error.log file to 777.
I have created a test .php file with deliberate errors, but none of the errors show up in the php_error.log file. The test error I am using is "if ($undefinedvariable) { do something }"
No php error messages are showing up in Apache's log file.

I contacted Richard Valk, and he suggested checking where my installation of PHP expected the php.ini file to be, by creating a script file to run the phpinfo() command. I found out that my installation expected php.ini to be in /Library/PHP5/lib/, and it was actually in /etc/. I don't remember if I moved it there or what exactly.
I copied the php.ini file to /Library/PHP5/lib/, toggled Apache, and php error logging works now.
Big thanks to Mr. Valk!

Similar Messages

  • Can't log in / Error messages / Missing data

    Here are a few solutions to problems people have run into:
    Use only lowercase letters and no special characters for your username. If you use an uppercase or special character, Firefox Home may be able to log in but it will not be able to load your data.
    Use only English characters and symbols for your Secret Phrase. Firefox Home won't work if you have non-English characters in your Secret Phrase.
    If you get an "Unspecified Error" the problem is that your desktop hasn't finished sending it's sync data to the server. In this case have your desktop sync again and wait until it displays a "Last Update" time in the sync menu. Then do a refresh in Firefox Home. If you're finding that Firefox Sync isn't syncing, make sure you're not running Firefox in Private Browsing mode which blocks it.
    If you get an "Unknown Error" the problem may be that your iPhone is blocked from accessing the internet. Check to see if you have to load up a page and log in before accessing the web (like a hotel or coffee shop).

    Hi psj500,
    Thanks for posting and welcome back!
    Sorry for the problems you're having trying to log in to BT Mail.  Have a look at this link BT Mail: common error messages and what to do about them
    Post back and let me know how you get on.
    All the best,
    Robbie
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Can't log in, error message

    For the past few months I've been receiving errors when trying to log into my BT email, and the problem seems to be getting worse.
    If I try and log in to the webmail from a browser I will some times get the following:
    System Busy, Please Wait
    and then eventually it goes to:
    Selected account (unknown) is unavailable
    It seems pretty random when this happens, but it seems to be getting more and more frequent, and when it does occur my emails don't update on my email client (mailbird). On my phone email (bluemail) it recieves the email Subject and Sender, but won't download the actual body of the email (just get 'Failed Download')
    Happened for about 5 hours yesterday morning (about 9am to 2pm) and has been off since 1pm this afternoon.
    Very infuriating.
    When it does come back on all my devices and clients update at once and it is fine again for a bit.
    Any ideas?

    Hi psj500,
    Thanks for posting and welcome back!
    Sorry for the problems you're having trying to log in to BT Mail.  Have a look at this link BT Mail: common error messages and what to do about them
    Post back and let me know how you get on.
    All the best,
    Robbie
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • How can i get the error message from the thrown/raised exception?

    DB version:10gR2
    Examples for this thread taken from
    Want Stored Procs to get exectuted regardless of preceeding SPs Success or
    I have a package with several functions and procedures inside.I created a caller procedure called callProcs, which will execute various procedures within the package in the appropriate order.
    In the below example i cannot get the error message thrown from line 20
    create or replace package body mypackage
    is
    variable_proc1 number;
    variable_proc2 number;
    variable_proc3 number;
    v_result       number;
    my_exception   exception;
    procedure proc1
    is
    begin
    select 8/0 into variable_proc1 from dual;
    exception
              when others
              then raise my_exception; ----line 20
    end;
    procedure proc2
    is
    begin
    select 1 into variable_proc2 from dual;
    exception
              when others
              then
                   null;
    end;
    procedure proc3
    is
    begin
    select 3 into variable_proc3 from dual;
    exception
              when others
              then
                   null;
    end;
    Procedure caller_proc
    is
    begin
    proc1;
    proc2;
    proc3;
    v_result:=variable_proc2+variable_proc3;
    dbms_output.put_line('The output is '||v_result);
    exception
              when my_exception
              then
    dbms_output.put_line('Heyyyyy the error is '||SQLERRM); -- exception caught at line 64 of caller proc
    end;
    end mypackage;
    When i try executing the caller proc, i don't get the error. Instead i get the text User-Defined Exception as shown below
    set serveroutput on
    exec mypackage.caller_proc;
    Heyyyyy the error is User-Defined Exception
    PL/SQL procedure successfully completed.Edited by: user10633418 on Mar 10, 2009 11:30 PM

    Thank you justin.
    Sorry my earlier post was a bit ambiguous.
    I wanted the error generated at proc1 to be captured at caller proc's Exception handling section (line 64) so that i could log the error to an ERR_LOG table.
    I can actually log this error at proc1 itself like
    exception
    when others
    THEN
    error_message :='My custom message for the particular proc '||SQLERRM;
    dbms_output.put_line(error_message);
    logerror(error_message); --an autonomous error logging proc
    raise;But there is a RAISE statement in proc1's exception handling, so the exception gets propogated to caller proc's exception handling section {color:#ff0000}*and another redundant row will be created at ERR_LOG table for the same error because there is a*{color}
    logerror(error_message);--an autonomous error logging proc
    in the WHEN OTHERS section of exception handling section of the caller proc
    I want to avoid the creation of this redundant row in ERR_LOG table.

  • Can't connect PHP/MySQL 404 error

    Wow, the learning curve is killing me. Yet another challenge. I'm using Dreamweaver CC and this tutorial http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    I'm at this step:
    Open comments.php. You must have a PHP page open in the Document window to create a MySQL connection.
    In the Databases panel (choose Window > Databases), click the Plus button on the panel and select MySQL Connection.The MySQL Connection dialog box appears.
    Type connTest as the connection name.
    For the MySQL Server, type localhost.If you are using the MAMP default ports on a Mac, use localhost:8889.
    For the User Name, type phptestuser.
    Type the password you chose for the phptestuser account in the Password field.
    For the Database, type php_test.Note: You don't need to precede the underscore with a backslash here. It was inserted by phpMyAdmin in the previous section (see Figure 20) only because phpMyAdmin uses a query that permits wildcard characters.
    Click Test.Dreamweaver attempts to connect to the database. If the connection fails, do the following:
    Double-check the server name, user name, and password.
    Check the settings for the folder Dreamweaver uses to process dynamic pages (see Specifying a Testing Server for Dreamweaver).
    Verify that the web and MySQL servers are both running.
    Temporarily disable any firewall or security program. If the connection works, you need to configure the security program to permit communication between Dreamweaver and MySQL.
    Click OK. The new connection appears in the Databases panel.
    Expand the connTest connection, and then expand the Tables branch. You'll see the comments table in the database, which you can expand to reveal the details of the table columns (see Figure 23).
    As far as I can tell I have followed this tutorial to the letter.
    As far as I can tell, XAMPP/php mySQL are all running fine, the files are in the correct place and everything should be working. However when I hit test I get a 404 error. (Same error when I hit the select button.)
    The suggested problems on the 404 message are:
    1. There is no testing server running on the server machine.
    Pretty sure the testing server is running. Is there any way to test this, other than to note that xampp is definitely running right now and that I can log into phpMYadmin no problem?
    2. The testing server specified for this site does not map to the http://localhost/php_test/_MMServerScripts/MMHTTPDB.php URL Verify that the URL Prefix maps to the root of the site.
    Ummm...I'm pretty sure I put things where I was told to put them in the tutorial, but I'm lost at this point where I should verify what. A clue here? The files are where they are supposed to be, but maybe I entered something wrong? Except...I'm not sure what that could be or where to find it. Whatever IT is.
    Everything in local files is looking good.
    Thanks for your help!
    PS: Extra points to anyone who figures out how to make copy/pasteable error messages! These buggers are the bane of my life!

    Bgupta, you rock!
    I hope you have copied the "mysql.php" and "MMHTTPDB.php" files from "C:\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\locale\Configuration\Connections\Scripts\PHP_MySQL\_mmDBScripts" to "C:\xampp\htdocs\phptest\_mmServerScripts"
    This was EXACTLY the problem. I checked the tutorial and I couldn't even find where the tutorial said to do this. (If I missed it, let me know where in the tutorial it was, please.)
    Fixed!

  • I can't log in to my itunes account, and it does not give me any errors.

    I can't log in to my itunes account.  When I try, the login screen disappears for a moment.  It then pops up requesting I log in.  It does not include any error messages.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • Everytime I  try and sign into my iCloud account it tells me I can't log in due to a server error, but there is nothing wrong with my server . It also wont allow me to view any of my Photos or Documents that i have backed up.

    Everytime I  try and sign into my iCloud account it tells me I can't log in due to a server error, but there is nothing wrong with my server . It also wont allow me to view any of my Photos or Documents that I have backed up. Please help

    Hi,
    Are you running any Anti-virus software or do you have your firewall turned on? If so, disable them and try again. If that doesn't work, delete the iCloud account and then sign it back on again.
    Make sure you are running the most current version of the iCloud Control Panel:
    http://support.apple.com/kb/dl1455
    Cheers,
    GB

  • I can't log in to my apple ID on my iphone 4s, I can on the computer, but it says an unknown error has occurred whenever I try to sign in to download any apps or anything. Help!

    I got it today, second hand, set up an apple ID and can log in perfectly fine on the computer, but I can't log in on my iphone!Not sure what's wrong but I've tried logging in like 10 times and it says unknown error EVERY time.

        for the       Points.
    I have not heard of anyone being charged for this at an Apple Store.
    If it was through an Apple Authorised Service Provider  I am sure you will be able to convince them that they missed the end of the job.
    (I have not seen any posts saying anyone has had issues using this route, but there are less of them)
    8:10 pm      Saturday; January 11, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • I was installing a new update on my MacBook Pro. With only 20% left it said "an unknown error had occured, please restart your computer." Now that I've restarted - I can't log in!

    Ok, my MacBook haven't had any issues earlier, until today. At first Safari was acting kind of weird in that sense that a lot of letters were missing when you went on certain webpages, so I thought of updating since an alert-window popped up and notified that new updates were ready to be installed. So I opened up App Store through my Applications-folder and selected update.
    First it asked if I wanted to connect my Mac to a powersource but since I had charged the battery to 79% I didn't think it was necessary. So I continued, computer restarted and began installing the updates.
    Everything went fine until it was approximately three minutes left. An error message popped up and said something like "An unknown error has occured. Please restart your computer and try again". I pressed OK, rebooted my computer and when it asked for my password I typed it in. After I pressed OK, the computer indicated it was the wrong password. I tried multiple times and sometimes with different passwords... so now I can't simply log in! What's the problem?
    TL;DR - Updated mac, failed after five minutes and now I can't log back in since "I have the wrong password"

    Forgot Your Account Password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.

  • I'm trying to log on to Vtalk, but I can't log in because an error pops up saying 'request timed out'

    I'm trying to log on to Vtalk and my mail, but the 'timed out' error keeps popping up and I can't log in. I know it's not a wifi strength issue, I can get on the Internet and Skype perfectly fine, but not any app that needs an email. Help!

    Right, it works perfectly when I'm connected to another wifi source, but even if I download the app elsewhere and try to use it at home, no dice :/ Same with my email app. I can check my email by using a web browser app and going on to the site but the app itself won't update unless I'm connected to another wifi source.

  • Can not log into server computer with any accounts - "You are unable to login to the user account "abcdefg" at this time. Logging in to the account failed because an error occurred."

    I have a Mac mini running the latest version of OS X and Server. Been running fine and flawlessly. However, I had a strange problem with the iCloud preferences panel crashing when I tried to access it, so I rebooted. Now I can not log into the system with any accounts. My master admin account (along with all the others) gives me the error:
    You are unable to login to the user account "abcdefg" at this time. Logging in to the account failed because an error occurred."
    I am able to see the server from other macs and I can log into it using the same account, but it only shows me a few of the shared folders I have access to but NOT to my main directories.
    Rebooting into Command-R and doing a disk utility, I try and repair permission on that drive and get a bunch of errors like:
    ACL found but not expected on Users
    Repaired "Users"
    ACL found but not expected on Users/.localized
    Repaired "Users/.localized"
    ACL found but not expected on Users/Shared
    Repaired "Users/shared"
    ACL found but not expected on Users/Shared/.localized
    Repaired "Users/Shared/.localized"
    Permissions repair complete.
    But rebooting is no joy...same problem. Any idea what is going on or how to repair it? Should I do a time machine restore? Complete new OS X install? Any idea what is causing this or how to salvage it?

    Got everything to re-install and it worked fine...for a few hours. Then I came in to find ALL of my network users deleted. Just GONE. Then found out the Open Directory was trashed and was unable to open, recover or restore from a backup. Looks like I may have a bad drive here.
    I installed a new drive in the system, re-installed and so far (for a couple of hours anyway) the system seems to be working and stable.

  • Error 9808-Can't log in to store account

    None of the posted Apple measures apply to me, as the security box in IE wasn't checked, no security changes have been made. I was able to log in yesterday and download a tv episode no problem, and then today when I see a new episode availible I go to buy it and find ERROR 9808-try again later. I've been at this for an hour! Please help!
    I was just able to log in and start downloading a tv episode when the whole application froze. Now I can't log in again, same ERROR!
    Message was edited by: KaraThrace

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    -Griff W.

  • Since I can not log in bug report page, not even getting an error message, I'll write all my issues with ios8 here...

    Since I can not log in bug report page, not even getting an error message, I'll write all my issues with ios8 here... I have an iphone 4S and I did the last update. Now I am in trouble.
    1. When I move the "sound on/off" button, I get it buzzing 10 times before the setting is changed and I can do anything else, just not reacting to the round button on screen touches.
    2. Impossible to copy text from most websites into notes.
    3. Impossible to delete an email account in settings.
    4. Uses up the battery twice as fast as before. I have "update apps" setting turned off, just reading a couple of mails, making a couple of photos and open maps apps twice a day, and the battery is dead well before the evening.
    5. Got extremely slow, and it was getting slower and slower with every system update.
    I'm sure I forgot something... But well, that already a lot.

    Well, actually number 3 in my list is not true any more, I just tried to delete my account 15 times, then I've written my post, then half an hour later my Settings finally updated my accounts list. Whohoo
    I did not try restoring it yet, thank you for the link!

  • SQL Server 2012 Developer Edition will not install. Setup files don't even get copied completely. Win 8.1. ACT instance is loaded & can't be deleted. From log file: Error: Action "PreMsiTimingConfigAction" failed during execution.

    SQL Server 2012 Developer Edition will not install.  Setup files don't even get copied completely.  Win 8.1.  ACT instance is loaded & can't be deleted. From log file: Error: Action "PreMsiTimingConfigAction" failed during execution.

    Hello,
    I am glad it worked.
    Thank you for visiting MSDN forums!
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • I can't log in to ichat.  Everytime I try I get a message "The server encountered an error processing registration. Please try again later"  .  Is there anything I can do.   this has been going on since yesterday.

    I can't log into ichat.  Everytime i try, I get this message:  "The server encountered an error processing registration. Please try again later."  This has been going on since last night.  Is there something I can do?

    I can't log into ichat.  Everytime i try, I get this message:  "The server encountered an error processing registration. Please try again later."  This has been going on since last night.  Is there something I can do?

Maybe you are looking for

  • How do you turn third-party midi loops into Apple Loops?

    Does anyone know how to turn third-party midi loops into Apple Loops? I've got hundreds of short midi files that I purchased, and I would like to be able to use them in the loop browser of Logic Studio. I tried some of the obvious ways of doing this,

  • Clear iPad Cache of Shared Library

    Does anyone know how to clear the cache of iTunes Home Sharing on the iPad? I'm making changes to the sorting of my shared TV Shows and I cannot get the ipad to show my changes. The only way I can figure out is if I restore the device and then connec

  • Sending contacts via SMS

    Hi! I would like to get your expert advice on the issue we are experiencing with our Z10 and Q10 units and this is about sending of contacts/business cards. We are not sure if it is a network-related thing.  Tested on two different carriers as well w

  • Can't open after the apple logo

    unable to continuosly open my ipad3, just stock up just with the apple logo and it turns off again.

  • How best to address WEBI query buffer issue

    Hello folks, I understand that upon executing the WEBI query from the hyperlink, the data is displayed from the buffer with variable values derived from the last saved version of this query.  Can this be overridden so the data is fetched from the dat