Hello Quyen

As it is described in the HOWTO mentioned by Gjergj, if you want to run
php4 and php5 simultanously on the same server you must run it (at least
one) as cgi or fast-cgi module. Then you can configure for each
directory how you want to hande .php files.

For care2x you could use mod_php4 and for ipath you could add php-5 cgi
handler.

The way described in the mentioned HOWTO is for linux, but you can also
install cgi version of php5 on windows (use installer from php.net) and
then configure your apache exactly like described in Howto:

1) switch xampp to php4 (mod_php)
2) install php as cgi from php.bet
3) configure apache (xampp) as described in howto - but using php4 as
mod_php and php5 as cgi.

it's not trivial but it definitively works.

best greetings
Kurt





Gjergj Sheldija wrote:
> hi all
>
> to Quyen,
> if you are under windows the only solution is to have 2 copys of xampp 
> running with different ports...one with php4 the other with php5
> at least i do this way...
> under linux you ca do like this : 
> http://www.howtoforge.com/apache2_with_php5_and_php4
>
> to Jeff
>
> it's hard to do it because care2x relies heavily on sessions the old way 
> ... everything is done like that..so..
> the best solution is to rewrite it...that's why we are working on care3x...
>
> regards...
> gjergji
>
> Kim Quyen Ly wrote:
>   
>> HI Daniel!
>> I have used XAMPP, but I want to run php4 and php5 simultaneously on 
>> server. I had installed php4 and php5 same server by use different 
>> port. But care2x run error, it run only ipath. I want to run care2x 
>> and run ipath on one server. How can I do that?
>> Best,
>> Quyen
>>
>> On 10/11/07, *Dr. med. Daniel Hinostroza* 
>> <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>     Hi Quyen,
>>     Try using XAMPP.  It has a control panel that allows you to switch
>>     from
>>     php4 to 5 and back.
>>     Best,
>>     Daniel
>>
>>     Kim Quyen Ly escribió:
>>     > HI!
>>     > Yes, I know care2x runs only on php4, but I want to integrate
>>     care2x with
>>     > ipath on same server. but Ipath runs on php5. My question is:
>>     how can I run
>>     > php4 and php5 on same server? And then, I integrate ipath on care2x.
>>     > Thanks,
>>     > Quyen
>>     >
>>     > On 10/10/07, Gjergj Sheldija <[EMAIL PROTECTED]
>>     <mailto:[EMAIL PROTECTED]>> wrote:
>>     >
>>     >> hi all,
>>     >>
>>     >> care2x runs only on php4...
>>     >>
>>     >> regards
>>     >> gjergji
>>     >>
>>     >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote:
>>     >>
>>     >>> Dear all,
>>     >>> I installed Care2x 2G beta 2.2.5, apache 2.0.59,mySQL 5.0.
>>     There's an
>>     >>> error:Can't create Administrator user. Field 'status' doesn't
>>     have
>>     >>>
>>     >> default
>>     >>
>>     >>> value. I don't know what it means and how to fix this problem.
>>     >>> Can Care2x run with php5? My project is intergration iPath (
>>     run with
>>     >>> php5)and Care2x. But when i run iPath and care2x on the same
>>     server,
>>     >>> Care2x issue many problems.So could you tell me some about the
>>     >>> compatibility of Care's php's versions please.
>>     >>> Thank you so much.
>>     >>> Hong Ngoc
>>     >>>
>>     >>>
>>     >>>
>>     >>>
>>     >>
>>     -------------------------------------------------------------------------
>>     >>
>>     >>> This SF.net email is sponsored by: Splunk Inc.
>>     >>> Still grepping through log files to find problems?  Stop.
>>     >>> Now Search log events and configuration files using AJAX and a
>>     browser.
>>     >>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>     >>> _______________________________________________
>>     >>> Care2002-developers mailing list
>>     >>> Care2002-developers@lists.sourceforge.net
>>     <mailto:Care2002-developers@lists.sourceforge.net>
>>     >>>
>>     https://lists.sourceforge.net/lists/listinfo/care2002-developers
>>     <https://lists.sourceforge.net/lists/listinfo/care2002-developers>
>>     >>>
>>     >>>
>>     >>>
>>     >>
>>     -------------------------------------------------------------------------
>>     >> This SF.net email is sponsored by: Splunk Inc.
>>     >> Still grepping through log files to find problems?  Stop.
>>     >> Now Search log events and configuration files using AJAX and a
>>     browser.
>>     >> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>     >> _______________________________________________
>>     >> Care2002-developers mailing list
>>     >> Care2002-developers@lists.sourceforge.net
>>     <mailto:Care2002-developers@lists.sourceforge.net>
>>     >> https://lists.sourceforge.net/lists/listinfo/care2002-developers
>>     >>
>>     >>
>>     >
>>     >
>>     >
>>     >
>>     >
>>     ------------------------------------------------------------------------
>>     >
>>     >
>>     -------------------------------------------------------------------------
>>
>>     > This SF.net email is sponsored by: Splunk Inc.
>>     > Still grepping through log files to find problems?  Stop.
>>     > Now Search log events and configuration files using AJAX and a
>>     browser.
>>     > Download your FREE copy of Splunk now >> http://get.splunk.com/
>>     >
>>     ------------------------------------------------------------------------
>>     >
>>     > _______________________________________________
>>     > Care2002-developers mailing list
>>     > Care2002-developers@lists.sourceforge.net
>>     <mailto:Care2002-developers@lists.sourceforge.net>
>>     > https://lists.sourceforge.net/lists/listinfo/care2002-developers
>>     <https://lists.sourceforge.net/lists/listinfo/care2002-developers>
>>     >
>>
>>     -------------------------------------------------------------------------
>>     This SF.net email is sponsored by: Splunk Inc.
>>     Still grepping through log files to find problems?  Stop.
>>     Now Search log events and configuration files using AJAX and a
>>     browser.
>>     Download your FREE copy of Splunk now >> http://get.splunk.com/
>>     _______________________________________________
>>     Care2002-developers mailing list
>>     Care2002-developers@lists.sourceforge.net
>>     <mailto:Care2002-developers@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/care2002-developers
>>
>>
>>
>>
>> -- 
>> Ly Kim Quyen
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Care2002-developers mailing list
>> Care2002-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/care2002-developers
>>   
>>     
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Care2002-developers mailing list
> Care2002-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/care2002-developers
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to