Cannot install Composer because error in Wamp
Posted by: peterkn (---.rev.stofanet.dk)
Date: May 14, 2018 10:24PM

When I try to install Composer this error comes:

PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.6.35/ext/php_cl_dbg_5_6_VC11.dll' - %1 is not a valid Win32-application.
in Unknown on line 0

I have updated all Visual C++ and my Wamp-version is 3.1.3 and it is 64-bit
What have i to do?

Options: ReplyQuote
Re: Cannot install Composer because error in Wamp
Posted by: RiggsFolly (Moderator)
Date: May 15, 2018 11:14AM

Hi,

I use composer and as you say there is not such DLL distributed with either the 32 or 64bit versions of WAMPServer.

I can only assume that you have added this to the `php.ini` file yourself OR that you have another `php.ini` file somewhere on your system OR that you have added some other PHP distribution to your PATH in windows,


First look for any php.ini file that is NOT in the \wamp\ or `\wamp64` folder structure. The most likely place is in the windows folder. If you find one anywhere else rename it or better still delete it.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Cannot install Composer because error in Wamp
Posted by: peterkn (---.rev.stofanet.dk)
Date: May 15, 2018 06:12PM

Thank you! There was a section called CLDbg in php.ini. I removed this and then it is OK

Options: ReplyQuote
Re: Cannot install Composer because error in Wamp
Posted by: Otomatic (Moderator)
Date: May 15, 2018 06:52PM

Hi,

> There was a section called CLDbg in php.ini.
In which php.ini file?
No php.ini file, for all PHP versions distributed with full Wampserver or as an addon, includes any section CLDbg.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.