[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] php and /etc/httpd vs /etc/admserv
- Subject: RE: [cobalt-users] php and /etc/httpd vs /etc/admserv
- From: "Si Watts" <simon@xxxxxxxxxxx>
- Date: Mon May 27 11:22:09 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
:> 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