Find the answer to your Linux question:
Results 1 to 3 of 3
cant find error_log or access_log i have installed apache2 and it worked initially but then stopped so reins6talled after removing i have linux mint 12 and have also tryed lighttpd ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    3

    PHP shows blank pages


    cant find error_log or access_log

    i have installed apache2 and it worked initially but then stopped so reins6talled after removing

    i have linux mint 12 and have also tryed lighttpd and mini httpd and didnt work any ideas plus it went wrong when i tryed to manually setup ssl and i need to start again without reinstalling the whole mint 12 please help if you have any ideas...



    aslo i have tryed 127.0.0.1 and localhost and i get blank pages and i have edited files to point to where my files are as described

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,651
    Quote Originally Posted by jamied_uk View Post
    cant find error_log or access_log

    i have installed apache2 and it worked initially but then stopped so reins6talled after removing

    i have linux mint 12 and have also tryed lighttpd and mini httpd and didnt work any ideas plus it went wrong when i tryed to manually setup ssl and i need to start again without reinstalling the whole mint 12 please help if you have any ideas...



    aslo i have tryed 127.0.0.1 and localhost and i get blank pages and i have edited files to point to where my files are as described
    Blank pages thrown out by PHP are often error conditions when error messages are suppressed.

    Create a new file and add the following to it
    Code:
    <?php
    phpinfo();
    ?>
    If that works, modify your blacnk page producing code to have
    Code:
    error_reporting(E_ALL);
    ini_set('display_errors', 1);
    among the first thing it does. If this shows your errors, you can set the appropriate settings in php.ini and restart apache.

    Unless set up differently error_log and access_log can usually be found under one of /var/log, /var/log/apache2, /var/log/httpd depending on the distro
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  3. #3
    Just Joined!
    Join Date
    Jul 2011
    Posts
    3
    this is how i solved the issue ps thanks for your reply





    OPEN TERMINAL

    CD /var

    sudo chmod 777 www



    last command you see there made the pages work :d

  4. $spacer_open
    $spacer_close

Posting Permissions

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