指令' allow_call_time_pass_reference'在PHP中不再可用

时间:2014-11-25 07:38:10

标签: php zend-framework

我正在使用XAMPP和PHP 5.6.3版本并尝试在zend框架中创建项目并执行命令

zf create project quickstart

它正在提供Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

。我试图添加评论" allow_call_time_pass_reference"在" C:\ xampp \ php \ php.ini"

; allow_call_time_pass_reference
;   Default Value: On
;   Development Value: Off
;   Production Value: Off

并且

; should enabled in development environments only.
; Default Value: On (Suppress warnings)
; Development Value: Off (Issue warnings)
; Production Value: Off (Issue warnings)
; http://php.net/allow-call-time-pass-reference
;allow_call_time_pass_reference=Off

但它没有用。任何人都可以帮助我。我正在使用Windows机器

1 个答案:

答案 0 :(得分:0)

您需要重新启动服务器,或者您正在编辑错误的ini配置文件。