PHP5 and Firebird on SUSE 10.1

Discussion in 'Installation/Configuration' started by glasprilla, Oct 4, 2006.

  1. glasprilla

    glasprilla New Member

    Hi

    I have try and try to compile PHP5 on SUSE 10,1 with support for Data Bases: Firebird - Interbase, with handling of sessions, has supported for MySQL, Postgres and also ISPConfig. Somebody has worked to him to the subject:
    Compiling:
    checking for new_aspell_config in - laspell… no
    checking for libedit readline replacement… no
    checking for readline support… yes checking for tgetent in - lncurses… no
    checking for tgetent in - ltermcap… no
    checking for readline in - lreadline… no form: error: readline library not found

    Library readline library not found bu required.
    Are there a modulate rpm php-firebird for SUSE 10.1?
    Help please.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You can run
    Code:
    yast
    and search for the appropriate package. But I think the package is named readline, so you can try to install it like this:
    Code:
    yast -i readline
     
  3. glasprilla

    glasprilla New Member

    PHP5 and Firebird 2.0 on SUSE 10.1 OK

    Falko

    Readline is not avaliable on repositories for SUSE, Error have not been the following packages in the support: readline, but already I solved it, as it follows:

    Download of: www.rpmfind.net :

    - Firebird/FirebirdSS- 2.0.0.127 24-ReleaseCandidate4.i686.rpm
    Distrbution SourceForge.
    - Firebird/php-firebird-5.1.6-1mdv2007.0.i586.rpm
    Distribution Mandriva (Its Ok for SUSE)

    Install them with:
    ---------------
    rpm -Uvh Firebird/FirebirdSS- 2.0.0.127 24-ReleaseCandidate4.i686.rpm
    rpm -Uvh Firebird/php-firebird-5.1.6-1mdv2007.0.i586.rpm
    ---------------
    Verify if acceptance the Firebird module with command:
    ---------------
    php5 - m
    [PHP Modules]
    bcmath
    bz2
    calendar
    ctype
    curl
    date
    dbase
    dom
    exif
    filepro
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    imap
    interbase
    ldap
    libxml
    mbstring
    mcrypt
    mhash
    mysql
    mysqli
    ncurses
    odbc
    openssl
    pcntl
    pcre
    PDO
    pgsql
    posix
    pspell
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    SQLite
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    wddx
    xml
    xmlrpc
    xsl
    zlib

    [Zend Modules]
    --------------
    Module listed as: interbase :eek:

    Next: copy file interbase.so to extensions directory for PHP5, as follow:

    cp /usr/lib/php/extensions/interbase.so /usr/lib/php5/extensions/

    Next: copy 42_firebird.ini file to loader extensions for PHP5, as follow:

    cp /etc/php.d/42_firebird.ini /etc/php5/conf.d/

    Next: restart ISPConfig o Apache2 :p

    /etc/init.d/ispconfig_server restart
    o
    /etc/init.d/apache2 restart

    Ready, OK
     

Share This Page