Issue
Timezone not reflecting all ALT-PHP versions.
The current timezone is not reflected on the PHP info page.
Environment
- CloudLinux
- PHP Selector
Solution
1. Open the below file:
vi /etc/cl.selector/global_php.ini
2. And change the timezone to the required value, for example:
[Global PHP Settings]
date.timezone = Europe/London
3. Then, to confirm the changes run:
/usr/bin/selectorctl --apply-global-php-ini
4. In case still does not appear in the php.ini, please run:
cagefsctl --force-update && cagefsctl -M
5. And confirm:
You can find more details here: https://docs.cloudlinux.com/shared/cloudlinux_os_components/#configuring-global-php-ini-options-for-all-alt-php-versions
Cause
Bad timezone settings at:
/etc/cl.selector/global_php.ini
Comments
0 comments
Please sign in to leave a comment.