Firefox PHP

CONFIGURATION PHP.INI :: x86_64::on fedora 27::

Posted by jn5aksl 
CONFIGURATION PHP.INI :: x86_64::on fedora 27::
March 13, 2018 03:32PM
Hello, good evening, I'm new to fedora. And I have problems configuring the php.ini file more specifically in the date.timezone directive.

1. create a php blank file with the phpinfo function.
2.check the configuration of the /etc/php.ini file
3.check some other location of the php.ini file
4.configure the date.timezone directive in the 2 files as well as /etc/php.ini
5.opened the .ini files one by one (/etc/php.d)and only enabled extensions, and none changed the value of the date.timezone directive
6.create the script
Language: PHP
<?php date_default_timezone_set(';America/Bogota';); $script_tz = date_default_timezone_get(); if (strcmp($script_tz, ini_get(';date.timezone';))){ echo ';La zona horaria del script difiere de la zona horaria de la configuracion ini.';; } else { echo ';La zona horaria del script y la zona horaria de la configuración ini coinciden.';; } ?>
7.confirm the server's time zone
8. execute the code (local, url)
9.nothing. Finally take the desperate measure of configuring in each of the files (/etc/php.d from step 4.) the directive date.timezone and nothing

Please help me, I go around and around and I do not see the solution. Thanks so much for any help

In all the steps the services were restarted
systemctl restart mariadb
systemctl restart httpd
systemctl restart snmpd



Sorry, only registered users may post in this forum.

Click here to login