Results 1 to 3 of 3
Hi guys,
I have a server on which is running a RedHat Entreprise Linux 5. I tried to install php-mssql using different way but I did not succeed for now. ...
- 02-25-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
RH EL5 php-mssql installation
Hi guys,
I have a server on which is running a RedHat Entreprise Linux 5. I tried to install php-mssql using different way but I did not succeed for now. This is what I have done for now:
1. using yum
=> it's not workingCode:[root@fa-apps3 ~]# yum install php-mssql Loaded plugins: rhnplugin rhel-debuginfo | 951 B 00:00 rhel-x86_64-server-5 | 1.3 kB 00:00 Setting up Install Process Parsing package install arguments Package php-mssql-5.1.6-4.el5.x86_64 installed and not available Nothing to do [root@fa-apps3 ~]#
2. I have download the rpm for the el5_x86_64 distro, and try to install it:
=> First time it says that it's not installed, second time it's already installed... I am a bit confused.Code:[root@fa-apps3 ~]# rpm -q php-mssql-5.1.6-4.el5.x86_64.rpm package php-mssql-5.1.6-4.el5.x86_64.rpm is not installed [root@fa-apps3 ~]# rpm -i php-mssql-5.1.6-4.el5.x86_64.rpm warning: php-mssql-5.1.6-4.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6 package php-mssql-5.1.6-4.el5.x86_64 is already installed [root@fa-apps3 ~]#
3. I saw somewhere on internet that I had to install freetds before:
=> same story, installed or not installed ??Code:[root@fa-apps3 ~]# rpm -q freetds-0.64-6.el5.x86_64.rpm package freetds-0.64-6.el5.x86_64.rpm is not installed [root@fa-apps3 ~]# rpm -i freetds-0.64-6.el5.x86_64.rpm warning: freetds-0.64-6.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6 package freetds-0.64-6.el5.x86_64 is already installed [root@fa-apps3 ~]#
well it still not working and I am a bit stuck now. I am not an expert in Linux so recompilation & Co I had to avoid...
Could you help me please ?
Cheers guys
PS: some more information about my configuration:
uname - a: Linux xxxxx.xxxxx.local 2.6.18-53.1.19.el5 #1 SMP Tue Apr 22 03:01:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
httpd -v: Server version: Apache/2.2.3
Server built: Nov 12 2008 07:09:03
php -v: PHP 5.1.6 (cli) (built: Nov 12 2008 11:22:53)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
As you had understood I'd like to install the module mssql for PHP to make connection with a MS SQL Server which is running on a 2003 windows server.
- 02-26-2009 #2Linux Newbie
- Join Date
- Feb 2009
- Posts
- 99
which method of apache you are using ?
rpm ? if that.
notice: Package php-mssql-5.1.6-4.el5.x86_64 installed and not available <- you install this package already.
compile? if that.
you can not use rpm php-mssql package. mybey you have to recompile php again. add configuration with compiling.
use ./configure --with-mssql= <- your path . default is /usr/local/freetds
- 02-26-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
I have no idea which method I am unsing. I guess rpm because I have installed httpd using yum command.
After checking my PHP script it seems that it's working I got a mssql links ressource.
I was so deep in this installation that I did not check that it was working.
Sorry for that,
And thanks !


Reply With Quote