• “call to undefined function curl_init” error in PHP

    I just had the “call to undefined function curl_init” error in PHP and was at a loss how to fix it.

    I knew immediately what it was (cURL allows you to read a website via a script) but couldn’t find a way to fix it via google.

    Here’s the solution on debian ubuntu php 5

    sudo apt-get install php5-curl
    sudo apache2ctl graceful
    

    Once that was done all was well.

    Simple solutions are wonderful aren’t they?

    
    
    
        
     
  • Software I ship across Europe

    As part of my attitude towards open source software I burn and ship CDs and DVDs across Europe.

    My fee for United Kingdom is 2 GBP per disc, this includes shipping and packaging.

    For Europe I charge 3.81 GBP per disc, this includes shipping and packaging.

    If you would like a disc then feel free to contact me directly or visit my ebay page listing my auctions:

    United Kingdom: http://myworld.ebay.co.uk/ubuntudvds or http://shop.ebay.co.uk/ubuntudvds/m.html

    Europe: http://www.ebay.eu/ and choose your country, then search for member ubuntudvds

    Software available:

    • ubuntu 9.10 Karmic Koala i386 32 bit desktop live CD
    • ubuntu 9.10 Karmic Koala i386 32 bit desktop live DVD
    • ubuntu 9.10 Karmic Koala AMD64 64 bit desktop live CD
    • ubuntu 9.10 Karmic Koala AMD64 32 bit desktop live DVD
    • ubuntu 9.10 Karmic Koala i386 32 bit alternate CD
    • ubuntu 9.10 Karmic Koala AMD64 64 bit alternate CD
    • ubuntu 9.10 Karmic Koala i386 32 bit server CD
    • ubuntu 9.10 Karmic Koala i386 32 bit server DVD
    • ubuntu 9.10 Karmic Koala AMD64 64 bit server CD
    • ubuntu 9.10 Karmic Koala AMD64 32 bit server DVD
    • ubuntu 9.10 Karmic Koala AMD64 32 bit alternate CD
    • ubuntu 9.10 Karmic Koala powerpc/PS3 CD
    • ubuntu 9.04 Jaunty Jackalope i386 32 bit CD
    • ubuntu 9.04 Jaunty Jackalope i386 32 bit DVD
    • ubuntu 9.04 Jaunty Jackalope AMD64 64 bit CD
    • ubuntu 9.04 Jaunty Jackalope AMD64 64 bit DVD
    • ubuntu 9.04 Jaunty Jackalope i386 32 bit server CD
    • ubuntu 9.04 Jaunty Jackalope i386 32 bit server DVD
    • ubuntu 9.04 Jaunty Jackalope AMD64 64 bit server CD
    • ubuntu 9.04 Jaunty Jackalope AMD64 64 bit server DVD
    • ubuntu 9.04 Jaunty Jackalope powerpc/PS3 CD
    • ubuntu 8.10 Intrepid Ibex i386 32 bit live CD
    • ubuntu 8.10 Intrepid Ibex i386 32 bit live DVD
    • ubuntu 8.10 Intrepid Ibex AMD64 64 bit live CD
    • ubuntu 8.10 Intrepid Ibex AMD64 64 bit live DVD
    • ubuntu 8.10 Intrepid Ibex i386 32 bit server CD
    • ubuntu 8.10 Intrepid Ibex i386 32 bit server DVD
    • ubuntu 8.10 Intrepid Ibex AMD64 64 bit server CD
    • ubuntu 8.10 Intrepid Ibex AMD64 64 bit server DVD
    • ubuntu 8.10 Intrepid Ibex powerpc/PS3 CD
    • ubuntu 8.04 Hardy Heron i386 32 bit live CD
    • ubuntu 8.04 Hardy Heron i386 32 bit live DVD
    • ubuntu 8.04 Hardy Heron AMD64 64 bit live CD
    • ubuntu 8.04 Hardy Heron AMD64 64 bit live DVD
    • ubuntu 8.04 Hardy Heron i386 32 bit server CD
    • ubuntu 8.04 Hardy Heron i386 32 bit server DVD
    • ubuntu 8.04 Hardy Heron AMD64 64 bit server CD
    • ubuntu 8.04 Hardy Heron AMD64 64 bit server DVD
    • ubuntu 8.04 Hardy Heron powerpc/PS3 CD
    • openoffice.org 3.1.1 linux US English CD
    • openoffice.org 3.1.1 Mac OSX Intel US English CD
    • openoffice.org 3.1.1 Solaris US English CD
    • openoffice.org 3.1.1 Windows 32 bit US English CD
    • openoffice.org 3.1.1 all platforms US English DVD
     
  • Software I mirror

    I am a firm believer in the Open Source philosophy – we are greater than the sum of our parts.

    To this end I am an official mirror for a number of open source software:

    • mozilla.org
    • openoffice.org
    • getdeb.net
    • playdeb.net
    • hostip.info

    mozilla.org is probably best known for its web browser Firefox, although there are many strings to Mozilla’s bow other than that.

    openoffice.org is an open source office suite that is compatible with the Microsoft (TM) Office package.

    getdeb.net and playdeb.net are complimentary repositories, getdeb.net focuses on software packages and playdeb.net focuses on games.  They provide prepackaged .deb files with all dependencies suitable for debian based linux such as ubuntu where the original release is only available as source code.

    hostip.info is a constantly updated geolocation database similar to maxmind and geoip but without any attached fees for usage.

    If you have open source and require a stable mirror then don’t hesitate to get in contact with me and we can discuss it.

     
  • Audigy 2 Value digital I/O module hack bypass

    I just purchased one of these cards from ebay specifically to play HD audio through the DVI port of my TV.
    No need for the Creative Sound Blaster Digital I/O Module at all to do this – all it takes is a mono (preferably) or stereo 3.5mm headphone plug, the header plug from a motherboard’s LED with wire attached and a little soldering.
    If you are using a mono 3.5mm headphone adapter connect each wire as follows (there will only be one core and one shield):

    If you are using a stereo 3.5mm headphone adapter connect each wire as follows:

    Connect the 3.5mm plug to the white port of the sound card (labelled digital IO) and the jumper header to the 2 pin socket on the soundcard.
    You may need to turn the jumper header around 180 degrees to get the audio working – one pin is digital audio in and the other is digital audio ground.
    In the sound control panel you need to enable digital I/O or “Audigy Analog/Digital Output Jack” and disable “IEC958 Optical Raw”.

    Edit for ubuntu Karmic Koala 9.10:

    You will need to install alsamixer so you can toggle the options:

    $ sudo apt-get install alsamixer

    $ alsamixer

    Use the cursor keys to select the options:

    “IEC958 Optical Raw” – press ‘M’ so the display shows ‘MM’

    “Audigy Analog/Digital Output Jack” – press ‘M’ so the display shows ‘OO’

    Finally press Escape to exit the program.

    Mail me if this helps you, it’s nice to know I have been useful :)
    labby.co.uk has catchall mail, so anything sent to any address at that domain will reach me :)

     
2 visitors online now
2 guests, 0 members
Max visitors today: 4 at 02:51 am UTC
This month: 6 at 03-01-2010 04:30 pm UTC
This year: 14 at 02-21-2010 02:23 pm UTC
All time: 14 at 02-21-2010 02:23 pm UTC
programming-protein
programming-protein
programming-protein
programming-protein
impressive
impressive
impressive
impressive