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 ...
  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
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,301
    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
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  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

Posting Permissions

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