Re: [users@httpd] PHP Not Working

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 10:23 PM, Matus UHLAR - fantomas wrote: On 10.06.11 00:03, Jeroen Geilman wrote: You need to tell apache what to do with .php files. This can be implemented - as documented - by adding SetHandler application/x-httpd-php in your Documentroot Directory block. On 06/15/201

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Matus UHLAR - fantomas
>> On 10.06.11 00:03, Jeroen Geilman wrote: >>> You need to tell apache what to do with .php files. >>> >>> This can be implemented - as documented - by adding >>> >>> >>> SetHandler application/x-httpd-php >>> >>> >>> in your Documentroot Directory block. > On 06/15/2011 10:13 PM, Matus UH

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Jeroen Geilman
On 06/15/2011 10:13 PM, Matus UHLAR - fantomas wrote: On 10.06.11 00:03, Jeroen Geilman wrote: You need to tell apache what to do with .php files. This can be implemented - as documented - by adding SetHandler application/x-httpd-php in your Documentroot Directory block. Since when th

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Matus UHLAR - fantomas
On 10.06.11 00:03, Jeroen Geilman wrote: > You need to tell apache what to do with .php files. > > This can be implemented - as documented - by adding > > > SetHandler application/x-httpd-php > > > in your Documentroot Directory block. Since when they recomment something different than AddHa

Re: Re: Re: [users@httpd] PHP Not Working

2011-06-13 Thread zavelopez
But when I do that, it says it's already enabled. On , Yehuda Katz wrote: On Mon, Jun 13, 2011 at 11:49 PM, zavelo...@gmail.com> wrote: Hello and thank you again for your replies thus far. I am still trying to get apache to parse php. I ran apache2ctl -L and I don't see php as an availab

Re: Re: [users@httpd] PHP Not Working

2011-06-13 Thread Yehuda Katz
On Mon, Jun 13, 2011 at 11:49 PM, wrote: > Hello and thank you again for your replies thus far. I am still trying to > get apache to parse php. I ran apache2ctl -L and I don't see php as an > available module, yet when I do ls /etc/apache2/mods-available, I see the > php5.conf and php5.load files

Re: Re: [users@httpd] PHP Not Working

2011-06-13 Thread zavelopez
Hello and thank you again for your replies thus far. I am still trying to get apache to parse php. I ran apache2ctl -L and I don't see php as an available module, yet when I do ls /etc/apache2/mods-available, I see the php5.conf and php5.load files. Does this information shed any light on my

Re: [users@httpd] PHP Not Working

2011-06-10 Thread Jeroen Geilman
On 06/10/2011 08:31 PM, zavelo...@gmail.com wrote: J, I couldn't figure out what exactly you meant when you typed "in your Documentroot Directory". Did you mean in the block of text that contains the DocumentRoot Directive, or the Directory Directive containing the document root? I tried it bot

Re: Re: [users@httpd] PHP Not Working

2011-06-10 Thread zavelopez
J, regarding your statement, "You are allowing apache full access to your OS root directory. Don't do that." I have a follow up question (or several hundred). I looked into the output of phpinfo() and saw that the pwd in the 'Environment' category = /. Which specifically confirms your point,

Re: Re: [users@httpd] PHP Not Working

2011-06-10 Thread zavelopez
J, I couldn't figure out what exactly you meant when you typed "in your Documentroot Directory". Did you mean in the block of text that contains the DocumentRoot Directive, or the Directory Directive containing the document root? I tried it both ways, like so: ServerName http://new.dev Serv

Re: RE: [users@httpd] PHP Not Working

2011-06-10 Thread zavelopez
Steve, I get the Firefox alert asking me what program I want it to use to open the file. On , Steve Brereton wrote: What happens when you load a php page? A blank? the php script shows? a 500 error? > Date: Thu, 9 Jun 2011 14:48:20 -0700 > From: zavelo...@gmail.com > To: users@httpd.apach

RE: [users@httpd] PHP Not Working

2011-06-10 Thread Steve Brereton
What happens when you load a php page? A blank? the php script shows? a 500 error? > Date: Thu, 9 Jun 2011 14:48:20 -0700 > From: zavelo...@gmail.com > To: users@httpd.apache.org > Subject: [users@httpd] PHP Not Working > > Hi, I'm using Apache 2.2 on Ubuntu 10.04. I've checked that php mod is >

Re: [users@httpd] PHP Not Working

2011-06-09 Thread Jeroen Geilman
On 06/09/2011 11:48 PM, Xavier Lopez wrote: Hi, I'm using Apache 2.2 on Ubuntu 10.04. I've checked that php mod is enabled. It is. I'm using virtual hosts. It serves all html files, but not php. Following is my VHost configuration: ServerName http://new.dev ServerAdmin webmast