Home>Article>Backend Development> What to do if php7ts.dll is missing
Solution to missing php7ts.dll: First download "php7ts.dll" from the Internet; then unzip it and select "X86 or X64" according to the system; finally copy the file directly to the system directory. Can.
Recommended: "PHP Video Tutorial"
General installation method of php7ts.dll control (only Reference):
1. If you are prompted that php7ts.dll is missing or cannot be found when running a certain software or compiling program, you can download php7ts.dll from the Internet and copy it to the specified directory. You can (usually in the system directory or in the directory of the same level as the software), or re-add the file reference.
2. After you download the file from the website, unzip it first (usually a rar compressed package), and then select X86/X64 according to your system. X86 is a 32-bit computer, and X64 is a 64-bit computer. computer. By default, they support 32-bit systems. If you don’t know whether it is X86 or X64, you can read this article.
3. Select the file version according to the software situation. This step is more complicated. If it is a Windows dll file,
If the version number starts with 5.0 or contains nt, it is usually a Windows 2000 file.
The files whose version number starts with 5.1 or contains xp, xpsp1, xpsp2, xpsp3 information are generally WindowsXP files.
Files with version numbers beginning with 6.0 or containing longhorn or vista information are generally WindowsVista files.
Files with version numbers beginning with 6.1 or containing win7 information are generally Windows 7 files. If it is not a Windows dll file, you need to flexibly check the version number, description, information provided by netizens, and the version number of the related dll to judge.
4. Copy the file directly to the system directory:
1. For Windows 95/98/Me system, copy php7ts.dll to the C:\Windows\System directory.
2. For Windows NT/2000 system, copy php7ts.dll to the C:\WINNT\System32 directory.
3. For Windows XP/WIN7/win10 systems (64-bit systems correspond to 64-bit dll files, 32-bit systems correspond to 32-bit dll files), copy php7ts.dll to the C:\Windows\System32 directory.
4. If your system is 64-bit, please copy the 32-bit dll file to the C:\Windows\SysWOW64 directory. For specific methods, please refer to this article: Win7 64-bit Ultimate System Runs regsvr32 .exe prompts that the version is incompatible
5. Open "Start-Run-Enter regsvr32 php7ts.dll" and press Enter to solve the problem. I hope the php7ts.dll provided by Script Home will be helpful to you.
If you download the dll through Script Home, you can save the following code as "Registration.bat" and put it in the same directory as the dll file (as long as these two files are in the same folder) ), double-click registration.bat, and the registration of php7ts.dll will be automatically completed (win98 does not support it).
The following is the registration bat file corresponding to the system and dll version (a 64-bit system corresponds to a 64-bit dll file, and a 32-bit system corresponds to a 32-bit dll file. If a 64-bit system installs a 32-bit dll file, Please replace system32 below with SysWOW64.)
General situation
@echo 开始注册 copy php7ts.dll %windir%\system32\ regsvr32 %windir%\system32\php7ts.dll /s @echo php7ts.dll注册成功 @pause
64-bit system uses 32-bit DLL
@echo 开始注册 copy php7ts.dll %windir%\SysWOW64\ regsvr32 %windir%\SysWOW64\php7ts.dll /s @echo php7ts.dll注册成功 @pause
The above is the detailed content of What to do if php7ts.dll is missing. For more information, please follow other related articles on the PHP Chinese website!