[ACCEPTED]-program cant start because php5.dll is missing-debugging

Accepted answer
Score: 38

if your php version is Non-Thread-Safe (nts) you 11 must use php extension with format example: extension=php_cl_dbg_5_2_nts.dll else 10 if your php version is Thread-Safe (ts) you 9 must use php extension with format example: extension=php_cl_dbg_5_2_ts.dll (notice 8 bolded words)

So if get error like above. Firstly, check 7 your PHP version is nts or ts, if is nts.
Then 6 check in php.ini whether has any line like 5 zend_extension_ts="C:\xammp\php\ext\php_dbg.dll-5.2.x" choose 4 right version of php_dbg.dll-5.2.x from 3 it homepage (google for it). Change from 2 zend_extension_ts to zend_extension_nts.

Hope 1 this help.

Score: 4

Download php5.dll (http://windows.php.net/download/) and copy it to apache/bin 3 folder. That solved it for me (Win 7 64 2 bit apache 32 bit)

EDIT: Start with the non-thread 1 safe version.

Score: 3

For Wamp x86+Phalcon users (with same error):

Take care of 2 download the right version of Phalcon:

Phalcon 1 1.3.2 - Windows x86 for PHP 5.5.0 (VC11)

Score: 2

I had the same problem I switched from wamp 5 to xampp and yes PHP was working because 4 my path was still pointing to my old installation. I 3 had forgotten to change it to point to my 2 new php installation which version of php 1 didn't match the rest at all.

Score: 2

In case this might help someone, after installing 16 the thread safe version of PHP 5.5.1, everything 15 was working under apache for my dev sites, but 14 I ran into the same "php5.dll is missing" problem 13 installing Composer using the Composer-Setup.exe 12 - or, as I soon discovered, just running 11 something as simple as php -v from the command 10 line. I made a copy of php5ts.dll and named 9 it php5.dll and everything worked. I assume 8 the Composer installer was specifically 7 looking for "php5.dll" and I knew that the 6 thread safe code would be run by the renamed 5 .dll. I also assume something is wrong with 4 my setup to screw up the command line functionality, but 3 with everything working, I have more important 2 issues to deal with than to try and find 1 the problem.

Score: 2

I just now faced this issue while trying 3 to restart XAMPP Apache.

What you can do 2 to solve this is:

  1. download PHP5.dll from http://originaldll.com/file/php5.dll/30704.html
  2. Copy the downloaded php5.dll to C:\xampp\php
  3. Start APACHE and MySql from XAMPP control panel

Hope my solution solves 1 your problem.

Thank You!

Score: 0

I needed to change environment variable 4 PATH and PHPRC. Also open new cmd.

I already had PHP 3 installed and added EasyPHP when the problem 2 came up. After I changed both variables 1 to C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\binaries\php\php_runningversion it worked fine.

Score: 0

When you open phpinfo() see if the thread 6 safety is enable or not enable also see 5 the version of php and see MSVC-- what 4 is the number in place of -- and see the 3 architecture these all things help u to 2 get the suitable php driver

here a url help 1 u to get a php driver https://s3.amazonaws.com/drivers.mongodb.org/php/index.html

Score: 0

What you can do to solve this is:

  1. Download PHP5.dll or PHP7.dll from: http://windows.php.net/download/.
  2. Copy the downloaded php5.dll or php7.dll to C:\xampp\php.
  3. Start Apache and MySQL from XAMPP Control Panel.


More Related questions