[CentOS] unable to run php application on centos4.0

Thu Feb 15 13:20:11 UTC 2007
ankush grover <ankushcentos at gmail.com>

On 2/15/07, Leonel Nunez <leonel at enelserver.com> wrote:
> > Hi Friends,
> >
> >
> >  I am trying to configure a blog on Centos4.0. The blog is written in
> > php and I am not able to run the php applications on this system.
> >
> >
> > php-pear-4.3.9-3.2
> > php-4.3.9-3.2
> > php-ldap-4.3.9-3.2
> > php-mysql-4.3.9-3.
> >
> >
> > Php is installed on the system and in the httpd.conf file I have added
> > index.php for Directory Index but whenever I try to access the blog i
> > get the contents of the file and php is not executing.
> >
> > The permissions on the directory under /var/www/html/blog is set to
> > 777 but still the problem is persisting.
> >
> >
> > What should I do and where to check ?
> >
> >
> > Thanks & Regards
> >
> >
> > Ankush Grover
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
> Can you show whats on the   error_log ?
>
>
> Leonel

access_logs

172.23.9.16 - - [15/Feb/2007:18:55:55 +0530] "GET /blog/install.php
HTTP/1.1" 200 127934 "-" "Opera/9.00 (X11; Linux i686; U; en)"
172.23.9.16 - - [15/Feb/2007:18:57:06 +0530] "GET /blog/install.php
HTTP/1.1" 200 127934 "-" "Opera/9.00 (X11; Linux i686; U; en)"


Nothing in errors logs means no warning and no errors when I try to
access  http://172.23.9.12/blog or http://172.23.9.12/blog/install.php


httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c


Does it means apache is not compiled with php. But there is php.conf
file under /etc/httpd/conf.d/



Thanks & Regards


Ankush Grover


>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>