PHP Installation Problem with php5ts.dll

Q

What is wrong if you get an execution error: "The procedure entry point _zval_dtor could not be located in the dynamic link library php5ts.dll"?

✍: FYIcenter.com

A
If you followed our Installing PHP Engine tutorial, you may run into the following execution error:

1. Open command line window and run the following command:

C:>cd \

C:\>cd Program Files
C:\Program Files>cd php-5.2.0-Win32
C:\Program Files\php-5.2.0-Win32>php -version 

2. You will get an error message box saying: "The procedure entry point _zval_dtor could not be located in the dynamic link library php5ts.dll", as shown in the picture below: php5ts.dll Error

3. If you click OK on the error message box, you will get several similar error messages.

4. Finally, you will get some errors in the command window:

C:\Program Files\php-5.2.0-Win32>php -version
PHP Warning:  PHP Startup: Unable to load dynamic library
   './php_curl.dll' - The specified procedure could not be
   found. in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
   './php_imap.dll' ...
PHP Warning:  PHP Startup: Unable to load dynamic library
   './php_mbstring.dll' ...
PHP Warning:  PHP Startup: Unable to load dynamic library 
   './php_mcrypt.dll' ...
PHP Warning:  PHP Startup: Unable to load dynamic library 
   './php_mysql.dll' ...
PHP Warning:  PHP Startup: Unable to load dynamic library 
   './php_sockets.dll' ...
PHP Warning:  PHP Startup: Unable to load dynamic library 
   './php_soap.dll' ...
PHP 5.2.0 (cli) (built: Nov  2 2006 11:57:36)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technolo...

The error messages tell us that your PHP engine is trying to load some libraries, but those libraries could not be located. See our Configuring PHP Environments tutorial for solution.

2016-09-23, 104177👍, 7💬