Are PHP and MySQL running on my CentOS installation?

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



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@xxxxxxxxxxxx>
http://centos.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
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.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux