Re: Re: [users@httpd] PHP Parsing Problem

2011-06-16 Thread zavelopez
Igor, this is what apache2ctl -M outputs: php5_module (shared) On , Igor Galić wrote: - Original Message - > Igor, > 1. Firefox asks me what I want it to do with the file whenever I try > to open a php file. > 2. The contents of the php5.conf file are as follows: >

Re: Re: [users@httpd] PHP Parsing Problem

2011-06-16 Thread zavelopez
Igor, 1. Firefox asks me what I want it to do with the file whenever I try to open a php file. 2. The contents of the php5.conf file are as follows: SetHandler application/x-httpd-php SetHandler application/x-httpd-php-source # To re-enable php in user directories comment the following lin

Re: Re: [users@httpd] PHP Parsing Problem

2011-06-16 Thread zavelopez
Any php file that I try to open, including the one containing phpinfo(), which is called testphp.php in my case, causes Firefox to ask me what I want it to do with the file. On , zeek wrote: Try the info.php test: phpinfo(); ?> On Wed, Jun 15, 2011 at 10:57:10PM -0700,

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 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: 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