Thanks Eric, 
I tried that too! To no success. 

Thanks, 
-Motty

-----Original Message-----
From: Eric Covener [mailto:cove...@gmail.com] 
Sent: Monday, November 15, 2010 3:51 PM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Apache22 + PHP52

On Mon, Nov 15, 2010 at 6:43 PM, motty.cruz <motty.c...@gmail.com> wrote:
> Hello,
> I installed the following
> Apache 2.2
> PHP 5.2
> MySQL 5.1
>
> But when I access domain.com/test.php I get the following <?php
>        Phpinfo();
> ?>
>
> I don't get the usual output by PHP, instead I get the code; acting as 
> if I don't have PHP enable in Apache22.
>
> In my httpd.conf
> LoadModule php5_module        libexec/apache22/libphp5.so # #
>
> <IfModule dir_module>
>    DirectoryIndex index.php index.html </IfModule> # # Am I missing 
> anything else?  Your helped is appreciated

SetHandler is usually used to ask mod_php to handle certain content:
http://www.php.net/manual/en/install.unix.apache2.php

--
Eric Covener
cove...@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to