I didn't think I needed to make the files executable. Anyway, the simple index.php has a title, an H1 tag and a couple php statements, one of which is phpinfo(); My page, that I get has just the title and the content inside the h1 tag. When I view the source, there is nothing that was inside a php block. Meaning, it didn't run the php code and output html. I was looking at the apache error log and not finding anything useful. Bruce
_______________________________________________________ Bruce Whealton - Web Design/Development/Programming Future Wave Web Development: http://futurewaveonline.com Developing for the Desktop as well as for Mobile Devices - Smartphones/Tablets Call 919-636-5809 _______________________________________________________
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Tilman Schmidt Sent: Sunday, March 10, 2013 7:48 PM To: centos@centos.org Subject: Re: [CentOS] Apache setup problems
Am 10.03.2013 09:28, schrieb Bruce Whealton:
So, it works, except for the php part. I made the files executable.
You shouldn't. PHP pages work just fine without execute permission.
What I mean by the php part doesn't work is that it is just being thrown out. There is no attempt to process it as php.
So you aren't getting 404 anymore? What do you mean by "thrown out"? Do you see a blank page? How do you know there's no attempt? (As opposed to an attempt that fails for some reason yet to be determined.) What does your Apache error log say?
-- Tilman Schmidt Phoenix Software GmbH Bonn, Germany