acli ide:service-restart php
Enabling PHP intl extension¶
To enable the intl
extension in IDE:
- Edit the
/home/ide/configs/php/custom.ini
file and add the following line:
- Restart PHP and Apache:
acli ide:service-restart php
acli ide:service-restart apache
To confirm if the intl
extension is enabled, run the following:
If you encounter any errors, contact Acquia Support.
Checking logs¶
Apache logs are present in the Apache log directory:
/var/log/apache2/
PHP logs are present in the PHP log directory:
/var/log/php/
To access any of the two directories from your IDE environment,
- Open a terminal window.
Switch to the required directory. For example:
or
To make changes to the IDE, change Apache configuration. When your code runs on Cloud Platform, it uses the Apache configuration supported by Acquia as part of the managed service. Acquia restricts the changes that you can make to the Apache configuration in order to maintain application security and reliability. For more information, visit Security and Compliance.