ankush grover
2007-Feb-15 13:25 UTC
[CentOS] unable to run php application on centos4.0(solved)
On 2/15/07, ankush grover <ankushcentos at gmail.com> wrote:> 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 Groverculprit, missing line in php.conf AddType application/x-httpd-php .php Added and restarted apache. Now it is working fine. Leonel-> Thanks for your help Thanks & Regards Ankush
Maybe Matching Threads
- How do I enable tun interface in Centos4.0
- Re: problem in running amavisd-new with postfix on Centos4.0(problem solved)
- Re: yum repository for kde 3.5 on Centos4.0(solved)
- unable to run php application on centos4.0
- problem in installing Internet Explorer6 with SP1 on Centos4.0 through Winetools