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 ...
- 01-09-2012 #1Just 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
- 01-10-2012 #2
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
If that works, modify your blacnk page producing code to haveCode:<?php phpinfo(); ?>
among the first thing it does. If this shows your errors, you can set the appropriate settings in php.ini and restart apache.Code:error_reporting(E_ALL); ini_set('display_errors', 1);
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 distroIf 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.
- 01-10-2012 #3Just 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


Reply With Quote
