我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在XAMPP / CentOS 7上安装php-mssql

I want to connect to a Microsoft SQL Server with my Xampp Server (CentOS 7).

I ran the following commands:

yum install -y epel-release
yum install php-mssql
service xampp restart

When I call mssql_connect('192.168.0.1, 1433', 'user', '***'); in my PHP file it throws the following error:

Fatal error: Call to undefined function mssql_connect() in /opt/lampp/htdocs/index.php on line 39

What am I doing wrong?

近期文章

  • 消除文本框之间的空格
  • PDO :: exec异常处理出错
  • 如何使用gd php合并两个图像
  • 使用PHP-curl:安全标头无效
  • 使用Ajax的父子Selectbox Wordpress
  • 检查文件是否存在/附加带名称的号码
  • Datalist搜索innerHTML而不是值?
  • Wordpress数组不能按标题过滤
  • 将特定的php请求重定向到非php url
  • Wordpress全局变量,我可以在管理面板中编辑
  • Telegram bot:将全文显示为ReplyKeyboardMarkup按钮
  • 从多个表中创建PHP和Mysql中的动态链接
  • 模型保存在yii中不起作用,并且它没有重定向到查看页面
  • 尝试获取http post响应php时curl_setopt()错误
  • PHP Wordpress ACF页面链接
  • custom.tpl文件在opencart中不起作用。 控制器,视图和语言文件的代码如下:
  • 使用Laravel 5建立投票系统
  • 编辑WP支付插件
  • SED无法使用PHP Shell_exec
  • 邮政编码搜索并返回一个链接

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华