如何配置cloud9-ide的php.ini
How to configure the php.ini of cloud9-ide
我想配置c9的php.ini,但我注意到似乎没有用effect.After搜索Google我知道它需要重新启动php-fpm,但我在我的 workspace.How 中找不到这个应用程序,我接下来要做什么?谢谢
您需要停止项目然后重新启动(菜单 Run/Stop,然后是 Run/Run 最后)- Apache 网络服务器将使用新的 PHP 配置重新启动。
从新社区讨论论坛看到这个答案:
https://community.c9.io/t/customizing-php-ini/1487
bradydowling Cloud9 Employee Jan 22, 2016
For PHP, you can create custom
configuration by editing /home/ubuntu/workspace/php.ini. For example,
from the terminal, from the following commands:
create custom php.ini $ echo "display_errors=Off" > /home/ubuntu/workspace/php.ini
verify it is found $ php --ini
Loaded Configuration File: /home/ubuntu/workspace/php.ini
You may also just create a new file in
your workspace folder and name it php.ini and then open that by
double-clicking it.
还有这个关于主题的其他论坛 post 以供完整参考过去的讨论:https://community.c9.io/t/how-to-configure-my-php-ini-file/642/2?u=mikeumus
我想配置c9的php.ini,但我注意到似乎没有用effect.After搜索Google我知道它需要重新启动php-fpm,但我在我的 workspace.How 中找不到这个应用程序,我接下来要做什么?谢谢
您需要停止项目然后重新启动(菜单 Run/Stop,然后是 Run/Run 最后)- Apache 网络服务器将使用新的 PHP 配置重新启动。
从新社区讨论论坛看到这个答案: https://community.c9.io/t/customizing-php-ini/1487
bradydowling Cloud9 Employee Jan 22, 2016
For PHP, you can create custom configuration by editing /home/ubuntu/workspace/php.ini. For example, from the terminal, from the following commands:
create custom php.ini
$ echo "display_errors=Off" > /home/ubuntu/workspace/php.ini
verify it is found
$ php --ini
Loaded Configuration File:/home/ubuntu/workspace/php.ini
You may also just create a new file in your workspace folder and name it php.ini and then open that by double-clicking it.
还有这个关于主题的其他论坛 post 以供完整参考过去的讨论:https://community.c9.io/t/how-to-configure-my-php-ini-file/642/2?u=mikeumus