[CentOS] Are PHP and MySQL running on my CentOS installation?

Fri Sep 16 14:04:23 UTC 2005
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>

On Fri, 2005-09-16 at 07:01 -0500, Johnny Hughes wrote:
> On Fri, 2005-09-16 at 12:11 +0100, ABOKHALAF, Nassri Abdellatif wrote:
> > the best way to test php  is to put a phpinfo.php file in your webserver
> > document root usually in /var/www/html/.
> > 
> > Do the following:
> > 
> > vi /var/www/html/phpinfo.php
> > 
> > insert in the first line:
> > 
> > <? phpinfo(); ?>
> > 
> > 
> > To test php do the following:
> > 
> > httpd://localhost/phpinfo.php
> > 
> > it will show you your php configuration.
> 
> Also, make sure you are not running selinux

Do note that SELinux does *not* interfere with reading normal files from
the standard location of /var/www/html (including running them through
PHP). And there are options available in system-config-securitylevel for
fine-tuning how SELinux deals with httpd.

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://centos.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050916/20461230/attachment-0005.sig>