Tag Archives: mysql

Cómo instalar Firebird en Centos con Apache, PHP, MySQL y CPanel

En este post se muestra cómo instalar y configurar este excelente motor de base de datos en un servidor
Centos con Apache, PHP, MySQL y CPanel.

1) Instalar Firebird desde el repositorio de la distro.
En mi caso, Centos 6, hay que instalar como fuente el repositorio EPL donde se
encuentran los packages.
Incluir los paquetes de desarrollo, ya que contienen librerias a utilizar por EasyApache
durante el build de PHP.

2) Esta es mi configuración PHP antes de realizar la instalación.

‘./configure’ ‘–disable-fileinfo’ ‘–disable-pdo’ ‘–enable-bcmath’ ‘–enable-calendar’ ‘–enable-ftp’
‘–enable-libxml’ ‘–enable-sockets’ ‘–prefix=/usr/local’ ‘–with-apxs2=/usr/local/apache/bin/apxs’
‘–with-curl=/opt/curlssl/’ ‘–with-imap=/opt/php_with_imap_client/’ ‘–with-imap-ssl=/usr’
‘–with-kerberos’ ‘–with-libdir=lib64′ ‘–with-libxml-dir=/opt/xml2/’ ‘–with-mysql=/usr’
‘–with-mysql-sock=/var/lib/mysql/mysql.sock’ ‘–with-openssl=/usr’ ‘–with-openssl-dir=/usr’
‘–with-pcre-regex=/opt/pcre’ ‘–with-pic’ ‘–with-zlib’ ‘–with-zlib-dir=/usr’

3) cd /var/cpanel/easy/apache/rawopts/
3.1) Crear/modificar archivo all_php5
3.2) Agregar la siguiente linea:
–with-interbase=/opt/firebird/

4) Ejecutar EasyApache

/scripts/easyapache

5) Luego de escupir una lista larga de resultados de compilación en la consola, muestra el suiguiente mensaje:

!! Build Complete! !!
!! Verbose logfile is at ‘/usr/local/cpanel/logs/easy/apache/build.1403968238′ !

6) Mi configuración PHP ahora muestra a Firebird como una opción de PHP.

‘./configure’ ‘–disable-fileinfo’ ‘–disable-pdo’ ‘–enable-bcmath’ ‘–enable-calendar’ ‘–enable-ftp’
‘–enable-libxml’ ‘–enable-sockets’ ‘–prefix=/usr/local’ ‘–with-apxs2=/usr/local/apache/bin/apxs’
‘–with-curl=/opt/curlssl/’ ‘–with-imap=/opt/php_with_imap_client/’ ‘–with-imap-ssl=/usr’
‘–with-interbase=/opt/firebird/’ ‘–with-kerberos’ ‘–with-libdir=lib64′ ‘–with-libxml-dir=/opt/xml2/’
‘–with-mysql=/usr’ ‘–with-mysql-sock=/var/lib/mysql/mysql.sock’ ‘–with-openssl=/usr’
‘–with-openssl-dir=/usr’ ‘–with-pcre-regex=/opt/pcre’ ‘–with-pic’ ‘–with-zlib’ ‘–with-zlib-dir=/usr’

Referencias:

http://www.cpanel.net/support/docs/easyapache.htm
http://forums.eukhost.com/f15/install-compile-firebird-interbase-database-server-php-linux-server-5712/
https://documentation.cpanel.net/display/EA/Raw+Opts
https://groups.yahoo.com/neo/groups/firebird-support/conversations/topics/93440?o=1&xm=1&m=p
http://gsbelarus.com/gs/fdbconvert/fdbconvert_eng.html