WPN-XM php7出错

时间:2016-09-13 13:10:50

标签: php-7 wpn-xm

systm版本是WPNXM-0.8.6-Standard-Setup-php56-w64。在我安装php7.0.10_nts后,当我更改php版本时出现错误

problem with php7.0.10

问题出在哪里???

1 个答案:

答案 0 :(得分:1)

如果你去你的php 7文件夹( C:\ server \ bin \ php ),你会发现有2个php.ini文件:

  • 的php.ini开发
  • 的php.ini生产

如果您复制其中一个名称为 php.ini 。这应该解决它。

编辑:

您可能需要更改路径:

extension_dir = "ext"y
error_log = C:\server\logs\php_error.log
include_path = ".;C:\server\bin\php\pear" 
upload_tmp_dir = C:\server\temp
;sendmail_path = "C:\server\bin\sendmail\sendmail.exe -t -i" 
session.save_path = C:\server\temp
curl.cainfo =C:\server\bin\openssl\ca-bundle.crt

[Xdebug]

; activate remote debugging
xdebug.remote_enable   = on
xdebug.remote_handler  = dbgp
xdebug.remote_host     = localhost
xdebug.remote_port     = 9000

; profiler
xdebug.profiler_enable         = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir     = "C:\server\logs" 
xdebug.profiler_output_name    = cachegrind.out.%t.%p

[Zend]
zend_extension=C:\server\bin\php\ext\php_opcache.dll
zend_extension=C:\server\bin\php\ext\php_xdebug.dll