Enabling InteBase for php

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

    Enabling InteBase for php

    Hi,
    how can i enable InterBase support in php.ini.
    Thanks.
    Cingy

  • Henk Burgstra

    #2
    Re: Enabling InteBase for php

    On Sun, 11 Apr 2004 20:01:12 +0200, Cingy wrote:
    [color=blue]
    > Hi,
    > how can i enable InterBase support in php.ini.
    > Thanks.
    > Cingy
    >[/color]
    You can't.
    PHP has to be configured with Interbase support. From the manual:
    "To enable InterBase support configure PHP --with-interbase[=DIR],
    where DIR is the InterBase base install directory, which defaults
    to /usr/interbase.

    Note to Win32 Users: In order to enable this module on a Windows
    environment, you must copy gds32.dll from the DLL folder of the PHP/Win32
    binary package to the SYSTEM32 folder of your windows machine.
    (Ex: C:\WINNT\SYSTEM 32 or C:\WINDOWS\SYST EM32).
    In case you installed the InterBase database server on the same machine
    PHP is running on, you will have this DLL already. Therefore you don't
    need to copy gds32.dll from the DLL folder."

    PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


    Regards,
    Henk Burgstra

    Comment

    • Weinhandl Herbert

      #3
      Re: Enabling InteBase for php

      Cingy schrieb:[color=blue]
      > Hi,
      > how can i enable InterBase support in php.ini.
      > Thanks.
      > Cingy[/color]

      you need the php source-code if you want to install a php-extension like
      databases.

      in the php-source directory there is a subdirectory ext for several
      extensions e.g.:
      for interbase/firebird exists the interbase subdirectory.

      you go into the interbase directory an issue the command

      phpize

      which creates several files for the usual installation process

      ./configure
      make
      make install

      depending on your php-version you must edit /etc/php.ini
      or add a file to /etc/php/ (e.g.: 32_interbase.in i
      with content: extension = interbase.so)


      happy databasing

      herbert



      Comment

      • Cingy

        #4
        Re: Enabling InteBase for php

        This is what i needed.
        Thanks
        Cingy
        Weinhandl Herbert wrote:[color=blue]
        > Cingy schrieb:
        >[color=green]
        >> Hi,
        >> how can i enable InterBase support in php.ini.
        >> Thanks.
        >> Cingy[/color]
        >
        >
        > you need the php source-code if you want to install a php-extension like
        > databases.
        >
        > in the php-source directory there is a subdirectory ext for several
        > extensions e.g.:
        > for interbase/firebird exists the interbase subdirectory.
        >
        > you go into the interbase directory an issue the command
        >
        > phpize
        >
        > which creates several files for the usual installation process
        >
        > ./configure
        > make
        > make install
        >
        > depending on your php-version you must edit /etc/php.ini
        > or add a file to /etc/php/ (e.g.: 32_interbase.in i
        > with content: extension = interbase.so)
        >
        >
        > happy databasing
        >
        > herbert
        >
        >
        >[/color]

        Comment

        Working...