Home  >  Article  >  Backend Development  >  搜寻php4ts.dll(php5ts.dll)方法

搜寻php4ts.dll(php5ts.dll)方法

WBOY
WBOYOriginal
2016-06-13 11:10:33838browse

搜索php4ts.dll(php5ts.dll)方法
CGI 和 CLI 可执行文件以及 web 服务器模块都需要 php4ts.dll(php5ts.dll)。必须确认该文件可以在 PHP 安装路径中找到。对该 DLL 的搜索顺序为: 
调用 php.exe 时所在的目录,或者若使用 SAPI 模块时,web 服务器的目录(例如 C:\Program Files\Apache Group\Apache2\bin)。 
任何在 Windows 的 PATH 环境变量中指定的目录。 
要让 php4ts.dll / php5ts.dll 能正确被搜索到,有下面三个选择: 
 原文参考自站长网http://www.software8.co/wzjs/PHPshili/2404.html
1.  复制该文件到 Windows 系统目录 
2.  复制该文件到 web 服务器的目录 
3.  把 PHP 目录(例如 C:\php)添加到 PATH 环境变量中。 
    为了将来更好的维护,建议使用最后一个选择,将 PHP 目录添加到 PATH 环境变量中,因为这样更便于将来升级 PHP。PATH 环境变量中(别忘了重新启动电脑,光注销还不够)。 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn