#1  
Old 27th October 2006, 01:09
drum drum is offline
Member
 
Join Date: Sep 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Php5

Okay, I've installed PHP5 on my ISPConfig box, and it is working fine as at the command line, however the webserver is still using 4.xx, I'm guessing I've missed a config or something in apache, any pointers would be most appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 27th October 2006, 13:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Default

You must install the mod_php5 from your linux distribution and not only the commandline php5.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th October 2006, 18:45
drum drum is offline
Member
 
Join Date: Sep 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you mean libapache-mod-php5?? (I'm using debian BTW)

If so I already have it installed.
Reply With Quote
  #4  
Old 28th October 2006, 15:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Default

If you have libapache-mod-php5 installed, your webserver shall run under php5. Please check if the php5 module is listed in the mods-enabled directory in the apache configuration directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th October 2006, 17:20
drum drum is offline
Member
 
Join Date: Sep 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I must have done something wrong, as it not in either mods-enabled or mods-available
Reply With Quote
  #6  
Old 28th October 2006, 17:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
Default

Please run
Code:
apt-get install libapache-mod-php5
again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 28th October 2006, 18:01
drum drum is offline
Member
 
Join Date: Sep 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I get
Code:
Reading Package Lists... Done
Building Dependency Tree... Done
libapache-mod-php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Reply With Quote
  #8  
Old 29th October 2006, 13:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
 
Default

What's the output of
Code:
ls -la /etc/apache2/mods-available
and
Code:
ls -la /etc/apache2/mods-enabled
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ispconfig breaks php5 in apache ? Randy Installation/Configuration 2 28th October 2006 12:20
SuSe10.1 & PHP5 modules latcarf Installation/Configuration 3 11th September 2006 14:31
PHP5 in apache PHP4 at cli. how do get get PHP5 at both ThE-LyNX Installation/Configuration 1 28th August 2006 23:49
PHP4 and PHP5 for SUSE 9.3 Prof M.Behrens Installation/Configuration 3 2nd April 2006 22:20
Sarge php5 freeType gd pontifex Installation/Configuration 6 7th December 2005 09:37


All times are GMT +2. The time now is 10:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.