2012-09-29 24 views

回答

0

可以在php.iniauto_prepend_file設置:

auto_prepend_file="/custom/path/unleashapi/protected/extensions/goutte.phar" 

確保Apache訪問該文件。

+0

感謝您的回答,但仍然沒有工作的伴侶。相同的代碼在另一臺機器上工作。我相信我在php.ini中缺少一些設置,但無法理解。 –

0

如果服務器使用​​(通常是Debian和所有基於Debian的發行版),你應該添加:suhosin.executor.include.whitelist="phar"到php.ini

相關問題