So here is how I have it setup now
	Code:
	drwxrwxrwx  3 root root  4096 Aug  5 07:32 www
 
	Code:
	drwxr-xr-x 11 eqemu eqemu 4096 Aug  7 09:38 phpeditor
 
	Code:
	drwxr-xr-x  3 eqemu eqemu     4096 Nov 25  2013 logs
 And then there is nothing in the log folder because it cannot write.
Any type of edit gives me this error. I have also moved the log location around to directly into the peq/logs folder and I get the same result. For some reason php is not privileged... 
Could not create /var/www/logs/sql_log_08-2014.sql! Make sure the logs directory is writeable by your webserver.