[CentOS] 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cannot get php errors to go to a file
-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@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cannot get php errors to go to a file
-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- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos