[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] PHP no longer working
- Subject: Re: [cobalt-users] PHP no longer working
- From: "PageKeeper Service" <host@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue Sep 9 01:53:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message -----
From: "Rob Gunther" <rgunther@xxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, September 09, 2003 2:51 AM
Subject: Re: [cobalt-users] PHP no longer working
> Thanks for the input, here are the results of your suggestion testing
>
> * I was editing the correct httpd.conf file (was not even aware of the
other
> one).
>
> * rpm -qa|grep php
> This shows:
> php-4.1.2-PM3
> php-devel-4.1.2-PM3
> phpMyAdmin-2.5.3-1
>
> * php -v (I don't know what this does.)
> This shows:
> 4.1.2
>
> The http log file is dumping tons of errors about a JRun server not being
> present - but I think that is related to Cold Fusion being installed on
the
> server. Guess I'll have to check that out as well.
>
> Now here is the kicker, I did nothing other than run the above tests - and
> it is working?!? The only command that I don't know what it is is php -v.
>
>
>
> Rob
>
>
>
>
>
>
>
> ----- Original Message -----
> From: "Goetz Lohmann" <goetz.lohmann@xxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Tuesday, September 09, 2003 8:12 AM
> Subject: 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
The switch "-v" would print/echo the actual php version.
PageKeeper Service
1512 Deborah Road #102
Rio Rancho, New Mexico 87124 US
505-892-8723
http://www.pagekeeperservice.com