Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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"

cacert.pem

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"

Memory Drive

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.