Hi,
Yes, it was a typo, it is wamp/bin/php/php7.0.0rc8/wampserver.conf.
So I will not speak of this point in the procedure which can only function with WampServer 3.0.0.
It is absolutely imperative to download archives Thread Safe and never NTS archives.
http://windows.php.net/downloads/qa/php-7.0.0RC8-Win32-VC14-x86.zipI done and I write this procedure in real time.
WARNING: my installation is in J:\wamp and to avoid nonsense, I will not change it in this procedure. So, for you, modify according to your installation.
- Create a folder J:/wamp/bin/php/php7.0.0rc8/
- Unzip archive downloaded into this folder.
- Put the file wampserver.conf (as in previous message) in this folder.
- Copy the file php.ini-development with the new name php.ini
- Edit the file php.ini
- Replace
max_execution_time = 30
by
max_execution_time = 120
- Replace
; max_input_vars = 1000
by
max_input_vars = 2500
- Replace
;error_log = php_errors.log
by
error_log = J:/wamp/logs/php_error.log
- Replace
auto_globals_jit = On
by
auto_globals_jit = Off
- Replace
; extension_dir = "ext"
by
extension_dir = "J:/Wamp/bin/php/php7.0.0rc8/ext/"
- Replace
;upload_tmp_dir =
by
upload_tmp_dir = "J:/wamp/tmp"
To simplify, replace all the block between
; Be sure to appropriately set the extension_dir directive.
and
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
by
; Be sure to appropriately set the extension_dir directive.
;
extension=php_bz2.dll
extension=php_curl.dll
;extension=php_com_dotnet.dll
;extension=php_enchant.dll
extension=php_fileinfo.dll
;extension=php_ftp.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_gmp.dll
extension=php_intl.dll
extension=php_imap.dll
;extension=php_interbase.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_odbc.dll
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_phpdbg_webhelper.dll
;extension=php_shmop.dll
; The MIBS data available in the PHP distribution must be installed.
; See [www.php.net]
;extension=php_snmp.dll
extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite3.dll
;extension=php_sysvshm.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
- Replace
;date.timezone =
by
date.timezone = UTC
or your own, for example date.timezone = Europe/Paris
- Replace
;sendmail_from = me@example.com
by
sendmail_from = valid@email-address
- Replace
;session.save_path = "/tmp"
by
session.save_path = "J:/wamp/tmp"
- Replace
soap.wsdl_cache_dir="/tmp"
by
soap.wsdl_cache_dir="J:/wamp/tmp"
- Save the file modified.
- Copy this modified php.ini file under the name phpForApache.ini (Respect the case)
You may add at the beginning of the php.ini file (not into phpForApache.ini)
[PHP]
; **************************************************************
; ****** DO NOT EDIT THIS FILE **** DO NOT EDIT THIS FILE ******
; * This file is only use by PHP CLI (Command Line Interface) *
; * that is to say by Wampserver internal PHP scripts *
; * THE CORRECT FILE TO EDIT is Wampmanager Icon->PHP->php.ini *
; * that is wamp/bin/apache/apache2.x.y/bin/php.ini *
; **************************************************************
Launch Wampserver.
Switch PHP version :
- Wampmanager Icon -> PHP -> Version -> 7.0.0rc8
I just do exactly this and Wampserver returns green after switching to PHP 7.0.0rc8.
It's going a hundred times faster to do than write.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons