vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| "PiotrAF" <piotraf@nospam.poczta.onet.pl> skrev i melding news > 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 ? |
| |||
| On Mon, 23 Feb 2004 15:00:15 +0100, Ariane wrote: > > "PiotrAF" <piotraf@nospam.poczta.onet.pl> skrev i melding > news >> 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 |
| |||
| "Xavier" <NOSPAM@keepyourspam.com> skrev i melding news > On Mon, 23 Feb 2004 15:00:15 +0100, Ariane wrote: > > > > > "PiotrAF" <piotraf@nospam.poczta.onet.pl> skrev i melding > > news > >> 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 ? |