Jump to content

Recommended Posts

Configuration File (php.ini) Path   C:\Windows
Loaded Configuration File   C:\php\php.ini 

 

I'm getting this error when trying to read a file: "fopen(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function....". Although i fixed it in the c:\php\php.ini(because the file doesn't exist in c:\windows). Restarted my server but still no changes.

 

Any help ?

Link to comment
https://forums.phpfreaks.com/topic/235424-wrong-phpini-path/
Share on other sites

What exactly did you put in the file to change it? Invalid settings or settings with syntax errors, don't take effect.

 

Also, if you used a Windows supplied editor to edit the file, it likely got saved with a hidden .txt extension. Have you turned off the Windows setting that hides extensions for known file types?

 

How did you install php, because some of the all in one packages and the php.net .msi installer package override settings using registry settings and making changes to the php.ini don't do anything.

Link to comment
https://forums.phpfreaks.com/topic/235424-wrong-phpini-path/#findComment-1209892
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.