To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > PHP Help > Upgrading PHP

Upgrading PHP Issues concerning PHP version upgrades and future releases

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-05-2004, 11:56 AM   #1
ZibingsCoder
Kerflaffles, eh?
 
Join Date: May 2003
Location: Pennsylvania, USA
Posts: 409
Installing PHP5 with Apache 2

Now, this is just something that a friend of mine tried, but does anyone know of a way to run PHP 5 as a module with Apache 2? She couldn't get it to work, and I just told her to switch to an older version of Apache for now. Any ideas?
__________________
Use the PHP tags when posting PHP.
Mark all issues as resolved once your question is answered.

http://amale.zibings.com/
N2 Framework Yverdon (Alpha)
ZibingsCoder is offline   Reply With Quote
Old 09-05-2004, 01:53 PM   #2
d~l
Member
 
Join Date: Aug 2004
Posts: 89
I've got PHP 5.0.1 and Apache2 working together ..

this is the LoadModule configuration line I use ..

#--------------------------------------------------------------
LoadModule php5_module c:/php/php5apache2.dll
AddType application/x-httpd-php .php .php3 .phtml
#--------------------------------------------------------------

note: for Apache2 use php5apache2.dll .. not .. php5apache.dll
both are found in c:\php\

..

p.s.

I found this tutorial to be helpful ..

http://aesthetic-theory.com/learn.php?server2


Last edited by d~l; 09-05-2004 at 02:00 PM.
d~l is offline   Reply With Quote
Old 09-05-2004, 10:31 PM   #3
planetsim
code | beer > sleep
 
Join Date: Sep 2002
Location: aus
Posts: 4,826
What OS are we talking about the above is the Windows way. Linux is slightly different but not much

you just need to specify the in the php install

--with-apxs2=/path/to/apxs

then in the httpd.conf

AddType application/x-httpd-php .php
LoadModule php5_module modules/libphp5.so

And i think thats basically all thats required.
__________________
Dont be lazy Search
And use the Manual
Webmobo - Open Source News Script | Portfolio / Blog | Against TCPA
planetsim is offline   Reply With Quote
Old 09-06-2004, 09:37 AM   #4
ZibingsCoder
Kerflaffles, eh?
 
Join Date: May 2003
Location: Pennsylvania, USA
Posts: 409
It's on *nix, I've forwarded her this post. Maybe...just maybe, she'll actually sign up on these boards.
__________________
Use the PHP tags when posting PHP.
Mark all issues as resolved once your question is answered.

http://amale.zibings.com/
N2 Framework Yverdon (Alpha)
ZibingsCoder is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:32 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.