[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] PHP no longer working
- Subject: [cobalt-users] PHP no longer working
- From: Rob Gunther <rgunther@xxxxxxxxxx>
- Date: Mon Sep 8 07:43:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Not sure why I did this, but I uninstalled PHP 4.2.3 from my raq 4 - it
was working perfectly I just wanted to re-install fresh (my actual
problem was with mySQL). I've put back version 4.1.2-3 from pkgmaster.
Now I can't get it running. I don't get any errors, what I get is the
actual php document being feed back to me rather than the PHP engine
processing the file. I thought you did the association in:
/etc/httpd/conf/httpd.conf
Somthing like:
<VirtualHost 8.118.133.76>
ServerName www.hbi-internet.com
ServerAdmin site1
DocumentRoot /home/sites/site1/web
ServerAlias hbi.com
RewriteEngine on
RewriteCond %{HTTP_HOST} !^8.118.133.76(:80)?$
RewriteCond %{HTTP_HOST} !^www.hbi.com(:80)?$
RewriteRule ^/(.*) http://www.hbi.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddHandler server-parsed .shtml
AddType text/html .shtml
</VirtualHost>
I've also got LoadModule php4_module modules/libphp4.so in the
httpd.conf
Somthing is obviously wrong, anyone have a suggestion?
Thanks,
Rob