[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache2 & php5 Problem



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)



Reply to: