or at command line, you should be able to:
#echo "<? phpinfo(); ?>" | php
or
#php -v
On Thu, 31 Mar 2005 17:08:17 -0600 (CST), "-ray" <ray@ops.selu.edu>
said:
>
> Create a file called index.php that simply contains this line:
>
> <? phpinfo() ?>
>
> Put it in your Apache document root dir, then browse to
> http://linux-box/index.php. (of course "linux-box" should be your linux
> machines ip). If php is working, it'll spit out loads of info about the
> php configuration.
>
> ray
>
>
> On Thu, 31 Mar 2005, Chris Reames wrote:
>
> > Stupid question...how do I make sure PHP is working???
> >
> > I have run Yast package installer and installed MySQL and PHP packages
> > (Including Java, Apache, Tomcat etc)
> > I then did an online update of installed packaged, and the box didn't crash
> > (this is a good sign for me).
> > Anyway, I'm at a loss on how to proceed. My goal is installing
> > phpmysqladmin. (I have is downloaded as a tar.gz)
> >
> > Just need a point in the right direction.
> > Thanks for your time.
> > Chris
> ___________________
> Nolug mailing list
> nolug@nolug.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.brettsbsd.net/~estrabd
___________________
Nolug mailing list
nolug@nolug.org
Received on 04/01/05
This archive was generated by hypermail 2.2.0 : 12/19/08 EST