Prev: mod_rewrite...https index page -> http index page
Next: file_get_contents ($file) works -- file_get_contents ($url) returns false
From: Tarek Kaddoura on 8 Dec 2009 06:29 I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2) However, when I add this entry to my httpd.conf: <code> LoadModule php4_module "C:/Program Files/php/sapi/php4apache.dll" </code> Apache will crash when trying to start the service. If I comment the line out, Apache starts just fine. Thanks for your help. Regards, _________________________________________________________________ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009
From: Ashley Sheridan on 8 Dec 2009 06:45 On Tue, 2009-12-08 at 11:29 +0000, Tarek Kaddoura wrote: > > > I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2) > > However, when I add this entry to my httpd.conf: > <code> > LoadModule php4_module "C:/Program Files/php/sapi/php4apache.dll" > </code> > Apache will crash when trying to start the service. > If I comment the line out, Apache starts just fine. > > Thanks for your help. > Regards, > > > _________________________________________________________________ > Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. > http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009 Well, you say you've got PHP 5 installed, yet you're trying to load a PHP 4 module in. Which do you want? I don't think Apache can run 4 and 5 at the same time without complications. Thanks, Ash http://www.ashleysheridan.co.uk
From: Ashley Sheridan on 8 Dec 2009 06:53 On Tue, 2009-12-08 at 11:53 +0000, Tarek Kaddoura wrote: > > sorry sorry thats a typo error > the code im using is: > PHPIniDir "C:/PHP/" > LoadModule php5_module "C:/PHP/php5apache2.dll" > > > ______________________________________________________________________ > Subject: Re: [PHP] request for support > From: ash(a)ashleysheridan.co.uk > To: stevewieser99(a)hotmail.com > CC: php-general(a)lists.php.net > Date: Tue, 8 Dec 2009 11:45:38 +0000 > > On Tue, 2009-12-08 at 11:29 +0000, Tarek Kaddoura wrote: > > > > I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2) > > However, when I add this entry to my httpd.conf: > <code> > LoadModule php4_module "C:/Program Files/php/sapi/php4apache.dll" > </code> > Apache will crash when trying to start the service. > If I comment the line out, Apache starts just fine. > > Thanks for your help. > Regards, > > > _________________________________________________________________ > Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. > http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009 > > > Well, you say you've got PHP 5 installed, yet you're trying to load a > PHP 4 module in. Which do you want? I don't think Apache can run 4 and > 5 at the same time without complications. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > > > > ______________________________________________________________________ > Windows Live: Keep your friends up to date with what you do online. Don't forget to hit reply to all on the list, and try not to top post! :p What does it say on the command line when you try to start the service up? In a root privaleged console type: /etc/init.d/httpd start Thanks, Ash http://www.ashleysheridan.co.uk
From: Tarek Kaddoura on 8 Dec 2009 07:08 Subject: RE: [PHP] request for support From: ash(a)ashleysheridan.co.uk To: stevewieser99(a)hotmail.com CC: php-general(a)lists.php.net Date: Tue, 8 Dec 2009 11:53:53 +0000 On Tue, 2009-12-08 at 11:53 +0000, Tarek Kaddoura wrote: sorry sorry thats a typo error the code im using is: PHPIniDir "C:/PHP/" LoadModule php5_module "C:/PHP/php5apache2.dll" Subject: Re: [PHP] request for support From: ash(a)ashleysheridan.co.uk To: stevewieser99(a)hotmail.com CC: php-general(a)lists.php.net Date: Tue, 8 Dec 2009 11:45:38 +0000 On Tue, 2009-12-08 at 11:29 +0000, Tarek Kaddoura wrote: I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2) However, when I add this entry to my httpd.conf: <code> LoadModule php4_module "C:/Program Files/php/sapi/php4apache.dll" </code> Apache will crash when trying to start the service. If I comment the line out, Apache starts just fine. Thanks for your help. Regards, _________________________________________________________________ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009 Well, you say you've got PHP 5 installed, yet you're trying to load a PHP 4 module in. Which do you want? I don't think Apache can run 4 and 5 at the same time without complications. Thanks, Ash http://www.ashleysheridan.co.uk Windows Live: Keep your friends up to date with what you do online. Don't forget to hit reply to all on the list, and try not to top post! :p What does it say on the command line when you try to start the service up? In a root privaleged console type: /etc/init.d/httpd start Thanks, Ash http://www.ashleysheridan.co.uk No Ashley im using Windows, whenever i start the apache service, it either crashes or promptes me that the operation has failed if i comment these 2 lines out, the apache service starts normally _________________________________________________________________ Keep your friends updatedeven when youre not signed in. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
From: Ashley Sheridan on 8 Dec 2009 07:12
On Tue, 2009-12-08 at 12:08 +0000, Tarek Kaddoura wrote: > > > > ______________________________________________________________________ > Subject: RE: [PHP] request for support > From: ash(a)ashleysheridan.co.uk > To: stevewieser99(a)hotmail.com > CC: php-general(a)lists.php.net > Date: Tue, 8 Dec 2009 11:53:53 +0000 > > On Tue, 2009-12-08 at 11:53 +0000, Tarek Kaddoura wrote: > > > sorry sorry thats a typo error > the code im using is: > PHPIniDir "C:/PHP/" > LoadModule php5_module "C:/PHP/php5apache2.dll" > > > ______________________________________________________________ > > Subject: Re: [PHP] request for support > From: ash(a)ashleysheridan.co.uk > To: stevewieser99(a)hotmail.com > CC: php-general(a)lists.php.net > Date: Tue, 8 Dec 2009 11:45:38 +0000 > > On Tue, 2009-12-08 at 11:29 +0000, Tarek Kaddoura wrote: > > > I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2) > > However, when I add this entry to my httpd.conf: > <code> > LoadModule php4_module "C:/Program Files/php/sapi/php4apache.dll" > </code> > Apache will crash when trying to start the service. > If I comment the line out, Apache starts just fine. > > Thanks for your help. > Regards, > > > _________________________________________________________________ > Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. > http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009 > > > Well, you say you've got PHP 5 installed, yet you're trying to > load a PHP 4 module in. Which do you want? I don't think > Apache can run 4 and 5 at the same time without complications. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > > > > > ______________________________________________________________ > > Windows Live: Keep your friends up to date with what you do > online. > > > Don't forget to hit reply to all on the list, and try not to top > post! :p > > What does it say on the command line when you try to start the service > up? > > In a root privaleged console type: > > /etc/init.d/httpd start > > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > > > No Ashley im using Windows, > whenever i start the apache service, it either crashes or promptes me > that the operation has failed > if i comment these 2 lines out, the apache service starts normally > > > > > > ______________________________________________________________________ > Keep your friends updatedâ even when youâre not signed in.. Why don't you try a Wamp install, rather than installing the individual components? Thanks, Ash http://www.ashleysheridan.co.uk |