我在Windows上,我刚刚启用了PHP的OpenSSL扩展,但是当我尝试通过命令行运行php时,它会在C:/php中查找扩展的文件,而实际上它在C:/php5.6.4/ext中
我怎样才能告诉PHP它在错误的文件夹中查找?
通过 php.ini 配置 PHP。 extension_dir
是您想要的指令。
http://php.net/manual/en/ini.core.php#ini.extension-dir
我在Windows上,我刚刚启用了PHP的OpenSSL扩展,但是当我尝试通过命令行运行php时,它会在C:/php中查找扩展的文件,而实际上它在C:/php5.6.4/ext中
我怎样才能告诉PHP它在错误的文件夹中查找?
通过 php.ini 配置 PHP。 extension_dir
是您想要的指令。
http://php.net/manual/en/ini.core.php#ini.extension-dir