且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Symfony2的修复要求

更新时间:2023-11-26 15:14:58

您已经取得应该解决您的问题,如果做得正确的变化;双重检查。确保实际被保存更改。很多时候,当我编辑在Ubuntu的php.ini文件,我忘了运行与正确的权限编辑器(根),并错过了警告,该文件无法保存。此外,通过从脚本中调用phpinfo()函数验证所做的更改。

The changes you have made should fix your problem if done correctly; double check that. Make sure the changes are actually being saved. Many times when I edit php.ini files in Ubuntu I forget to run the editor with the right permissions(root) and miss the warning that the file could not be saved. Also, verify the changes by calling phpinfo() from a script.

你得到相同的结果,当你运行位于从终端应用程序/ check.php的纸条。从项目的根目录:

Do you get the the same result when you run the scrip located in app/check.php from the terminal. From project root:

php app/check.php

如果仍然有问题,所有我可以建议是清除缓存;与Symfony2的很多问题都解决了这种方式。

If still having problem, all I can suggest is clearing the cache; with symfony2 a lot of problems are solved that way.