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