Skip to Content

Category: php

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
image of person coding on laptop

Restore InnoDB MySQL Database from .frm/ibdata1 files in Ubuntu 12.04

One of our  LAMP test servers recently crashed and luckily we were able to salvage the hard disk drive from that server.  Restoring the PHP web files from that box was easy, as you can imagine.  We struggled to restore the databases though because we didn’t have export files like we were used to.  Keep […]

Read more
Back to top