program cant start because php5.dll is missing

前端 未结 9 909
无人及你
无人及你 2020-12-06 05:03
  1. I installed XAMPP , phpinfo: PHP Version 5.3.5
  2. Downloaded PHPPDT, installed
  3. downloaded webserver debug extension, copied dummy.php
  4. added zen
相关标签:
9条回答
  • 2020-12-06 05:10

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

    0 讨论(0)
  • 2020-12-06 05:11

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

    What you can do 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 your problem.

    Thank You!

    0 讨论(0)
  • 2020-12-06 05:12

    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.
    0 讨论(0)
  • 2020-12-06 05:18

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

    Take care of download the right version of Phalcon:

    Phalcon 1.3.2 - Windows x86 for PHP 5.5.0 (VC11)

    0 讨论(0)
  • 2020-12-06 05:19

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

    0 讨论(0)
  • 2020-12-06 05:25

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

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

    0 讨论(0)
提交回复
热议问题