I'm trying to install composer on my computer but I get many errors about missing some DLLs. I've downloaded some of them but I cannot find any website, where to download libsybcomn64.dll. However, I don't think downloading each DLL from internet is a good solution.
I'm using Windows 7 x64 and have Apache 2 and PHP 5.6.9 installed - simple PHP works.
I've solved it myself.
And I'm really stupid. Problem was that when installing PHP I uncommented all extensions in php.ini - I thought the more there is, better. So I reset that whole file and uncommented only the necessary - php_pdo_mysql.dll and php_openssl.dll. Now it works.
Hope this will be helpful for someone...
Related
I'm running Uwamp server under windows7 and it works perfectly with php versions from 5.5 to 7.0.3 and with curl enabled.
When I switch to php 7.2, 7.3 or latest 7.4.3 uwamp server still working - but without curl.
php_curl.dll file is enabled under extensions (ext) but phpinfo() confirms that curl extension is missing / not enabled. I compared php.ini with previous php versions, modified it but it still doesn't work.
cURL is NOT installed on this server
I have testet xampp and this server has no problem with curl and php 7.3/7.4. I compared php.ini etc. but curl extension still not working under Uwamp.
It seems that the author of the project has abandoned it, because there have been no updates or activities since many years. Maybe someone using it and can help me to solve it.
Any idea would be greatly appreciated!
finally got a working solution for this problem of uwamp and running an up to date version of php and getting curl working.
I have sat here for a couple of days trying to work why you couldn't get a later version of php 7.0.3 without breaking uwamp and curl. So I learnt how to integrate and test php apache as standalones and then working on updating uwamp. Lots of head scratching of working out how uwamp uses its on the fly configuration setup.
I will list all the steps to update your version of uwamp (to apache 4.2 and php 7.4.4 as of Mar 2020)
Download uwamp (portable or installer)
Download c++ runtime https://aka.ms/vs/16/release/VC_redist.x86.exe (taken from the windows php page)
Install the runtime above
Install uwamp to a directory (in this example will just use c:\ making it install to c:\uwamp after expanding)
Before running uwamp
Goto to apache lounge website and download the latest 32 build of apache (4.2)
https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.41-win32-VS16.zip
Expand this archive, it should create a folder called apache2.4
Step in to this directory and copy all the files and paste them here in your uwamp folder (c:\uwamp\bin\apache). This should overwrite all the apache files and add the latest apachephp dll
TIP. Just make sure you havent expanded the apache2.4 zip in the uwamp apache folder, easy to tell as you will see a apache24 appear
Goto to php.net and download the latest THREAD SAFE version of php (7.4.4)
https://windows.php.net/downloads/releases/php-7.4.4-Win32-vc15-x86.zip
Extract the php zip this folder in to the c:\uwamp\bin\php in to a new folder with name of php-7.4.4 (so the files should be in c:\uwamp\bin\php\php-7.4.4)
There you are, you have completed your manual upgrade of uwamp , run uwamp and if no errors appear with in the GUI, everything should be working. Test by opening a browser and use http://localhost/uwamp/phpinfo or http://127.0.0.1/uwamp/phpinfo or click the "phpinfo button" in the uwamp GUI
This way seems to allowed an upgrade of uwamp (except sql) but resolve a common problem of php and curl not working / breaking.
This works for x86 version installed on a 32/64 bit system.
Still trying to work out the kinks for uwamp to be running 64 bit apache and php but should be possible.
Try and delete the version of PHP that is affected by the missing Curl extension and then re-download the version from inside the AWamp interface. I have had similar problems with other extensions and have solved it this way.
I am having a problem in installing Composer. Would you help me solve this?
Here is my scenario:
Before, I am using Composer. I can install packages in my project with no problems. My life was easy. But all of a sudden, something went wrong and I don't what it is. I do not change any configuration in my computer. If I do composer update, there is an error.
something like:
zlib_decode() data error.
I cannot post the screenshot of the error because I already uninstalled Composer hoping that If I reinstall it the problem would be solved.
So I have uninstalled composer, and tried to reinstall it. But now I cannot install Composer using both the windows cmd, and the composer-setup.exe. In the windows cmd, It says, "Installer is corrupted", In the composer-setup.exe the message is : (Failed to decode zlib stream)
Here is what I have tried so far:
I have disabled ESET antivirus. and IPV6 (composer.org degraded mode)
I have disable the firewall.
I have uninstalled composer. but now I cannot install it again.
Here are the other details hope it would help:
I am using Windows 10 64bit
I am using CodeIgniter
I am using XAMPP for Windows
I am running PHP 7.1
I don't know if it is relevant but we have a company domain. and maybe firewall
If there is anything you need to know I will provide it. Hope you can help me with this. Hope I explained my self well. Thanks!
Here is the screenshot:
Screenshot when installed using windows cmd
I have done a manual install of php 5.4.7 on IIS 7.5 (no msi installer as far as I know) and am now attempting to install PEAR. The instructions for installing it here http://pear.php.net/manual/en/installation.getting.php are pretty useless as the go-pear.bat doesn't exist in my install of php. So instead I've followed the instuctions here but pretty much fall at the part which says to run php go-pear.phar from the command prompt. First I get a system error dialog saying "The program can't start because fbclient.dll is missing" which I dismiss, followed by "The program can't start because OCI.dll is missing" which I also dismiss, php then returns me to the command prompt.
I'm new to installing php and PEAR, in the past I've just used installers which generally worked fine. Any guidance on this would be much appreciated.
Thanks
Rich
Edit your PHP.ini file, and comment out the following extensions:
;extension=php_oci8.dll
;extension=php_oci8_11g.dll
;extension=php_pdo_oci.dll
;extension=php_pspell.dll
;extension=php_interbase.dll
Turns out none of those are actually included in the standard Windows PHP installation package, despite being left enabled in the PHP.ini files that are meant to be for Windows servers... opensource dumbasses.
I installed XAMPP , phpinfo: PHP Version 5.3.5
Downloaded PHPPDT, installed
downloaded webserver debug extension, copied dummy.php
added zend_extension="c:\edward\xampp\php\ext\5_3_x_nts_comp\ZendDebugger.dll"
stop, restart apache, get:
"the program cant start because php5.dll is missing from your computer"
(while php5nts.dll is included)
is installing zend studio ce the alternative or can i make it work with XAMPP? (using Zend Studio CE works)
if your php version is Non-Thread-Safe (nts)
you must use php extension with format example: extension=php_cl_dbg_5_2_nts.dll
else if your php version is Thread-Safe (ts)
you must use php extension with format example: extension=php_cl_dbg_5_2_ts.dll
(notice bolded words)
So if get error like above. Firstly, check your PHP version is nts or ts, if is nts.
Then check in php.ini whether has any line like zend_extension_ts="C:\xammp\php\ext\php_dbg.dll-5.2.x" choose right version of php_dbg.dll-5.2.x from it homepage (google for it).
Change from zend_extension_ts to zend_extension_nts.
Hope this help.
Download php5.dll (http://windows.php.net/download/) and copy it to apache/bin folder. That solved it for me (Win 7 64 bit apache 32 bit)
EDIT:
Start with the non-thread safe version.
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)
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.
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.
I just now faced this issue while trying to restart XAMPP Apache.
What you can do to solve this is:
download PHP5.dll from http://originaldll.com/file/php5.dll/30704.html
Copy the downloaded php5.dll to C:\xampp\php
Start APACHE and MySql from XAMPP control panel
Hope my solution solves your problem.
Thank You!
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.
When you open phpinfo()
see if the thread safety is enable or not enable
also see the version of php
and see MSVC-- what is the number in place of --
and see the architecture
these all things help u to get the suitable php driver
here a url help u to get a php driver
https://s3.amazonaws.com/drivers.mongodb.org/php/index.html
What you can do to solve this is:
Download PHP5.dll or PHP7.dll from: http://windows.php.net/download/.
Copy the downloaded php5.dll or php7.dll to C:\xampp\php.
Start Apache and MySQL from XAMPP Control Panel.
I am trying to get APC up & running but there are to many versions out there - and to many open questions. My configuration is as follows:
PHP 5.2.17 windows installer
Server 2003
IIS
I also seen some topics that the cant be uninstalled?
Questions,
What file should i download from http://downloads.php.net/pierre/ ?
Is it possible to get APC to work with this config?
Regards, Joakim
I believe you can install APC with pecl, which should come with PHP.
So find the pecl executable and run from command: pecl install apc.
Then make sure it places the .so in the right directory.
Note that I'm a linux user, not sure if this works exactly the same way on Windows.
Edit:
First result on google: http://www.iis-aid.com/articles/how_to_guides/install_and_configure_apc_on_iis