PHP applications on windows and linux
-
We deploy php applications on windows and linux. What are the consideration which we should follow in development so that the application run well on both the platforms.
Andrew Nick www.i-tro.com
-
We deploy php applications on windows and linux. What are the consideration which we should follow in development so that the application run well on both the platforms.
Andrew Nick www.i-tro.com
fastcgi (on iis) is certainly one thing to look at. http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-7/[^]
-
fastcgi (on iis) is certainly one thing to look at. http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-7/[^]
In my experience when I had to host on a windows box because of the database we were using, I found IIS6 a nightmare!! The connection would fail, Permissions would change on upload and the whole set up was a nightmare. It took over a day just to get the site live and although there were some good forums on how to get php going on IIS, the reliability left something to be desired. IIS 7 may be better but IIS work well with php. I would definitely run on XAMPP for a simple setup or install apache by itself. It was simple to install and I never had a server outage or drama in over 18 months. For consistency between the platforms IIS is the way to go. The other thing to note is that some php modules that are easy to get going on debian like and cent os systems can be more tricky to get going on windows. A commonly used php module is imagemagick. File paths with windows can sometimes be a pain too.