Turn off php safe mode on media temple dv servers

22/05/2008

I spent a good half hour trying to fix this so feel it’s worthwhile posting the solution.  I was trying to install openx on a mediatemple dedicated virtual server running php5 and couldn’t figure out how to turn off php safe mode.  I edited what I thought was the php.ini file and eventually discovered that the actual location of the php.ini file for php5 is located at:

/opt/php51/etc/php5/fastcgi/php.ini

No Comments

How do I “unsubversion” a directory

19/11/2007

Spent a few minutes trying to figure out how to delete all those pesky .svn folders created by subversion. Hopefully this will save someone else the headache!

find ./ -name ".svn" | xargs rm -Rf

Update (5/21/08) For XP run the following in the root folder

for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do ( rd /s /q "%%i" )
1 Comment