[CentOS] How can I setup to allow php running on CentOS server?

Fri Nov 19 07:06:03 UTC 2010
Timo Schoeler <timo.schoeler at riscworks.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thus wang suya spake:
> Hi Timo
>    Thank you very much for answer my question
> it comes:
> php-mbstring-5.1.6-27.el5
> php-common-5.1.6-27.el5
> php-5.1.6-27.el5
> php-ldap-5.1.6-27.el5
> php-cli-5.1.6-27.el5

You need to install

php-5.1.6-27.el5

because it contains the module Apache (httpd) needs to work.

HTH,

Timo

> do you know what information for these?
> Thanks
> 
> Wang
> 
> 
> thus wang suya spake:
>>>>    Dear Everyone
>>>>
>>>>       I met truble to setup centos Server. I installed centos lastest version, then
>>>> installed apache lastest version and yum installed php lastest version. And looked
>>>> at internet information to set up httpd.conf, then I run http://localhost/test.php
>>>> but forbbiton 403 error return to me. Who know how to set up to allow php run in
>>>> my server? Thank you in advance
>>>>
>>>>   Wang
> Hi,
> 
> what output gives "rpm -qa|grep php"?
> 
> Do you have SELinux enabled (check "sestatus")?
> 
> Timo
> 
>>>> wang suya
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFM5iHbfg746kcGBOwRAsOqAJ0egF2fEUAnpnnGdrh4QTvVxfbd3wCdG4QP
r7Qap2/RcDQNqe4UvThhrfQ=
=rZmA
-----END PGP SIGNATURE-----