Re: [PHP] Question before upgrading to 5




No, you can't load both PHP4 and PHP5 into the same Apache as Modules.

You can run one as CGI.

You can use proxy_server in one to shuttle requests to a different
Apache pool.

On Thu, March 22, 2007 12:07 am, Jake McHenry wrote:
Hi everyone,

I just got done going through all my configure options for php5, and
finally
configure finished successfully... I didn't install it yet, have a
question.
Can I have both 4 and 5 installed temporarily until I'm sure all my
scripts
work ok? They should, I've been careful, but I want to be sure since
this is
the only server I currently have. I was going to install a virtual
copy of
fedora and do testing, but I don't have time, hopefully someone can
answer.
I think I just have to change the prefix to something other than
default and
load the new module in httpd. If I had more time I would do this the
right
way, but we all know how that goes...

If this will work, I can then just uninstall 4.. Hopefully it won't
break
anything.

I'll post my configure options if anyone would like to double
check....

Thanks,
Jake

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date:
3/21/2007
7:52 AM


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
.



Relevant Pages

  • Re: [PHP] Question before upgrading to 5
    ... anyway I see you did do a dual apache setup, cool, and got it working properly. ... but it sure is a cool trick if you really need to run php4 sites and php5 sites on one production ... install of apache would allow you to do. ... php in so far as you can also specify a custom prefix to have ...
    (php.general)
  • Re: Installing Php5 on Apache2.2 (Freebsd 6.1)
    ... php index files ... automatically returned by Apache to browser when it goes to that url. ... When I do make install, it says that php5 is already installed. ...
    (freebsd-questions)
  • Any Php5 help for a newb
    ... I'm trying to get MySQL, Apache, and Php5 to play nice together in Windows ... I don't want to install those automatic 'all-in-one' packages because I want ... do I empty the contents of my public_html into htdocs? ...
    (comp.lang.php)
  • Re: Apache, php?
    ... Or do I have to reinstall apache after php5? ... I install them in the following order. ...
    (freebsd-questions)
  • php5 source and apache2 package install bolloxed
    ... Hi, ive been attempting to do a source install of php5 into apache2 with no success, the module seems to load etc ok, but it wont parse any code, the page is blank and the code is kept in the source, its really bizarre the addtype rules are all set etc. if i go and install the php5 apache2 package it loads fine, but that one is crap, it doesnt even have the mysql extension installed. ... Im trying to compile static some the mostly used extensions and then load dynamically ones i may/may not need so often, like the ones available in pecl. ...
    (Ubuntu)