如何编辑此.ini文件以安装slqsrv扩展?

时间:2018-05-01 09:08:17

标签: php cpanel sqlsrv

我正在尝试在cPanel上安装sqlsrv驱动程序,运行CentOS。我已经为它下载了驱动程序并将两个.so文件复制到/php/ext.Should我是否也复制了签名文件?在我复制它们之后,我去查看php.ini文件进行修改,就像我在个人XAMPP安装上所做的那样,但是这个文件非常奇怪:

    ; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)

allow_url_fopen = On
allow_url_include = On
asp_tags = Off
display_errors = On
enable_dl = Off
file_uploads = On
max_execution_time = 300
max_input_time = 600
max_input_vars = 6000
memory_limit = 1024M
post_max_size = 1024M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php55"
upload_max_filesize = 1024M
zlib.output_compression = Off
extension=php_pdo_sqlsrv_71_nts
extension=php_sqlsrv_71_nts

麻烦的是,我不知道如何重新启动cPanel以查看我是否正确安装了驱动程序或类似的东西。

提前谢谢!

0 个答案:

没有答案