linux - apache2 not loading php codes -
this index.php file worked fine until recently. server running ubuntu 15.04
i have tried complete reinstalling php5 , apache2 package.
my index.php: http://gyazo.com/26fe168e7bf0695233f61d7d1eb29b47
instead of running include_once code totally ignores it...
what view source website shows: http://gyazo.com/09606d26de4fd9002eb3265def95f52c
help?? :(
update: works fine in dreamweaver supposed to. think serverside problem. have not altered cause screw >.>
error log
pastebin.com/uzckuxyh
html works fine self. php echo works. php_includes causing problems
when add / file location (php include_once("/filename.php")) decides to: gyazo.com/9b530bc9383ab9be534b41e639920f0f doesnt show or run php codes.
i assume if make simple "hello world" php page output empty, right?
<?php echo "hello world!"; ?>
does error message appears? has server ever printed phpinfo(), example?
you try restart apache following command:
sudo systemctl restart apache2
Comments
Post a Comment