RE: Need help with httpd.conf not rendering cgi or php files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



How about rpm -qa |grep php
 
Mike
 

________________________________

From: centos-bounces@xxxxxxxxxx on behalf of Scott Ehrlich
Sent: Tue 11/27/2007 9:05 AM
To: CentOS mailing list
Subject: RE:  Need help with httpd.conf not rendering cgi or php
files



On Tue, 27 Nov 2007, Mike Kercher wrote:

> Silly question, but is php installed?  Is SELinux enabled?

Not silly - covering the basics/obvious.

SELinux is disabled, and I ensured ipchains 4 and 6 were disabled under
services.

To the best of my knowledge php is installed.  yum install *php* reveals
nothing needs to be added.

Scott

>
> Mike
>
>
> ________________________________
>
> From: centos-bounces@xxxxxxxxxx on behalf of Scott Ehrlich
> Sent: Tue 11/27/2007 8:34 AM
> To: centos@xxxxxxxxxx
> Subject:  Need help with httpd.conf not rendering cgi or php
> files
>
>
>
> I got this working perfectly at home - what should be exact same
setups-
>
> - Fresh install of CentOS 5 32-bit from DVD
> - yum update & upgrade
> - Reboot
> - yum install mysql-server
> - Download phpmyadmin and bugzilla from their respective home pages
> - Move both to /var/www/html, naming the extracted phpmyadmin
directory
> as
> phpmyadmin, the same with bugzilla
> - Copy my working httpd.conf file from home and replacing the work
one,
> then restarting httpd - sudo /etc/init.d/httpd restart
> - Verify mysql is running - sudo /etc/init.d/mysqld restart
>
> Call up firefox via an ssh x session and visit
> http://localhost/phpmyadmin/index.php.  Instead of showing a rendered
> page, it only shows the text of the index.php file.
>
> Same for http://localhost/bugzilla/index.cgi
>
> What did I miss?  The same config file from home, in a setup that
worked
> perfectly, is missing something here!
>
> /usr/sbin/httpd -v
> Server version: Apache/2.2.3
>
> Thanks for any help.
>
> Scott
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


<<winmail.dat>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux