Friday, June 3, 2011

Using adminer on Mac OS X

adminer is a nice php based sqlite manager. I prefer the firefox plugin "sqlite manager" but it currently has a strange issue with FF5 that basically makes it unworkable, so I was looking for an alternative to tide me over.

I really don't want apache running all the time on my computer and don't want people browsing to my computer, so what I needed to do was:

  1. Download the adminer php script into /Library/WebServer/Documents/
  2. Change /etc/apache2/httpd.conf to allow running of php scripts (uncomment the line that begins: LoadModule php5_module
  3. Start the apache server: sudo apachectl -k start
  4. Operate the script by going to localhost
  5. Stop the server: sudo apachectl -k stop  

No comments:

Post a Comment