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

RE: [cobalt-users] php and /etc/httpd vs /etc/admserv



:> I uploaded the php package for php 4.1.2-3 using the upload
:> feature of the Web
:> GUI and I have php enabled (the PHP logo is showing).  However,
:> the RaQ 4 server
:> is not processing php files (I use a test file - testphp.php -
:> that contains
:> phpinfo() ).  Instead I am getting a directory listing.
:>

Just a simple question.......

are you calling the page or the directory? testphp.php would never be served
up as a directory index.

Either change the filename to be index.php or call the page using its proper
address at http://www.yourdomain.com/phptest.php

Similarly, the code in your phptest page needs to be:

<?PHP phpinfo() ?>

else the actual code won't be parsed as php.

HTH

Kind Regards

Si Watts
SiWIS http://www.siwis.co.uk