search for: php_error

Displaying 3 results from an estimated 3 matches for "php_error".

Did you mean: php_errors
2012 Jun 05
1
How to rotate PHP error log - since it belongs to apache
Hello, I'm using CentOS 6.2 with the stock rpm php-5.3.3-3.el6_2.8.x86_64 and the following /etc/php.ini file: error_reporting = E_ALL & ~E_DEPRECATED display_errors = Off error_log = /var/log/php/php_errors.log and that file is very useful for me because I have many custom PHP-scripts at my site, but that file keeps growing too... :-) So my question is for how to rotate it (esp. since it should be owned by "apache" user) - what do you guys use? Regards Alex
2014 Oct 29
0
Cannot get php errors to go to a file
Using basically the same setup that works on C6, I have a C7 site. in PHP.INI, it says "error_log = /tmp/php_errors.log" PHP errors do not go there (or anywhere). 1. Apache has write perms to /tmp 2. I have restarted httpd since changing php.ini 3. The base php.ini is from the development version in /usr/share 4. Selinux is disabled. Ideas? -- -- Steve
2012 Apr 24
9
Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables
...'staging.myprivatenetwork.priv'' { $httpd_maxclients = 50 $php_display_errors = ''on'' $envname = ''staging'' $envstr = ''stag'' include mywebserver } node ''dev.myprivatenetwork.priv'' { $httpd_maxclients = 20 $php_error_reporting = "E_ALL" $php_display_errors = ''on'' $envname = ''dev'' $envstr = ''dev'' include mywebserver } manifests/classes/mywebserver.pp would contain somethine like this: import "php" import "httpd" class myw...