httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "motty.cruz" <motty.c...@gmail.com>
Subject RE: [users@httpd] Apache22 + PHP52
Date Mon, 15 Nov 2010 23:55:06 GMT
Thanks Eric, 
I tried that too! To no success. 

Thanks, 
-Motty

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

On Mon, Nov 15, 2010 at 6:43 PM, motty.cruz <motty.cruz@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
covener@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message