Re: Cannot get php errors to go to a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

I changed it to error_log = php_errors.log and now it writes errors into
the virtualhost's docroot.  How do I put it someplace not accessible to
the world, but readily found by me?

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

iQEcBAEBAgAGBQJUUWXKAAoJEDx7wfUw/4IOn4kH/ArnB6lIXZKbt9p0w7Jk1wmm
+K+4b5fcN5ZqMb15J1s0dXqZmcdTnAeCfAV5wYz1OLRuNpwrzfb73WiLea3gMB5O
fm8xpSx+wnoEGKLV5EYeHA/uZJHxllL/GqHwTRGJj/EyzOBYRFSoSqdhntmS1Ggz
Kj16khzdLPot01C/Ie7RkPMkp1tkawyyhKtn58BWeTtuGBGmdqq+m57XtoE5nEnL
MBf3r8XtUxMbTDK5GTOP398rqF6hNDIr3jDfzyf4v+oYCm/gZR9aNZ9hkb35n5HM
TImvSeeJj3so9IET60XhX048G0RSt8F4lPBPkHAbC6gD8IgipxEHM9IVs4jenTg=
=b7nW
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux