Re: tutorial failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/08/2010, chris h <chris404@xxxxxxxxx> wrote:
> php is not processing the file.  There's a few reasons for this, but the
> first thing I would check is the permissions of the file.  From the
> directory try
>
> $ ls -oa
>
The file permission was confirmed as root, since it was copied (as
root) from a normal user account directorp 'temporary' to the
directory '/var/www/html'

> This should tell you who owns the file and what it's permissions are.  You
> mentioned that you copied it as root, you could change it's ownership to
> www-data.
>
This fails:

[root@localhost html]# chown www-data test.php
chown: `www-data': invalid user

So I repeated this with a normal user account and the change in
permission occurs. However, the html file containing the php script
remains unchanged.

The instruction:

...
<?php phpinfo() ?>
...

Does not show the version of php.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux