paliarush/magento2-vagrant-for-developers

Is Windows 10 supported?

Closed this issue · 1 comments

BaDos commented

I got the following error message when I had ran the command bash init_project.sh on Windows10 64bit:

D:/dev/magento2/lib/php/php.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

$ bash init_project.sh
+ bash /d/dev/magento2/scripts/host/check_requirements.sh
+ '[' -f /d/dev/magento2/lib/php/php.exe ']'
+ php_executable=php
+ echo php
+ php -v
/d/dev/magento2/scripts/host/check_requirements.sh: line 9: php: command not found
+ grep -q Copyright
+ bash /d/dev/magento2/scripts/host/install_php.sh
+ [[ Windows == \W\i\n\d\o\w\s ]]
+ curl http://windows.php.net/downloads/releases/archives/php-5.6.9-nts-Win32-VC11-x86.zip -o /d/dev/magento2/lib/php.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20.1M  100 20.1M    0     0  2802k      0  0:00:07  0:00:07 --:--:-- 3308k
+ unzip -q /d/dev/magento2/lib/php.zip -d /d/dev/magento2/lib/php
+ rm -f /d/dev/magento2/lib/php.zip
+ cp /d/dev/magento2/lib/php/php.ini-development /d/dev/magento2/lib/php/php.ini
+ sed -i.back 's|; extension_dir = "ext"|extension_dir = "ext"|g' /d/dev/magento2/lib/php/php.ini
+ sed -i.back 's|;extension=php_openssl.dll|extension=php_openssl.dll|g' /d/dev/magento2/lib/php/php.ini
+ rm -rf /d/dev/magento2/lib/php/php.ini.back
++ bash /d/dev/magento2/scripts/host/get_path_to_php.sh
+ '[' -f /d/dev/magento2/lib/php/php.exe ']'
+ php_executable=/d/dev/magento2/lib/php/php
+ echo /d/dev/magento2/lib/php/php
+ php_executable=/d/dev/magento2/lib/php/php
+ /d/dev/magento2/lib/php/php -v
+ grep -q Copyright
D:/dev/magento2/lib/php/php.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
+ set +x
Automatic PHP installation is not available for your host OS. Please install any version of PHP to allow Magento dependencies management using Composer. Check out http://php.net/manual/en/install.php
BaDos commented

When I had tried to run D:/dev/magento2/lib/php/php.exe -v in default CMD, I got the error:

The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the problem to fix this problem.

Downloading and Installation VS C++ 2012 has helped me.
It is necessary to download and install VSU_4\vcredist_x86.exe

May be need to add this information to description.