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

Re: [cobalt-users] PHP no longer working



Rob Gunther schrieb:

> 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>

> [snip]

> 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>

looks good, but did you check realy
/etc/httpd/conf/httpd.conf
and not
/etc/admserv/conf/httpd.conf

yes sounds stupid, but maybe sometimes in a hassle ...

next take a look if it is installed ...

# rpm -qa|grep php

does it show a PHP package ?

maybe is PHP running on the command line ?

# php -v

maybe is Apache restarted ?

# /etc/rc.d/initd.d/httpd restart

relay nothing int

# /etc/httpd/logs/error.log ?

... just some ideas to look about

regards

-- 

¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸

Götz Lohmann  |  D-Mannheim  |  Web-Developer & Sys-Admin
---------------------------------------------------------
He's the fellow that people wonder what he does and why
the company needs him, until he goes on vacation.
¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸