Results 1 to 7 of 7

Thread: make failed error when installing pdo via pecl

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Location
    Phoenix, Arizona
    Beans
    19
    Distro
    Ubuntu

    Re: make failed error when installing pdo via pecl

    Is anyone able to help?

  2. #2
    Join Date
    Apr 2008
    Beans
    1

    Re: make failed error when installing pdo via pecl

    I have the same problem. The problem was appeared when updated my ubuntu from 9 to 10 (php5.3 was installed).

    Unfortunately I didn't find solution for this problem. There are few similar topics in internet, but anyone has solution.

  3. #3
    Join Date
    May 2007
    Beans
    86

    Re: make failed error when installing pdo via pecl

    Ok I've found the solution to our problems. The biggest issue here is that PDO is no longer supported in PECL and has been moved to CORE.

    On that note all the PDO drivers for the respected databases have been moved into the main php5 database packages. So when you install php5-sqlite it not only installs the basic driver it also installs the pdo driver at the same time.

    Now if you are getting this error that means that you already attempted to install the outdated pecl version. Doing that seems to corrupt your php installation and now even if you install the right package it still wont work.

    To fix this you must PURGE not remove all the installed packages that start with php5 including php itself.

    Once all these packages are purged reinstall the ones you deleted.

    Finally install the correct php5 database package, so for sqlite install php5-sqlite. After which pdo-sqlite will be properly installed and ready for use.


    Hope this helps,
    LaChild

  4. #4
    Join Date
    Nov 2006
    Location
    Texas, US
    Beans
    36
    Distro
    Ubuntu

    Lightbulb Re: make failed error when installing pdo via pecl

    Thank you! Saved me a bit of t/s on this issue!
    If Linux doesn't have the solution, you have the wrong problem
    -- Gerard Beekmans, LFS

  5. #5
    Join Date
    Nov 2011
    Beans
    1

    Lightbulb Re: make failed error when installing pdo via pecl

    Quote Originally Posted by lachild View Post
    Ok I've found the solution to our problems. The biggest issue here is that PDO is no longer supported in PECL and has been moved to CORE.

    On that note all the PDO drivers for the respected databases have been moved into the main php5 database packages. So when you install php5-sqlite it not only installs the basic driver it also installs the pdo driver at the same time.

    Now if you are getting this error that means that you already attempted to install the outdated pecl version. Doing that seems to corrupt your php installation and now even if you install the right package it still wont work.

    To fix this you must PURGE not remove all the installed packages that start with php5 including php itself.

    Once all these packages are purged reinstall the ones you deleted.

    Finally install the correct php5 database package, so for sqlite install php5-sqlite. After which pdo-sqlite will be properly installed and ready for use.


    Hope this helps,
    LaChild
    thanks!
    After a whole day of searching for a solution to enable curl and pdo, although i had installed them previously, i have found this, followed all steps, and now it works like a charm!
    thank you one more time

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •