Skip to Content

Month: December 2013

black and white image of person using a laptop

Using PHP’s open_basedir to help secure your WordPress site

We recently migrated a few WordPress websites to a shared environment.  One easy thing you can do to help secure sites in shared environments is to properly use PHP’s open_basedir.  PHP’s open_basedir limits the files that PHP can access outside of the specified directory.  You can use open_basedir in the Apache configuration file, php.ini or […]

Read more

Get memory heap and non heap usage on Railo

To get the Memory usage on Railo (heap and non-heap), you can use the getMemoryUsage() function, like so: <cfdump var=’#getmemoryUsage(‘heap’)#’> <cfdump var=’#getmemoryUsage(“non_heap”)#’> Pretty simple.  But something that isn’t well documented.  I hope this helps someone! -Scott

Read more
Back to top