Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Apache2 & php5 Problem

From: Randy Patterson <tech(at)patterson-pcc.com>
Date: Tue Aug 21 2007 - 16:42:13 EDT


On Tuesday 21 August 2007 14:34, Jeff D wrote:
> On Tue, 21 Aug 2007, Randy Patterson wrote:
> > On Tuesday 21 August 2007 10:43, Jose Luis Rivas Contreras wrote:
> >> Randy Patterson wrote:
> >>> I did run it as root and aptitude shows that apache2.2-common is
> >>> installed. But in all the tutorials that I've read none of them have
> >>> mentioned having to run this program to enable PHP?
> >>
> >> You have 2 options, make a symlink of php5.[conf|load] from
> >> `/etc/apache2/mods-available' to `/etc/apache2/mods-enabled' or run
> >> a2enmod that make this for you ;-).
> >
> > I was finally able to just run a2enmod without any params and then enter
> > php5 when asked for a module to enable. But was just told that it was
> > already enabled! So I am back to a php file that apache don't run the php
> > script.
> >
> > Randy
>
> so, what happens when you do, as root:
> /usr/sbin/apache2ctl -M
>
> do you see php5 in that list?

After running the above command, this is only item related to php that it lists;

php5_module (shared)

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Aug 21 16:42:47 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:37:56 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library