I've been trying to install Composer for a while now and still I could not figure out what I am doing wrong. First I installed WAMP Server 2.5(Windows 7 64-bit), then downloaded and run Composer-Setup.exe, installed shell Menus .
I chose this path
C:\wamp\bin\php\php5.5.12\php.exe
But once I clicked next I bumped into this:
Please review this settings PHP version 5.5.12
C:\wamp\bin\php\php5.5.12\php.exe.
Which settings should I use instead? When I try to run composer it does start but then shuts down immediately.
Related
I am trying to install PHP 8 in wampserver, and I am following the tutorial in the official wampserver forum, but PHP 8 does not work. it shows the following error.
This PHP version 8.0.2 doesn't seem to be compatible with your actual Apache Version.
c:/wamp64/bin/php/php8.0.2/php8apache2_4.dll does not exist.
how do I solve this problem and install php8 in wampaserver?
Information
windows 10 build 19042
wampserver 3.2.3
apache 2.4.46
mysql 8.0.21
This is the page where I downloaded php8 https://windows.php.net/qa/
This is the tutorial I was using http://forum.wampserver.com/read.php?2,159568
Capture PHP exiting Add-on in browser hitting in the vm/server with server/vm ip
Backup the Exiting WAMP Server 3.0.0 folder in C:/wamp64 and copy it into any local directory
Upgrade WAMP Server 2.5/3.0.0 to the latest version 3.2.3
download and install as admin on the below link
https://wampserver.aviatechno.net/files/updates/wampserver2.5_x64_update_3.0.3.exe
Again upgrade to the latest version using below link
https://wampserver.aviatechno.net/files/updates/wampserver3_x86_x64_update3.2.5.exe
install visual c++ below
https://wampserver.aviatechno.net/files/vcpackages/vcredist_2019_x64.exe
Now Download and install php 8.0.6 Version on below link
https://wampserver.aviatechno.net/files/php/wampserver3_x64_addon_php8.0.6.exe
once successfully installation Apache will fail because of the latest PHP version to overcome these install the latest APACHE WAMP in below link
https://wampserver.aviatechno.net/files/apache/wampserver3_x64_addon_apache2.4.48.exe
Now to Click WAMP icon in-tray icon and click refresh and start all the services and change Apache and PHP to the latest version which we installed.
if the user required to install MySQL version 8.0.24 then download and install below link
https://wampserver.aviatechno.net/files/mysql/wampserver3_x64_addon_mysql8.0.24.exe
if phpmyadmin show incompatibility then install the latest version of PHPMYADMIN as below link
https://wampserver.aviatechno.net/files/apps/wampserver3_x86_x64_phpmyadmin5.1.1.exe
Reference Link
https://wampserver.aviatechno.net/?lang=en#mysql_versions
I'm trying to use newest version of Wamp and I also need php7 version.
My problem is:
When start WAMP show me 0xc000007b error
Orange icon - start 2 of 3 service
SHow me the error on PHP path
When try to install 'wampapache' show me again 0xc000007b error
I have Win7 and Service Pack 1 and also all necessary Visual C++ libraries.
WAMPServer runs all its internal scripts using PHP5.6.38 as that is what they have been tested on. It has nothing to do with the version of PHP that will run with your Web Server.
You should never put any version of PHP onto your Windows PATH. WAMPServer is to flexible as it can have any number of versions of PHP installed which you can switch to with a simple menu click. V3 comes with 3 versions of PHP installed out of the box. See this answer for an explanation
If you are getting an 0xc000007b error, then most likely you dont have all the required MSVC RUntime libraries installed OR you didnt when you installed WAMPServer. If you installed them AFTER you installed WAMPServer, then uninstall WAMPServer, delete the wamp folder, and then reinstall WAMPServer AFTER you are sure ALL the MSVC Runtimes are installed. (without them the install can fail to complete all its processes.
You can find a handy utility on the WAMPServer Backup Repo called Checks VC++ packages installed It is down nearly at the bottom of the page.
You can also find a Downloadable ZIP file containing ALL the necessary MSVC Runtimes on the bottom of that page. If the Checker reports any missing MSVC Runtimes, download that too, unzip it and run EACH of the MSVC RUntime Installs in Version order (one by one). If you see a dialog saying this version is already installed, us the REPAIR button and this will ensure it is properly installed and the correct version.
I tried to install composer on windows 10, I opened the composer.exe and clicked next until I arrived to choose PHP command-line for it, so I selected php 7.0 from the dropdown menu and clicked next. then I faced with an error displaying in this screenshot.
please help me to solve this problem and tell me what should I do to install composer with PHP 7.0 command-line using.
use composer.phar
It's more comfy as it's portable solution
there was a file MSVCP140.dll missed from my PC that is required by php_intl.dll extension file.
I installed it on my windows then I restart my PC and installed Composer.exe without any errors :)
click here to learn how to install .dll files on windows.
I am new to web development and I tried to install Symfony to my Laptop.. I have already installed fallowing softwares.
Windows 8 ( 64x )
wamp Server 2.4 (includes php5.4.12 & mysql5.6.12)
MySql Server 5.6 (This is not useless but I have installed)
I added C:\wamp\bin to path in System Variable
When I was trying to install Symfony I had to download Composer first So I downloaded Composer-Setup.exe from here
Then I run the wamp Server and went to PHP Extensions then Enabled php_curl and php_openssl also.
I did run Composer-Setup.exe file and selected Do not install shell menus and continued.
set C:\wamp\bin\php\php5.4.12\php.exe as the path to php.exe file
Finally I got following Composer Download error message
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The openssl extension is missing, which means that secure HTTPS transfers are impossible.
If possible you should enable it or recompile php with --with-openssl
Have I done wrong steps ? How can I solve this issue. Please help me to solve this and install Symfony 2.6 with wamp server 2.4 in Windows 8.
Note: This method does not use the composer but is equally effective
First ensure that PHP is available to your Path environment/system variable, if not add it.
Once you have added php to your environment variable restart your computer and open cmd and cd to your web root directory (project directory)
In cmd run the following:
$php -r "readfile('https://symfony.com/installer');" > symfony
This will download a file named symfony into your project directory (i.e. directory from where cmd is run)
Install the latest version of symfony as follows:
$php symfony new my_project_name
OR
Install/use the most recent version in a specific branch say 2.8
$php symfony new my_project_name 2.8
OR
Install/use specific version version within a specific branch
$php symfony new my_project_name 2.8.3
Note: steps 4, 5, or 6 will take some time, depending on your Internet speed to download Symfony
Is there a specific reason you want to install a WAMP stack? In my experience it's much easier and flexible to use Vagrant to provision a virtual machine with the right specs
Portable: just run vagrant up on another machine, wait a few minutes, and you're done
Allows you to keep the configuration of your developer's machines and the target server the same
Fixing a broken package just requires you to run vagrant up --provision later
Many packages like composer are written more with *Unix-systems in mind and will be easier to maintain and install.
Simply put, configuring an entire server directly on your machine is tedious work and isn't longer necessary. The Vaprobash project is a good example of how to get started
I was installing the Moodle on my machine and faced a problem of requirement of Greater version of PHP which is not available in present version in wamp.
So couuld anyone suggest me: How can we upgrade PHP in present available wamp installed in Windows ?
You download the addon you want from WampServer addons, and execute it. It will add a context menu entry in WampManager letting you choose between the different installed PHP versions.
Read this article.
Just backup your data
Uninstall WAMP
Install new WAMP
or download this executable and execute it