Skip to content

Instantly share code, notes, and snippets.

@jasperf
Last active December 15, 2015 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasperf/5275161 to your computer and use it in GitHub Desktop.
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
//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