5

This might be the stupidest question but I would like to know whether we can host PHP site on Windows hosting? Are there any special tools for publishing php site?

4
  • 1
    The answer is yes.
    – mellamokb
    May 13, 2011 at 3:25
  • Be aware though that there are some differences in $_SERVER variables that may bite you if you're porting from a Linux server.
    – Graphain
    May 13, 2011 at 3:44
  • Not to forget that windows uses \ as path separator which is an escape character in PHP.
    – Lekensteyn
    May 15, 2011 at 8:44
  • A list of WAMPs (Windows, Apache, MySQL, PHP) en.wikipedia.org/wiki/Comparison_of_WAMPs
    – rightstuff
    May 5, 2012 at 15:41

5 Answers 5

4

Sure, you can host a PHP site on a windows server. It's not quite as easy to configure asa LAMP stack (Linux, Apache, MySQL, PHP) but you can still run the PHP site under IIS or Apache on a Windows machine.

As for special tools-- just the normal FTP client will do just fine, unless you're looking to use a content management system like Joomla or Drupal, in which case they have built in tools for publishing.

3

Yes, see here: http://windows.php.net/

There are many hosting companies that provide this service, search google for "windows php hosting", and you'll find a bunch.

2

Yes.

http://httpd.apache.org/docs/2.0/platform/windows.html

1

WAMP

1
  • 1
    Although for a production server I would recommend a Linux server. Always seems to have less issues. YMMV.
    – cainmi
    May 13, 2011 at 7:25
1

PHP is by default enabled on most of shared hosting services of windows. If PHP on your host is not running, you just need to ask your hosting company to enable PHP on your account or to assist you in the right direction.

PHP with FAST CGI option runs as fast as it runs on LINUX OS. Microsoft has made lots of improvement in IIS7 for PHP to cover OPEN SOURCE SCRIPT (WordPress, Drupal, Joomla, etc...) hosting market.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.