matfish Posted March 9, 2009 Share Posted March 9, 2009 Hi, I need to install via SSH php-mssql module. I have "wget" the RPM but I'm getting the following error and I don't know how to resolve: [root@S0368-0577-WD01 rpm]# rpm -ivh php-mssql-5.1.6-4.el5.i386.rpm warning: php-mssql-5.1.6-4.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6 error: Failed dependencies: libsybdb.so.5 is needed by php-mssql-5.1.6-4.el5.i386 Any help would be appreciated. Many thanks Quote Link to comment https://forums.phpfreaks.com/topic/148609-rpm-help/ Share on other sites More sharing options...
trq Posted March 9, 2009 Share Posted March 9, 2009 Any reason your not using a package manager to handle this? Package managers these days will sort out all your dependency issues for you, what distro are you using? Quote Link to comment https://forums.phpfreaks.com/topic/148609-rpm-help/#findComment-780640 Share on other sites More sharing options...
matfish Posted March 10, 2009 Author Share Posted March 10, 2009 I've been using yum, this hicups the same dependancy errors. I then go though installing all sorts to rectify the errors. I thought I was getting somewhere then I get: Downloading Packages: freetds-0.64-1.el5.rf.i386.rpm | 1.7 MB 00:03 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6 Public key for php-mssql-5.1.6-4.el5.i386.rpm is not installed I've got Redhat 5 running - its a server with a hosting company who are unwilling to help. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/148609-rpm-help/#findComment-781003 Share on other sites More sharing options...
matfish Posted March 10, 2009 Author Share Posted March 10, 2009 just installed apt-get as this seems popular? Not familiar with this one thou. Quote Link to comment https://forums.phpfreaks.com/topic/148609-rpm-help/#findComment-781011 Share on other sites More sharing options...
matfish Posted March 10, 2009 Author Share Posted March 10, 2009 Think I've done it - just checking Quote Link to comment https://forums.phpfreaks.com/topic/148609-rpm-help/#findComment-781014 Share on other sites More sharing options...
trq Posted March 10, 2009 Share Posted March 10, 2009 just installed apt-get as this seems popular? Not familiar with this one thou. apt-get is Debians package manager. I'm not sure how well it will work with RH. Yum should be able to handle (and does) handle dependency issues. What is the exact error you get when you use yum? And what was the exact commend you used? Quote Link to comment https://forums.phpfreaks.com/topic/148609-rpm-help/#findComment-781019 Share on other sites More sharing options...
matfish Posted March 10, 2009 Author Share Posted March 10, 2009 "apt-get install freetds" and then "apt-get install php-mssql" did the trick and overcome all dependencies. I restarted httpd and all works fine. Many thanks for your help. Quote Link to comment https://forums.phpfreaks.com/topic/148609-rpm-help/#findComment-781097 Share on other sites More sharing options...
matfish Posted March 12, 2009 Author Share Posted March 12, 2009 If mssql connect is sending a request and I can see it trying to hit the sql server but doesnt give an error message - is there a problem with the mssql_module? Many thanks Quote Link to comment https://forums.phpfreaks.com/topic/148609-rpm-help/#findComment-783052 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.