- Download & install PHP 7.1 x64 Distro https://windows.php.net/
- Download & install Apache2 x64 https://www.apachelounge.com/download/win64/
- Download & install MySQL x64 https://dev.mysql.com/downloads/mysql/
- Download & install PostgreSQL x64 https://www.openscg.com/bigsql/postgresql/installers.jsp/
- Download & install Composer https://getcomposer.org/doc/00-intro.md#installation-windows
- (OPTIONAL) Download & install https://sourceforge.net/projects/imdisk-toolkit/
- (OPTIONAL) Download & install https://sourceforge.net/projects/getgnuwin32/files/
- (OPTIONAL) Download & install https://www.inbucket.org/binaries/
- Configure Apache
httpd.conf
LoadModule php7_module "./../php/current/php7apache2_4.dll"
PHPIniDir "./../php/current/php.ini"
AddType application/x-httpd-php .php
#http://blog.codexpedia.com/apache-server/parent-child-process-exited-with-status-3221225725-restarting-on-xamp-apache/
<IfModule mpm_winnt_module>
ThreadStackSize 8888888
</IfModule>
LoadFile "d:\_dev\pgsql\9.6\bin\libpq.dll"
- Configure PHP (php.ini + php-cli.ini)
extension=php_bz2.dll
extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_intl.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_exif.dll ; Must be after mbstring as it depends on it
extension=php_mysqli.dll
extension=php_openssl.dll
extension=php_pdo_mysql.dll
extension=php_pdo_sqlite.dll
extension=php_memcache.dll
extension=php_pdo_pgsql.dll
extension=php_pgsql.dll
extension=php_soap.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
extension=php_com_dotnet.dll
realpath_cache_size = 16000k
realpath_cache_ttl = 9120
max_execution_time = 3600
max_input_time = 900
max_input_vars = 10000
memory_limit = 2024M
post_max_size = 50M
default_charset = "UTF-8"
upload_max_filesize = 50M
[Date]
date.timezone = Europe/Minsk
zend_extension = php_xdebug-2.5.5-7.1-vc14-x86_64.dll
zend_extension_ts = php_xdebug-2.5.5-7.1-vc14-x86_64.dll
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_mode=req
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.var_display_max_depth=3
xdebug.max_nesting_level=250
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
//Better to place cache folder to quick storage for example SSD or Memory drive
;sys_temp_dir = "z:/tmp/php70/web"
https://curl.haxx.se/docs/caextract.html
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
curl.cainfo = "d:\_dev\php\current\cacert.pem"
https://sourceforge.net/projects/imdisk-toolkit/
imdisk -a -o awe -m Z: -p "/fs:ntfs /q /y" -s 2000M
mkdir z:\tmp\php70\web
mkdir z:\tmp\php70\cli
pause
and cache to memory
imdisk -a -o awe -m Y: -p "/fs:ntfs /q /y" -s 2048M
mkdir Y:\oro-cache
move .\app\cache\.gitkeep Y:\cache\oro-cache\.gitkeep
rm -rf .\app\cache
mklink /J .\app\cache Y:\oro-cache
pause