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.

I dont think you can get Apache running with two different versions of mod_php. There can probably be only a single module which handles the mimetype application/x-httpd-php.


Unless you are hung up about mod_php, I can instead suggest you to use php as a CGI. Install both version of php, but disable them in httpd.conf.
a. Either run the scripts from cgi-bin or using cgi-script handler (requires every php script to start with #!/usr/bin/php)
b. Or better, use binfmt to run PHP directly without the need for modifying every php script. You can set .php5 scripts to be run with php5


Either way, php will run as a CGI. Remember this.

- Sandip

--
Sandip Bhattacharya    *    Puroga Technologies   *     [EMAIL PROTECTED]
Work: http://www.puroga.com        *         Home: http://www.sandipb.net

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3



-------------------------------------------------------
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

Reply via email to