![]() You must restart Apache after making changes to the php.ini file, or send a SIGHUP to Apache to force a re-read of the configuration file. ![]() The directory that this file is found in will vary from distro to distro, but the default path is usually a slight variation of /etc/php/apache/php.ini Make sure that the one you've edited is the one for Apache if your script is being called from a web browser. There are 2 distinct php.ini files that you should be aware of one for Apache and one for the PHP CLI.However, PHP treats any line beginning with a hash as a comment, so this line would never be evaluated, hence it would never trigger an error condition. In your example, you use to induce an error.These are the most common issues you'll run into: I can see a few possible solutions to your problem. I don't know what it was yet as it was fixed y someone else. This will print on display and to log Notice: Use of undefined constant error - assumed 'error' in /var/The problem turned out to in the nf file. ![]() When there is an error in the code the page the browsers shows nothing and browser says there is no source for the page.Īny suggestions of where else to look or change to errors to appear somewhere (anywhere would be good) rw-rw-rw- 1 root root 0 Jun 21 07:47 /var/log/php.log for /var and /varlog drwxrwxrwx 23 root root 4096 Jun 2 11:13 var When check phpinfo() print out I have same value of master a local for display_errors On I can not get any errors to display on screen on write to a log file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |