Is installing PHP on Cygwin the same as installing it on a real Linux server?

I am currently using XAMPP on Windows 7 for my dev server, which is a LAMP stack.

I recently installed cygwin and messed with it. I am just wondering with cygwin, since it looks like unix / linux, does this mean that you can install apache and php in the same way as if you installed it on a Linux server? I know that you can install them on cygwin since I saw them in the package list, but I'm not sure if this is the same as if I installed it on a real Linux production server?

From what I'm reading, cygwin mimics unix / linux on windows.

+5
source share
3

cygwin

:

  • gawk, ( )
  • tar, ( )
  • bzip2, ( )
  • wget,
  • ,
  • ,
  • SSMTP,
  • Util-Linux,
  • Ncurses,
  • OpenSSH,
  • cygrunsrv,
  • apache2
  • MySQL
  • APT-

php

PHP, :

apt-cyg -m ftp://ftp.cygwinports.org/pub/cygwinports/ install php

apache2-mod_php5
php-mysql
php-mysqli
php-PEAR

/usr/bin/cygserver-config

http://umusebo.com/installing-and-configuring-apache-php-mysql-on-cygwin/#.VXb6pc85-Uk

+5

( ) - . , , , ( 2017 ) Cygwin. , Apache PHP 7, - , .

Cygwin httpd, php, httpd-mod_php7, php-mysqli mysql-server (, Cygwin - , ).

When you switch to the Cygwin console, you just need it apachectl start, and there it is easily accessible on port 80. If you need it as a server, accessible all the time, the server setup still matches cygserver-config.

No apt-cygneed to either import packages from Cygwin ports - although this is also great and still works great. It just got a little easier.

+2
source

All Articles