
Hi I've loaded Xmail on to my laptop running Ubuntu 13.04. I'm trying to use phpxmail to administer it - installed apache and php5 and copied the phpxmail files to /var/www Only problem is that when opening the scripts with my browser (Chrome) the script is not run and the browser just displays the text of the script. (might not be true for all of the scripts) To add to the confusion, the following DOES execute correctly ... <?php phpinfo(); ?> Any suggestions of where to look for the problem? Thanks Michael

At a quick gues Id say that the php module is not enabled, or there is an issue with the file assocations . Any errors in the apache logs ? On 9/09/2013 11:40 PM, "Michael McDonald" <mikencolleen(a)gmail.com> wrote:
Hi
I've loaded Xmail on to my laptop running Ubuntu 13.04. I'm trying to use phpxmail to administer it - installed apache and php5 and copied the phpxmail files to /var/www
Only problem is that when opening the scripts with my browser (Chrome) the script is not run and the browser just displays the text of the script. (might not be true for all of the scripts)
To add to the confusion, the following DOES execute correctly ...
<?php phpinfo(); ?>
Any suggestions of where to look for the problem?
Thanks Michael _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

On 10 September 2013 08:51, Gregory Machin <clubbing80s(a)gmail.com> wrote:
At a quick gues Id say that the php module is not enabled, or there is an issue with the file assocations .
Any errors in the apache logs ?
Have found an entry in the error log ... [Mon Sep 09 16:23:16 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico ... and this is the access log ... 127.0.0.1 - - [09/Sep/2013:23:29:54 +1200] "GET /favicon.ico HTTP/1.1" 404 498 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36" I found a file favicon.ico somewhere else on the computer (belongs to VLC) and copied it into /var/www. It fixed the "file not found" problem, but otherwise had no effect. Michael

You can ignor that error. It puts an image on the browser title bar or url bar. On 10/09/2013 10:47 PM, "Michael McDonald" <mikencolleen(a)gmail.com> wrote:
On 10 September 2013 08:51, Gregory Machin <clubbing80s(a)gmail.com> wrote:
At a quick gues Id say that the php module is not enabled, or there is an issue with the file assocations .
Any errors in the apache logs ?
Have found an entry in the error log ...
[Mon Sep 09 16:23:16 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
... and this is the access log ...
127.0.0.1 - - [09/Sep/2013:23:29:54 +1200] "GET /favicon.ico HTTP/1.1" 404 498 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36"
I found a file favicon.ico somewhere else on the computer (belongs to VLC) and copied it into /var/www. It fixed the "file not found" problem, but otherwise had no effect.
Michael _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

On 9 September 2013 23:39, Michael McDonald <mikencolleen(a)gmail.com> wrote:
I've loaded Xmail on to my laptop running Ubuntu 13.04. I'm trying to use phpxmail to administer it - installed apache and php5 and copied the phpxmail files to /var/www Only problem is that when opening the scripts with my browser (Chrome) the script is not run and the browser just displays the text of the script. (might not be true for all of the scripts)
Source of problem located. http://127.0.0.1/phpxmail/ .... no go http://aspire-4315-u1304/phpxmail/ .... works correctly Strange!! Michael
participants (2)
-
Gregory Machin
-
Michael McDonald