Help installing pdo modules on a freebsd server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MDMC

    Help installing pdo modules on a freebsd server

    Hi all,

    I'm trying to install two extensions into my php configuration;
    pdo and pdo_mysql
    I have downloaded the following packages;

    and

    I have decompressed them and then this is where I get stuck. I can not
    find any documention on what to do next.
    There is a Makefile.frag in the uncompressed directory, but I'm not
    sure what to do with it.

    How do I install these packages so I can include the pdo.so and
    pdo_mysql.so in my extensions.ini file?

    Any help would be greatly appreciated.

    Cheers
    Marty.
  • Rik Wasmus

    #2
    Re: Help installing pdo modules on a freebsd server

    On Wed, 21 May 2008 07:59:40 +0200, MDMC <martinmcgregor @gmail.comwrote :
    Hi all,
    >
    I'm trying to install two extensions into my php configuration;
    pdo and pdo_mysql
    I have downloaded the following packages;

    and

    I have decompressed them and then this is where I get stuck. I can not
    find any documention on what to do next.
    There is a Makefile.frag in the uncompressed directory, but I'm not
    sure what to do with it.
    >
    How do I install these packages so I can include the pdo.so and
    pdo_mysql.so in my extensions.ini file?
    >
    Any help would be greatly appreciated.
    The easiest way is by using Pecl:
    pecl install PDO
    pecl install PDO_MYSQL

    --
    Rik Wasmus
    ....spamrun finished

    Comment

    • MDMC

      #3
      Re: Help installing pdo modules on a freebsd server

      On May 21, 5:12 pm, "Rik Wasmus" <luiheidsgoe... @hotmail.comwro te:
      On Wed, 21 May 2008 07:59:40 +0200, MDMC <martinmcgre... @gmail.comwrote :
      Hi all,
      >
      I'm trying to install two extensions into my php configuration;
      pdo and pdo_mysql
      I have downloaded the following packages;

      and

      I have decompressed them and then this is where I get stuck. I can not
      find any documention on what to do next.
      There is a Makefile.frag in the uncompressed directory, but I'm not
      sure what to do with it.
      >
      How do I install these packages so I can include the pdo.so and
      pdo_mysql.so in my extensions.ini file?
      >
      Any help would be greatly appreciated.
      >
      The easiest way is by using Pecl:
      pecl install PDO
      pecl install PDO_MYSQL
      >
      --
      Rik Wasmus
      ...spamrun finished
      Thanks for your reply. Although, I dont have pecl. I also couldnt find
      a way to install that.

      Marty.

      Comment

      • Janwillem Borleffs

        #4
        Re: Help installing pdo modules on a freebsd server

        MDMC schreef:
        How do I install these packages so I can include the pdo.so and
        pdo_mysql.so in my extensions.ini file?
        >
        If you can't use pecl, you can attempt installation by running `phpize`
        first, followed by `./configure --help' to check the configuration
        options and flags.

        The phpize command should be available on your system when you installed
        PHP via portinstall.


        JW

        Comment

        • MDMC

          #5
          Re: Help installing pdo modules on a freebsd server

          On May 21, 11:36 pm, Janwillem Borleffs <j...@jwscripts .comwrote:
          MDMC schreef:
          >
          How do I install these packages so I can include the pdo.so and
          pdo_mysql.so in my extensions.ini file?
          >
          If you can't use pecl, you can attempt installation by running `phpize`
          first, followed by `./configure --help' to check the configuration
          options and flags.
          >
          The phpize command should be available on your system when you installed
            PHP via portinstall.
          >
          JW
          Fantastic. Thanks a lot JW.

          Turns out i can't install it with my version of php. I put PDO on
          another server and it installed smoothly.

          Cheers
          MDMC

          Comment

          Working...