Re: php --with-mysql

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

 



A nicer way to get that info is to put a script containing
phpinfo() into your webserver document root - call it
something like test.php:

test.php
--------
<?php phpinfo(); ?>

that's it - just that one line.  Then just browse to

  http://name_of_your_server/test.php

and you'll get a nicely formatted page telling you all the
different things about your webserver and all the options
it was built with - including PHP and MySQL stuff (if it
was built with MySQL support).

HTH.
-- 
Hardy Merrill
Red Hat, Inc.

John Haxby [jch@xxxxxxxxxxxxxxxxxx] wrote:
> 
> Mike Kenny - CPX Mngd Services wrote:
> 
> >Not able to test from here, but phpinfo() may be of use
> >
> >-----Original Message-----
> >From: Ricky Malt [mailto:ric@xxxxxxxxxxxxx]
> >
> >Greetings,
> >    How can i determine if my php is compiled with mysql support. and
> >how do i do this to determine any package for its configured modules.
> >
> 
> Indeed:
> 
>    echo '<? phpinfo(); ?>' | php | grep -i mysql
> 
> jch




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux