How can I setup to allow php running on CentOS server?
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 wang suya _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
How can I setup to allow php running on CentOS server?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 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 > _______________________________________________ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFM5hzlfg746kcGBOwRAjgxAKCxi9swyHW+JmYvym0xFL an/e2HlACfTwt7 +QT787m+r/LEOl00xZVAS0E= =hvXo -----END PGP SIGNATURE----- _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
How can I setup to allow php running on CentOS server?
-----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) iD8DBQFM5iHbfg746kcGBOwRAsOqAJ0egF2fEUAnpnnGdrh4QT vVxfbd3wCdG4QP r7Qap2/RcDQNqe4UvThhrfQ= =rZmA -----END PGP SIGNATURE----- _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
How can I setup to allow php running on CentOS server?
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 do you know what information for these? Thanks Wang >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >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 >> _______________________________________________ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.5 (GNU/Linux) > >iD8DBQFM5hzlfg746kcGBOwRAjgxAKCxi9swyHW+JmYvym0xF Lan/e2HlACfTwt7 >+QT787m+r/LEOl00xZVAS0E= >=hvXo >-----END PGP SIGNATURE----- >_______________________________________________ >CentOS mailing list >CentOS@centos.org >http://lists.centos.org/mailman/listinfo/centos > wang suya _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
How can I setup to allow php running on CentOS server?
thus wang suya spake:
> Hi Timo > > Thank you but I tryed "yum install php-5.1.6-27.el5" > it said that "Package php-5.1.6-27.el5.i386 already installed and latest version Nothing to do" > Do you know why? Yes -- sorry, I need coffee, I didn't see it already was installed on your machine. Try to run restorecon -Rv -n /var/www/html and try again -- maybe SELinux is the showstopper here. Timo > Thanks! > Wang > > 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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
How can I setup to allow php running on CentOS server?
Hi Timo
Thank you but I tryed "yum install php-5.1.6-27.el5" it said that "Package php-5.1.6-27.el5.i386 already installed and latest version Nothing to do" Do you know why? Thanks! Wang >-----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) > >iD8DBQFM5iHbfg746kcGBOwRAsOqAJ0egF2fEUAnpnnGdrh4Q TvVxfbd3wCdG4QP >r7Qap2/RcDQNqe4UvThhrfQ= >=rZmA >-----END PGP SIGNATURE----- >_______________________________________________ >CentOS mailing list >CentOS@centos.org >http://lists.centos.org/mailman/listinfo/centos > wang suya _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
How can I setup to allow php running on CentOS server?
Hi Timo
I tryed "restorecon -Rv -n /var/www/html" but "bash: restorecon: command not found" message show up. Why? Thanks Wang >thus wang suya spake: >> Hi Timo >> >> Thank you but I tryed "yum install php-5.1.6-27.el5" >> it said that "Package php-5.1.6-27.el5.i386 already installed and latest version Nothing to do" >> Do you know why? > >Yes -- sorry, I need coffee, I didn't see it already was installed on >your machine. > >Try to run > >restorecon -Rv -n /var/www/html > >and try again -- maybe SELinux is the showstopper here. > >Timo > >> Thanks! >> Wang >> >> 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 >_______________________________________________ >CentOS mailing list >CentOS@centos.org >http://lists.centos.org/mailman/listinfo/centos > wang suya _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
How can I setup to allow php running on CentOS server?
From: wang suya <o-soya@seiss.co.jp>
> I tryed "restorecon -Rv -n /var/www/html" but "bash: restorecon: command >not found" > message show up. Why? Did you try as root? If you did, did you su - instead of su? Tip: locate restorecon JD _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
| All times are GMT. The time now is 03:48 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.