Last active
December 15, 2015 14:29
-
-
Save jasperf/5275161 to your computer and use it in GitHub Desktop.
Custom PHP RC File in Dreamhost to show PHP errors for one user #dreamhost #PHP #phprc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//In /home/username/.php/5.3 | |
//and a file called "phprc" with following content - 2 rows only which is to be found in above folder: | |
//log_errors = 1 | |
//error_log = /home/user/php_errors.txt | |
cd /home/user | |
mkdir .php && cd .php | |
mkdir 5.3 | |
cd 5.3 | |
nano phprc | |
//add the lines | |
//Kill PHP to restart | |
killall php53.cgi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment