Problem with date.timezone php.ini

0

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

Usage UBUNTU 16.04 LTS

    
asked by anonymous 23.07.2017 / 07:43

1 answer

1

To resolve this problem you need to check some settings:

Go 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.

  

link

Check the exact path of your php.ini, because many installations bring several samples of php.ini into it and you may accidentally edit the file wrongly.

ThencheckTimeZoneasshownbelow:

Make sure you also change settings in your php.ini undergoes the changes in your config.php. If you do not find the problem, return the feedback in your post.

    
23.07.2017 / 11:44