I have provisioned an apache webserver with a custom user for content management, created a http-docs root directory in /var/, and assigned ownership to the user with the usual chown stuff, yada yada yada, and basically the basic stuff works.
I've uploaded some content and it displays when accessing via HTTP & HTTPS.
What totally confuses me is that the PHP pages for managing my CMS do not display, whereas a web-shell does.
In case it is relevant I am using the Armadillo CMS that is available as a RapidWeaver plugin. It depends on Apache, PHP, and MySQL and all these requirements are (apparently) met. Furthermore I can exclude MySQL as being at fault since I need to access the admin/setup page in order to provision the system, and insofar as it keeps turning up blank, I have not been able to even attempt to configure it.
While inspecting the relevant .php file from within the server's filesystem the file is populated with valid PHP code.
What am I doing wrong? What have I forgotten to do?
Thanks.
root@lamp files/armadillo# tail -100 /var/log/apache2/access.log root@lamp files/armadillo#
Empty httpd logs. But it works. Maybe I don't have logging enabled or something like that?[Sat Dec 27 20:42:30 2014] [error] [client 192.168.111.21] PHP Warning: Unknown: open(/var/taleoftwotowns/files/armadillo/.tmp/sess_ev1b0qajjrh965b9qnbhsfho04, O_RDWR) failed: No such file o r directory (2) in Unknown on line 0, referer: http://www.taleoftwotowns.com/
Might this be because I haven't correctly set up VirtualHosts or some sort of DNS mishap?tail -f /var/log/apache2/error.log
. After, just access to your webpage from web-browser. Please show result, which will be displayed in Terminal. Sometimes this problem can be resolved by installing php5-mysql