Вы находитесь на странице: 1из 2

Procedimiento para la instalacin manual de PHP con soporte MS SQL SERVER en la nueva IMAGEN 1. Instalar el FreeTDS versin 0.62.

3 # cd /SoftwareAppliance # wget http://www.cyberline.com.pe/freetds-0.62.3.tar.gz # tar -zxvf freetds-0.62.3.tar.gz # cd freetds-0.62.3 # ./configure --prefix=/usr/local/freetds # make # make install 2. Configurar el FreeTDS de acuerdo a indicaciones del Cliente (Por ejemplo). # vi /usr/local/freetds/etc/freetds.conf [SRVSQL] host = Nombre o IP del servidor MS SQL SERVER port = 1433 tds version = 4.2 3. Probar la conexin al servidor MS SQL SERVER (sa es el usuario de conexin, el cliente deber indicar el usuario y contrasea para la prueba, 1> significa que la conexin se realizo satisfactoriamente). # tsql -S SRVSQL -U sa locale is "C" locale charset is "ANSI_X3.4-1968" Password: 1> 3. Instalar el PHP version 5.2.1 # cd /SoftwareAppliance # wget http://www.cyberline.com.pe/php-5.2.1.tar.bz2 # bzip2 -dc php-5.2.1.tar.bz2 | tar -xv # cd php-5.2.1 # ./configure --prefix=/usr/lib/php5 --host=i686-pc-linux-gnu --mandir=/usr/lib/php5/man --infodir=/usr/lib/php5/info --sysconfdir=/etc --cachefile=./config.cache --disable-cli --with-apxs2=/usr/sbin/apxs2 --with-config-filepath=/etc/php/apache2-php5 --with-config-file-scan-dir=/etc/php/apache2-php5/extactive --without-pear --disable-bcmath --without-bz2 --disable-calendar --without-curl --without-curlwrappers --disable-dbase --disable-exif --without-fbsql --without-fdftk --disable-filter --disable-ftp --with-gettext --without-gmp --disable-hash --disable-json --without-kerberos --enable-mbstring --with-mcrypt --with-mhash --without-msql --with-ncurses --with-openssl --with-openssl-dir=/usr --disable-pcntl --disable-pdo --without-pgsql --with-pspell --without-recode --disable-simplexml --disable-shmop --with-snmp --disable-soap --enable-sockets --disable-sysvmsg --disable-sysvsem --disable-sysvshm --without-tidy --disable-tokenizer --disable-wddx --disable-xmlreader --disable-xmlwriter --without-xmlrpc --with-xsl --disable-zip --with-zlib --disabledebug --enable-dba --without-cdb --with-db4 --without-flatfile --with-gdbm --withoutinifile --without-qdbm --with-freetype-dir=/usr --with-t1lib=/usr --disable-gd-jis-conv --with-jpeg-dir=/usr --with-png-dir=/usr --without-xpm-dir --with-gd --with-imap --with-imap-ssl --with-ldap --without-ldap-sasl --with-mysql=/usr --with-mysqlsock=/var/run/mysqld/mysqld.sock --without-mysqli --with-readline --without-libedit --without-mm --without-sqlite --with-mssql=/usr/local/freetds/ # make

# make install 4. Reiniciar el servicio WEB # /etc/init.d/apache2 restart 5. Realizar pruebas de operatividad con la aplicacin del cliente.

Вам также может понравиться