#1  
Old 1st April 2006, 22:53
M.Behrens M.Behrens is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default PHP4 and PHP5 for SUSE 9.3 Prof

Hello!

Now I have a new Problem.

I want to use PHP4 and PHP5 on my Server, because I want to install OSCommerce and that need PHP4.

My Server is installed with SUSE9.3 Prof and ISPConfig (I use the HowTo).

Have anyone a HowTo to install PHP4 too when the Apache is now working with only PHP5?

I hope anyone can help me!

I found the following HowTo in this Forum http://www.howtoforge.com/forums/showthread.php?t=2506
I hope somebody can tell me that specify.

Mfg
Reply With Quote
Sponsored Links
  #2  
Old 2nd April 2006, 16:58
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,408
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

You can follow the thread that you posted above.

Generally the easiest way is to install php4 as cgi and then add the directives nescessary for using the php4 cgi version in the apache directives field of ISPConfig.

You may also have a look at this howto:

http://www.howtoforge.com/apache2_with_php5_and_php4
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd April 2006, 18:46
M.Behrens M.Behrens is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks Till!

Can I follow the HowTo when I have SUSE with apt-get?

But if I understand that correctly, all Skripte those must be supposed to then run under PHP4 the ending .php4 possess.
That lasts with OSCommerce a large expenditure to change. Or is there a simple way?

If I would change the complete php from 5 to 4, then still does everything run with ISPConfig, or does give it then to difficulties? I had that here correctly understood in this HowTo http://www.howtoforge.com/forums/showthread.php?t=2506 (please read the last post of this thread).

Thank You!
Reply With Quote
  #4  
Old 2nd April 2006, 22:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
Originally Posted by M.Behrens
Thanks Till!

Can I follow the HowTo when I have SUSE with apt-get?
Forget about the apt-get parts in that tutorial and concentrate on the Apache configuration in that tutorial.

Quote:
Originally Posted by M.Behrens
But if I understand that correctly, all Skripte those must be supposed to then run under PHP4 the ending .php4 possess.
That lasts with OSCommerce a large expenditure to change. Or is there a simple way?
You could run PHP5 as CGI instead and use .php5 for PHP5 scripts (e.g. with

Code:
AddHandler php-script .php5
Action php-script /cgi-bin/php5
); scripts with the extension .php would then be run by PHP4.

Quote:
Originally Posted by M.Behrens
If I would change the complete php from 5 to 4, then still does everything run with ISPConfig, or does give it then to difficulties?
No, it doesn't cause problems with ISPConfig.
__________________
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
php5 and php4 at the same time Hans Installation/Configuration 15 22nd October 2008 13:02
How to upgrade PHP4 to PHP5 Jeroen Server Operation 14 10th November 2006 16:54
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29
Apache2 with PHP4 and PHP5 on Debian Sarge chazaq HOWTO-Related Questions 1 28th March 2006 19:42
Suse 9.3 setup probs with php5 hyperclock Tips/Tricks/Mods 0 21st September 2005 02:34


All times are GMT +2. The time now is 13:49.


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