tag: PHP

Install Mongo DB on Debian with PHP support

Steps to Install MongoDB - This should work with Debian and Ubuntu, with the upstart init system. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 && sudo sh -c 'echo ''deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen'' > /etc/apt/sources.list.d/10gen.list' && sudo apt-get update && sudo apt-get install mongodb-10gen; If all goes well you should have a fully working MongoDB. To make sure things are working have a look at /etc/var/log/mongodb/mongodb.log Try it out with:

Site Update 21-Alpha

Surprise, a new shiny theme has appeared! I have spent the past few days working on the design you currently see. It is based on the previous theme which I have been using for the past two years or so. A big thank you to Ulysses for creating the original theme. I have put a little link in the footer for you. Although my recreation of Ulysses’s theme is not of the same quality, I believe it has some potential.

Wordpress edit media not working

9 Apr, 2011 - 1 minutes
I was attempting to edit an image from my media library, and found that I was unable to crop or resize it.┬áThere wasn’t even a sign of the image. The only error that the error console gave was “Image corrupt or truncated“ I found that if you are to remove all white space, after the closing php tag from the functions.php, it fixes the problem . Wordpress Ticket #10633

PHP #1

11 Dec, 2007 - 2 minutes
To start with PHP you need to have a web server that supports PHP. You can either use a free web host, or run your own server. If you want to run your own web server on windows just download XAMPP. Once you have that downloaded and installed, all you do is save your PHP scripts in the htdocs folder (Same for all web servers) then navigate (in a web browser) to http://localhost/.