[CentOS] Cannot get php errors to go to a file

Wed Oct 29 22:16:22 UTC 2014
Steven Stern <subscribed-lists at sterndata.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/29/2014 04:07 PM, Reindl Harald wrote:
> 
> Am 29.10.2014 um 19:54 schrieb Steven Stern:
>> 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
> 
> "PrivateTmp=true" works as you can see
> using /tmp for logfiles is plain stupid

OK ... final message. I'm logging to syslog which seems both secure and
readily findable.

> 


- -- 
- -- Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUUWc2AAoJEDx7wfUw/4IOviQH/iQdriSP1UiMo8vsIQxwiCQt
zw6kD3h1BrJxF/hdsx+eUC+kgiQqiWi0OGdI/BhPzGTAr0UK/Tt2LsHJoWp7XPu9
uYeFhYdziBpzK5+8jDEUFXf839GyLtdP6YEnu2ItBOhob87paak2dw+X/EF1/RTo
PJGwYjkvVCYXB4inBZQkIkVYUxYIDzxZCJ/Ym+LUpANNcpQ0Pncd82yI7uu6JsQN
5B1Rvjyc9q5adYRblEO2n04DVYQiJCwnoOjtaF7qxIdCcRxIfN7/Znx1AxdbE5Ck
KrhhupbP4M6rnZtD/IsdYM2iWU0fUmp11xQueR7biZb07tbUdGMu+OjjHtFO9eY=
=QvoI
-----END PGP SIGNATURE-----