Install APC on Xampp
This is how I installed APC on Xampp on Windows 7
- Download php_apc-3.1-svn20101116-5.3-vc6-x86.zip (Direct link : http://downloads.php.net/pierre/php_apc-3.1-svn20101116-5.3-vc6-x86.zip)
- Copy php_apc.dll to C:\xampp\php\ext
- Open php.ini (C:\xampp\php\php.ini) and add extension=php_apc.dll
I also needed to change a couple of settings inside apache.
- Go to the directory of installation\apache\conf
- Open and edit httpd.conf in a text editor
- Find all occurrences of
AllowOverride None
and change to
AllowOverride All
- I think it appears 2 or 3 times on the configuration file.
- Reset Apache
Should work for you as well.
Sagepay Test Card Details
Whenever I need to test Sagepay (ex Protx) payment gateway integration I have to try and retrieve the test card numbers I can never find the correct pdf. This means trying to find them on Google (which I never can) or loggin into sagepay and downloading about 3 pdfs before I find the right one. So to save me and others time here see below:
Card Type - Card Number - Issue - CV2 - Address - PostCode Visa Credit - 4929000000006 - 123 - 88 - 412 MasterCard Credit - 5404000000000001 - 123 - 88 - 412 Visa Debit / Delta - 4462000000000003 - 123 - 88 - 412 Solo - 6334900000000005 - 1 - 123 - 88 - 412 UK Maestro - 5641820000000005 - 01 - 123 - 88 - 412 American Express - 374200000000004 - 123 - 88 - 412 Visa Electron - 4917300000000008 - 123 - 88 - 412 JCB - 3569990000000009 - 123 - 88 - 412 Diner’s Club - 36000000000008 - 123 - 88 - 412 Laser (LASER) - 6304990000000000044 - 123 - 88 - 412
Any cardholder name and start/expiry dates will be accepted for these cards so long as the dates are valid and the card not expired. If you have 3D-Secure set up on your test account, you can use the My Sage Pay Admin interface to switch on the checks at this stage to test 3D-Secure.
Share Folders on Unbuntu VBox with Windows
These instructions assure you are using Windows as your host and Ubuntu as the client machine. I am using vbox 4 and Ubuntu 10.04 LTS. I had loads of issues getting this to work with other tutorials and forum posts. I kept getting errors like:
/sbin/mount.vboxsf: mounting failed with the error: Protocol error /sbin/mount.vboxsf: mounting failed with error: No such device
Here is my method which worked for me and hopefully for you as well.
Stage 1. Install Guest Additions. If you have done this already skip this stage.
- Start Ubuntu and click devices in the vbox window, the select install Guest Additions
- This should put a cd icon on the Unbuntu desktop, double clicking should open a folder.
- Click “Open Autorun Prompt” then wait for it to install.
- Shut down Ubuntu from within the client.
Stage 2. Add the shared folder
- Open up VirtualBox control panel.
- Right hand click on the box you want to share a folder with
- Go to share folder, add a folder and tick Auto-Mount and Make Permanent
- Click OK and start your Ubuntu vbox
Stage 3. Give Your User Permission
- You need to add your user to the vboxsf group.
- Click system->administration->Users and Groups
- Click Manage Group -> scroll down, scroll down and click vboxsf. Then click properties.
- There should be a list of Group Memebers, make sure your user is clicked (by default your user will be called Ubuntu).
- Close everything and restart from within Ubuntu, not vbox control panel.
Stage 4. Done
- Once Ubuntu starts your shared folder can be found in “File System/Media/”
Paypoint Cannot find tid for this merchant no
Cannot find tid for this merchant no basically means you need to ring paypoint and get them to activate your account as you are still in test mode!
How to delete a book from kindle library
I think a lot of other people on the web have bought kindle books they wish they could delete from the kindle library. I know that I have bought books I will never read again (because it was a rubbish book) and more than a couple of times I’ve clicked “buy” simply because it was free.
It is also rather annoying that all the books Kindle recommend aren’t good recommendations because of all the bad choices in Kindle library. After a bit of research I found you can delete books from the kindle library, here’s how:
- Log into amazon
- Go to “manage you kindle” under “kindle” on the left hand navigation
- This will list all your books inside your library
- Click on the action button next to the book you want to delete
- Select “delete from library”
Recent Posts
- Diary of a Startup: I’ve Just Applied to Seedcamp
- Diary of a Startup: Create a startup for £14
- Sendmail on Ubuntu
- Adobe Air with Netbeans
- Best Firefox Plugins for SEO aka Addons
- Setup Ubuntu as a Web Server
- Changing Plesk Fast CGI to Apache PHP with ZF
- How to Access PUT data in Zend Framework
- 30 minutes until 30!
- Google Analytics Benchmarking Newsletter July 2011
My External Links
Twitter Updates
- Just signed up to http://t.co/tfBBKAAS use my referral code to get 10% off. 41pqp3q1 (http://t.co/TJUdYIv8) 1 day ago
- Anyone using http://t.co/gvbvZgN5 and want to tweet me your Referral Code? 1 day ago
- RT @TheAdventurists: #IceRun team Ice Ice Maybe drive into a ditch on Russian TV: http://t.co/0E2AWsGg #FB 5 days ago
- 10 Things Bosses Never Tell Employees -- But Maybe Should http://t.co/v4JNYpEg 5 days ago
- RT @guardian on the return of Myspace: http://t.co/84KLw8xn 1 week ago
- My First Ice Hockey Match In The Cheap Seats http://t.co/fMMH7Oan 1 week ago
- I'm at Wetherspoons http://t.co/ko7GIh75 1 week ago
- I'm at The Lansdowne (123 London Rd, Leicester) http://t.co/ieW5KFVk 1 week ago
- I'm at Barceloneta http://t.co/ByUieJvb 1 week ago
- 57% of my followers are from #UK,17% from #USA & 18% from #Leeds. http://t.co/TZmZfcgq. What's your #TweepsMap? 1 week ago




