-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Sandip" == Sandip Bhattacharya <[EMAIL PROTECTED]> writes:
Sandip> Siju George wrote:
>> My doubt is not just about getting php5 and installing it but
>> the necessarry configuration I'll have to make it run
>> simultaneously with php4 in apache. If you know how to do it
>> please help me.
Sandip> I dont think you can get Apache running with two different
Sandip> versions of mod_php. There can probably be only a single
Sandip> module which handles the mimetype application/x-httpd-php.
Sandip> Unless you are hung up about mod_php, I can instead
Sandip> suggest you to use php as a CGI. Install both version of
Sandip> php, but disable them in httpd.conf. a. Either run the
Sandip> scripts from cgi-bin or using cgi-script handler (requires
Sandip> every php script to start with #!/usr/bin/php) b. Or
Sandip> better, use binfmt to run PHP directly without the need
Sandip> for modifying every php script. You can set .php5 scripts
Sandip> to be run with php5
Sandip> Either way, php will run as a CGI. Remember this.
Why not just run 2 instances of Apache on different ports, one with
PHP4 and one with PHP5?
Or better yet, use mod_perl instead.
<gd&r>
- -- Raju
- --
Raj Mathur [EMAIL PROTECTED] http://kandalaya.org/
GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F
It is the mind that moves
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFBczJlyWjQ78xo0X8RAtw3AJ0f6IQED/g7iVLO14JqcZm+sj6q3gCfSGIs
kUo7GJ8ZQ5Avkam9uzeWKZU=
=RzFO
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help