[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: Goetz Lohmann <goetz.lohmann@xxxxxx>
- Date: Tue Sep 9 07:43:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Rob Gunther schrieb:
>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
>
OK here we go ... this tells that the PHP Version 4.1.2 is installed on
that System. Thats Ok
>* php -v (I don't know what this does.)
> This shows:
>4.1.2
>
>
php is the comman line interpreter of php (or in other words the cgi
version like perl)
if a php -v success in displaying his version number without any error
than php itself
should be running fine and teher might no errors in the php.ini
so it prints out the correct Version number 4.1.2 ... thats fine
>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.
>
JRun ? ... mhh .. sound like Tomcat and Java Server Pages ... anyway
shouldn't bother php
>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.
>
as I told you ... php is the command line version ... you may process
any script without
apache by doing
# php myscript.php
which parses the myscript.php file and should sho a lot of html (without
the php tags)
Seems on the first look ok ... but I think there is something with
Apache wrong
if it didn't parse the PHP files ..
try the Apache Syntax check
# /usr/sbin/httpd -t
Maybe are the php file in another directory than the <virtual> host
section describes ?
maybe wrong case sensitive ??
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.
¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸