Problem with date.Timezone php.ini

Asked

Viewed 211 times

0

I’m testing an instagram bot on my local machine. But when I try to start modifying the date.timezone is thus passing the parameter date.timezone = America/Sao_Paulo within the php.ini, which is one of the requirements for the application to be installed. I make the changes, except, but still does not allow them to be installed, even meeting the requirements.

Usage UBUNTU 16.04 LTS

inserir a descrição da imagem aqui

1 answer

1

To resolve this problem you need to check some settings:

Follow to your home folder, which points to localhost and add this script:

<?php
   phpinfo();
?>

Save the file as config.php then run in your browser.

http://localhost/config.php

Check the exact path of your php.ini, because many installations bring multiple samples of php.ini into it and you might accidentally be editing the file wrongly.

Load Configuration File

Then check the Timezone as shown below:

TimeZone

Make sure that changing settings in your php.ini also changes your config.php. If you don’t find the problem return the feedback in your post.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.