mysql - Blank php page served by apache -
i installed apache, mysql, , php on machine in effort learn web development. until yesterday, had no problems configuration - working fine.
this file structure
/var/www/html/ info.php phptutorial/ index.php core/(more php) css/(more php) includes/(more php)
apache working (status: running) , when navigate localhost in chrome see correct directory listing. when further navigate phptutorial/ directory, served blank page , cannot access index.php. yesterday page loaded fine. think it's configuration problem apache or php. file permissions on directories 755.
any ideas? noticed strangely there no httpd.conf located in /etc/apache2/. userdir module enabled.
uname -a; php -v; apache2 -v linux portege-r935 3.13.0-53-generic #89-ubuntu smp wed may 20 10:34:39 utc 2015 x86_64 x86_64 x86_64 gnu/linux php 5.5.9-1ubuntu4.9 (cli) (built: apr 17 2015 11:44:57) copyright (c) 1997-2014 php group zend engine v2.5.0, copyright (c) 1998-2014 zend technologies zend opcache v7.0.3, copyright (c) 1999-2014, zend technologies server version: apache/2.4.7 (ubuntu) server built: mar 10 2015 13:05:59
ok realized problem. in 1 of php files using require() require file had not yet created. mittmemo right, problem php , not server configuration. should find blank page thoroughly check php code such mistakes.
Comments
Post a Comment