Try DigitalOcean free for up to two months!

How to View Php and server error logs?

Discussion in 'General Linux' started by wishesplanet, Jan 11, 2017.

Tags:
  1. wishesplanet

    wishesplanet New Member

    Joined:
    Jan 11, 2017
    Messages:
    1
    Likes Received:
    0
    I am getting the WSOD now since editing settings.php; php.ini and .htaccess trying to update my site that is wisheschoiceand I need to see error logs to find out what is happening.


    Also how do you clear cache in command line?

    Any help appreciated although haven't had much lately I have to admit.
     
  2. Wyght

    Wyght New Member

    Joined:
    May 7, 2013
    Messages:
    20
    Likes Received:
    7
    What flavor of Linux are you using?
    What version of PHP are you using?
    Have you tried whereis PHP in your terminal to find where your PHP is you may be able to find your logs that way. I am a NODE.JS guy I have not touched PHP in 10 years so I don't know.

    What are you trying to clear when you ask 'clear cache in command line? I did a quick search and found heaps of replies but can't help you without knowing more
     
  3. seco

    seco New Member

    Joined:
    Feb 7, 2017
    Messages:
    9
    Likes Received:
    1
    Check /var/log
    or /usr/local/apache
    according to your distro
     

Share This Page