Re: PHP not working with Apache

From: Date: Mon, 16 Sep 2002 12:23:03 +0000
Subject: Re: PHP not working with Apache
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-8467@lists.php.net to get a copy of this message
Hi Jeff, Thanks for your reply. I did not specify a --with-config-file-path setting when configuring php, so according to the PHP docs it should default to /usr/local/lib, but putting it in there or in /usr/local also makes no difference... The LoadModule and AddModule lines are absent from httpd.conf because I'm compiling PHP into apache; mod_php4.c is listed in the compiled-in libraries when I run httpd -l Andrew ----- Original Message ----- From: <Jeffrey_N_Dyke@Keane.com> To: "Andrew Durdin" <andy@tavultesoft.com> Sent: Monday, September 16, 2002 9:47 PM Subject: Re: [PHP-INST] PHP not working with Apache > > pardon, if i am writing without full knowlege, as i did not see you > original post and it is clipped int his message. > > php.ini - it is looking for it either in /usr/local/ or in the path you > gave in your configure argument --with-config-file-path=/path/to/php.ini. > if you did not tell it /etc/ it is not looking for it there. > > did you add the LoadModule and the AddModule lines to httpd.conf? > > hth > jeff > > > > > > > "Andrew > Durdin" To: <php-install@lists.php.net> > <andy@tavultes cc: "Manoj Kumar Nair" <manoj@india.yokogawa.co.jp> > oft.com> Subject: Re: [PHP-INST] PHP not working with Apache > > 09/16/2002 > 07:52 AM > > > > > > > I copied php.ini-dist as you suggested, restarted apache, and still no luck > :( > Is it possible that php is looking in another place for the ini? > > Andrew > > ----- Original Message ----- > From: "Manoj Kumar Nair" <manoj@india.yokogawa.co.jp> > Subject: Re: [PHP-INST] PHP not working with Apache > > > > hi andrew > > > > do this- copy the php-dist file in the distribution directory to > > /etc/php.ini and try it will work!! > > bye > > manoj > > ----- Original Message ----- > > From: "Andrew Durdin" <andy@durdin.net> > > To: <php-install@lists.php.net> > > Sent: Monday, September 16, 2002 5:01 PM > > Subject: [PHP-INST] PHP not working with Apache > > > > > > > Hi, > > > > > > I've got Apache 1.3.26 up + running, with PHP 4.2.3 compiled into it, > but > > > when I try to open a .php page, the server isn't passing it to apache, > > > instead the browser tries to download it. > > > [clipped] > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > >

« previous php.install (#8467) next »