dongtang4954 2019-02-04 12:30
浏览 399

在MAMP中添加sqlsrv和pdo_sqlsrv时出现问题

Here I want to add sqlsrv and pdo_sqlsrv in MAMP. I want to download and install the package with pecl, running this command:

sudo pecl install sqlsrv pdo_sqlsrv

But i got error:

Could not download from "http://pecl.php.net/get/pdo_sqlsrv-5.3.0.tgz", cannot download "pecl/pdo_sqlsrv" (File http://pecl.php.net:80/get/pdo_sqlsrv-5.3.0.tgz not valid (received: HTTP/1.1 503 Service Unavailable )) Error: cannot download "pecl/pdo_sqlsrv" Could not download from "http://pecl.php.net/get/sqlsrv-5.3.0.tgz", cannot download "pecl/sqlsrv" (File http://pecl.php.net:80/get/sqlsrv-5.3.0.tgz not valid (received: HTTP/1.1 503 Service Unavailable )) Error: cannot download "pecl/sqlsrv" Download failed install failed

I tried to download the package directly from http://pecl.php.net/get/pdo_sqlsrv-5.3.0.tz but just don't know where or how to generate .so files. I'm really new to Mac. Please help. Thanks.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 buildozer打包kivy app失败
    • ¥30 在vs2022里运行python代码
    • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
    • ¥15 求解 yolo算法问题
    • ¥15 虚拟机打包apk出现错误
    • ¥15 用visual studi code完成html页面
    • ¥15 聚类分析或者python进行数据分析
    • ¥15 三菱伺服电机按启动按钮有使能但不动作
    • ¥15 js,页面2返回页面1时定位进入的设备
    • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复