View Single Post

   
  #5 (permalink)  
Old 02-21-2008, 06:42 AM
Ariane
 
Posts: n/a
Default Re: [Newbie] Apache and PHP4


"Xavier" <NOSPAM@keepyourspam.com> skrev i melding
newsan.2004.02.23.16.16.58.457065@keepyourspam.c om...
> On Mon, 23 Feb 2004 15:00:15 +0100, Ariane wrote:
>
> >
> > "PiotrAF" <piotraf@nospam.poczta.onet.pl> skrev i melding
> > newsan.2004.02.23.13.51.10.975699@nospam.poczta. onet.pl...
> >> On Mon, 23 Feb 2004 14:45:33 +0100, Ariane wrote:
> >>
> >> > I've installed Gentoo with Live CD / GRP
> >> > Now I want to run Apache: So I did the things I read in the desktop

> > install
> >> > guide :
> >> >
> >> > emerge apache mod_php
> >> > edit /etc/conf.d/apache2 with "APACHE2_OPTS="-D SSL -D PHP4"
> >> > /etc/init.d/apache2 restart
> >> > apache does work, I can connect to http://localhost and see the

Apache
> >> > welcome page
> >> > alas, none of the modules work : I cannot connect to

"https://localhost"
> > and
> >> > the code <?php phpinfo(); ?> does not show anything.
> >> >
> >> > I know this is a very basic problem, but could someone help me ?
> >> > Thanx
> >>
> >> that's strange. maybe try
> >> stop and start instead of restart? man apache2 and check for verbose

and
> >> debug mode - maybe that will show something

> > I'll do that
> > Is there another config file I should modify ?

>
> Add
> AddHandler application/x-httpd-php .php
> to
> /etc/apache2/conf/apache2.conf
>


Thanx !! It worked just fine !
Do you know what I must add to enable https protocole ?


Reply With Quote