venustar 0 Report post Posted September 23, 2004 Hello,I'm hosting my own site web on my computer.I'm using IIS6 with ASP.NET and PHP4 running on it and I would like to install also PHP5 to try it. Do you think it's possible ? Share this post Link to post Share on other sites
daniel151405241469 0 Report post Posted September 23, 2004 Why do you want to install PHP5 if you've already got PHP4??? Anyway, if you download the manual (in CHM format) it might have some information on running PHP4 and 5 together (i'm sure its got information on running PHP3 and 4 together, that info might help.Basically, you set .php and .php4 files to use the php4 cgi file and .php5 files to use the php5 cgi file. eg..php, .php4: d:\php4\php.exe.php5: d:\php5\php.exeor something like that. I suppose they could share the extensions folder, but i don't know much about php5, maybe the api is changed Share this post Link to post Share on other sites
k221405241470 0 Report post Posted September 23, 2004 Php4 abd Php5 together is impossible because they are a different structure of the CGI engine and so the Httpd serves doesn't know wich use, I suggest to you to use Php5 that have a better OO engine(ZEND2) Share this post Link to post Share on other sites
venustar 0 Report post Posted September 24, 2004 Php4 can be use with Php5 ooengine. We can specify in the php.ini : zend.ze1_compatibily_mode for the compatibility. (from what i've read) But i don't know if i can install php5 engine with IIS6 and use both php version with one web server... it will be cool ! So the final question arised : "Is PHP5 Engine compatible with IIS6 web server ?" Share this post Link to post Share on other sites
marijnnn 0 Report post Posted September 24, 2004 the answer is: yes. if you use the installer of php5, it'll even autoconfigure your IISyou can use both if you use different extentions, just like daniel said. Share this post Link to post Share on other sites
venustar 0 Report post Posted September 24, 2004 Is The wamp that i have to use for php5 install with IIS ? or another installer ? Share this post Link to post Share on other sites
marijnnn 0 Report post Posted September 24, 2004 i meant the installer on http://php.net/ :)you have a windows installer there. should work fine.but i think that, if you let it configure you iis automaticly, you won't be able to use php4 anymore. it will automaticly configure all .php files to work with php5php4 & php3 files would probably still use php4, though you can choose to have them handled by the php5 engine during the installation.i'm not sure why you would want to keep php4. almost everything still works with php5 engine. give it a try! Share this post Link to post Share on other sites
venustar 0 Report post Posted September 24, 2004 thanks for the information i'll try it and give a feedback later Share this post Link to post Share on other sites
k221405241470 0 Report post Posted September 24, 2004 If you use only script it's possible maybe(but i don't Use ISs6) and on apache i Think config is a bit different, but if you use the phpzip pack and not the installer isn't better?so you have to manual config and you have more controll of the Param...but why do you use apache with Mod_mono mudule?so you can use asp.net and mono on apache server, and i think thata apache is better than ISS6, almost is multi-platform Share this post Link to post Share on other sites
venustar 0 Report post Posted September 25, 2004 Apache is a good web server but i've started my website with IIS and added php4 module for curiosity and it's working both of them cool. Now there is php5 release, i would like to know if i could run php5,php4 and ASP.Net on my IIS. 3 in 1 Share this post Link to post Share on other sites
marijnnn 0 Report post Posted September 28, 2004 did you try the install? can you find it? Share this post Link to post Share on other sites
venustar 0 Report post Posted September 28, 2004 i've downloaded the php5 binary installer (http://php.net/) and i've encountered a problem. It can't find "iisext.vbs" in my directories.It has replaced my iis config and php.ini, now my old php4 pages don't work anymore so i'll try to reinstall it later.oh i've check my iis version, i have the iis5 and not iis6... Share this post Link to post Share on other sites
venustar 0 Report post Posted September 28, 2004 happy ! PHP5 works on my IIS5 and also PHP4 and asp.net. Cool ! I think that the error was because i've choose IIS6 instead of IIS5 but at the time of the installation, i've selected the manual configuration. INSTALLATION OF PHP5 ------------------------------- it's like installing php4 on IIS Here are what i've done : On PHP5 install Side : - installation of php5 (i've used php-5.0.2-installer.exe) - i've clicked continue for all except for web server selection (i've choose :i'll do it later something like that. - and that's all On IIS5 web server Side : - In the Internet Services Admin, i've opened the properties box of my Default Site Web : Right Click on Default Web Site > Properties > On Base directory tab, Click Configuration... > On mapping tab Click Add... and add the extension ".php" with its corresponding .exe (php-cgi.exe) That's All Good programming for All Share this post Link to post Share on other sites
r3d1405241470 0 Report post Posted October 18, 2004 i try these approach but i have a problem about php.ini. php4 ini settings have diff ini settings in php5. if you add an php extension youll see the error Share this post Link to post Share on other sites