Ver Mensaje Individual
  #11 (permalink)  
Antiguo 27/08/2008, 02:02
Avatar de Kamae
Kamae
 
Fecha de Ingreso: abril-2008
Ubicación: Barcelona (Catalunya)
Mensajes: 307
Antigüedad: 16 años, 6 meses
Puntos: 13
Respuesta: Como configurar MSSQL para PHP en Linux

Muchas gracias por el interés y por el manual :P

Yo ya no sé qué más hacer, haciendo un resumen, hice:

Cita:
[root@localhost suport]# wget http://rpms.famillecollet.com/remi-release-7.rpm
--18:17:15-- http://rpms.famillecollet.com/remi-release-7.rpm
=> `remi-release-7.rpm'
Se está conectando a 192.168.1.10:8080...connectado.
Proxy: se ha mandado una petición, se está esperando una respuesta...200 OK
Tamaño: 6,284 (6.1K) [application/x-rpm]

100%[====================================>] 6,284 --.--K/s

18:17:15 (52.87 KB/s) - se ha guardado «remi-release-7.rpm» [6284/6284]

[root@localhost suport]# rpm -Uvh remi-release-7.rpm
warning: remi-release-7.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
Preparing... ########################################### [100%]
1:remi-release ########################################### [100%]

[root@localhost yum.repos.d]# vi remi.repo
// Modifico y lo pongo en enable=1
[root@localhost yum.repos.d]# yum update php*
Loading "installonlyn" plugin
Setting up Update Process
fedora 100% |=========================| 2.1 kB 00:00
remi 100% |=========================| 1.9 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php-cli.i386 0:5.2.6-2.fc7.remi set to be updated
---> Package php.i386 0:5.2.6-2.fc7.remi set to be updated
---> Package php-common.i386 0:5.2.6-2.fc7.remi set to be updated
---> Package php-mysql.i386 0:5.2.6-2.fc7.remi set to be updated
---> Package php-ldap.i386 0:5.2.6-2.fc7.remi set to be updated
---> Package php-pdo.i386 0:5.2.6-2.fc7.remi set to be updated
--> Processing Dependency: libsqlite.so.0 for package: php-pdo
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package sqlite2.i386 0:2.8.17-1.fc6 set to be updated

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Updating:
php i386 5.2.6-2.fc7.remi remi 1.3 M
php-cli i386 5.2.6-2.fc7.remi remi 2.5 M
php-common i386 5.2.6-2.fc7.remi remi 230 k
php-ldap i386 5.2.6-2.fc7.remi remi 34 k
php-mysql i386 5.2.6-2.fc7.remi remi 83 k
php-pdo i386 5.2.6-2.fc7.remi remi 90 k
Installing for dependencies:
sqlite2 i386 2.8.17-1.fc6 fedora 170 k

Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 6 Package(s)
Remove 0 Package(s)

Total download size: 4.3 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : php-common # [ 1/13]warning: /etc/php.ini created as /etc/php.ini.rpmnew
Updating : php-common ####################### [ 1/13]
Updating : php-cli ####################### [ 2/13]
Installing: sqlite2 ####################### [ 3/13]
Updating : php-pdo ####################### [ 4/13]
Updating : php ####################### [ 5/13]
Updating : php-mysql ####################### [ 6/13]
Updating : php-ldap ####################### [ 7/13]
Cleanup : php-cli ####################### [ 8/13]
Cleanup : php ####################### [ 9/13]
Cleanup : php-common ####################### [10/13]
Cleanup : php-mysql ####################### [11/13]
Cleanup : php-ldap ####################### [12/13]
Cleanup : php-pdo ####################### [13/13]

Dependency Installed: sqlite2.i386 0:2.8.17-1.fc6
Updated: php.i386 0:5.2.6-2.fc7.remi php-cli.i386 0:5.2.6-2.fc7.remi php-common.i386 0:5.2.6-2.fc7.remi php-ldap.i386 0:5.2.6-2.fc7.remi php-mysql.i386 0:5.2.6-2.fc7.remi php-pdo.i386 0:5.2.6-2.fc7.remi
Complete!

[root@localhost etc]# /etc/init.d/httpd restart

[root@localhost Escriptori]# wget http://rpms.famillecollet.com/RPM-GPG-KEY-remi
--11:15:35-- http://rpms.famillecollet.com/RPM-GPG-KEY-remi
=> `RPM-GPG-KEY-remi'
Se está conectando a 192.168.1.10:8080...conectado.
Proxy: se ha mandado la petición, se está esperando una respuesta...200 OK
Mida: 1,340 (1.3K) [text/plain]

100%[================================================== ===>] 1,340 --.--K/s

11:15:35 (48.34 MB/s) - se ha guardado «RPM-GPG-KEY-remi» [1340/1340]

[root@localhost Escriptori]# rpm --import RPM-GPG-KEY-remi
warning: cannot get exclusive lock on /var/lib/rpm/Packages
[root@localhost Escriptori]# rpm -q gpg-pubkey --qf "%{summary} ->%{version}-%{release}"
gpg(Fedora Project <[email protected]>) ->4f2a6fd2-3f9d9d3bgpg(Remi Collet <[email protected]>) ->00f97f56-467e318agpg(Remi Collet <[email protected]>) ->00f97f56-467e318a

[root@localhost etc]# /etc/init.d/httpd restart

// Ejecuto y sigue mi amigo Fatal Error:
Call to undefined function mssql_connect()
Ahora sí lo hice todo creo, pero sigue sin funcionarme :S
Que hago maaal? :cry: xD

Saludos y gracias