I entered composer require larabook/gateway but the package was not be installed and I received the following error.
Your requirements could not be resolved to an installable set of packages.
If C:\php\php.ini is your .ini file, then open it
Find this line
;extension=php_fileinfo.dll
and change it to this
extension=php_fileinfo.dll
I had this same issue when I was trying to create a Laravel project in PHP 7.4.
From your PHP location, go to php.ini, double click on it and look for extension=php_fileinfo. The latest version of PHP does not come with .dll, so if it is not there don't worry about it. After that, close the notepad, click on save and restart your cmd.
if you are using XAMPP, on the same line that runs Apache on port 80, 443, go to config click on it, navigate to PHP(php.ini) and carry out the same step. Once done, close the notepad file and restart. It should work fine.
first run
composer update
then removing the semicolon from the line extension=php_fileinfo.dll of php.ini file
and rerun the
composer require larabook/gateway
Use:
sudo apt-get install php-xml
It helped me!
I am going to install Magento2 at my local server and it gives me following error notice.
I am using XAMPP. When I tried to enable it from php.ini file it throws another error for missing dll:
The program can't start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem.
Any help?
First of all stop the xampp/wamp and then kindly remove the starting semicolon ( ; ) from your xampp/php/php.ini the following code.
;extension=php_intl.dll
And then restart your xampp/wamp.
I wrote this post if anyone come across this question for PrestaShop, I don't know if it will work for Magento2. I solved enabling PHP extension intl for the PrestaShop installation by:
Open XAMPP Control Pane.
Stop the Apache server if it was started.
Then from Config button click on PHP (php.ini) item.
Php.ini will open in Notepad (or a default text editor), click Ctrl + F and search for ;extension=intl and remove the semicolon.
Then save and close Notepad and re-start the Apache server.
These steps for me solved the issue.
Note (2):
I'm using XAMPP v3.2.3 and PrestaShop v1.7.5.1
If you are using ubuntu you can take update
sudo apt-get update
And install extension in case of php 5.6
sudo apt-get install php5.6-intl
And in case of php 7.0
sudo apt-get install php7.0-intl
And in case of php 8.1
sudo apt-get install php8.1-intl
And restart your apache after
sudo service apache2 restart
And restart your nginx after
sudo systemctl restart nginx
If you are using xampp then remove semicolon ( ; ) in xampp/php/php.ini from below line
;extension=php_intl.dll
And then restart your xampp.
I was also having the same issue, and just now i got it solved.
Please try the bellow steps to get it solved:
Open php.ini and remove semicolon (;) from ;extension=php_intl.dll
When you try to restart the apache it will through some errors, that might be because of some .dll files. Simply copy all the icu****.dll files
From
Xampp folder/php
To
Xampp folder/apache/bin
Still i was getting msvcp110.dll file missing error. I have downloaded this missing file from Here and put that in desired location
For windows 7 32 bit it is - C:\Windows\System32
Now Start Apache and it is working fine.
Starting with PHP 7.2.0, you only need to specify the extension name.
I.e., add the following line to your php.ini:
extension=intl
See PHP's docomentation on loading extensions for more informations.
I have seen the screen shoot, the issue you are having is missing msvcp110.dll , this file you can download from
https://www.dll-files.com/msvcp110.dll.html
and upload to C:/Windows folder
than after edit php.ini from XAMPP
Change
;extension=php_intl.dll
to
extension=php_intl.dll
Save the file and restart Apache from XAMPP
For Megento Installation you Need to
Stop Apache Service
uncomment the extension=php_intl.dll in php.ini file.
copy all 6 files icudt57.dll,icuin57.dll,icuio57.dll,icule57.dll,iculx57.dll,icuuc57.dll From php folder to apache\bin
Now Restart you apache service
All you need to do is go to php.ini in your xampp folder (xampp\php\php.ini) and remove ; from ;extension=php_intl.dll
;extension=php_intl.dll
TO
extension=php_intl.dll
Simply copy all icu****.dll files from
C:\xampp\php
to
C:\xampp\apache\bin
[or]
C:\wamp\bin\php\php5.5.12
to
C:\wamp\bin\apache\apache2.4.9
intl extension will start working!!!
ADDITIONAL NOTE (As this is very old question and has no accepted answer yet)
I am on xampp-win32-7.2.3-0-VC15-installer on Windows10-64bit.
here is the notes I see in my php.ini file.
Note : The syntax used in previous PHP versions ('extension=.so' and
; 'extension='php_.dll') is supported for legacy reasons and may be
; deprecated in a future PHP major version. So, when it is possible, please
; move to the new ('extension=) syntax.
So you will only find the extension name as intl instead of php_intl.dll and then uncommenting that line should work (It worked for me atleast).
extension=intl
I was having same kind of problem with ldap, intl, curl php extensions. I've solved those issues by the following ways:
At first you've to check whether these extensions have been enabled in the php.ini file by removing semicolon (;) in front of the following lines:
;extension=php_intl.dll
;extension=php_ldap.dll
;extension=php_curl.dll
Secondly, libeay32.dll, ibssh2.dll and ssleay32.dll files have to be loaded by php properly to function those extensions properly. These dll files are required by several php extensions (ie curl, ldap, intl etc). These files generally reside in the php installation directory [for my case it is C:\php directory].
Additionally, for intl extension to be enabled you're gonna need some other dll files to be loaded by php properly. The name of these files begin with icu (ie icudt57.dll icuin57.dll etc for php version 5.6). You'll also find these files in the php main installation directory.
There is a alternate way you can load these files from your httpd.conf (apache configuratio file) file instead of copying them to the apache's bin directory. This can be done by using the following technique:
Please note that my php version is 5.5.
LoadFile "C:/php/icudt51.dll"
LoadFile "C:/php/icuin51.dll"
LoadFile "C:/php/icuio51.dll"
LoadFile "C:/php/icule51.dll"
LoadFile "C:/php/iculx51.dll"
LoadFile "C:/php/icutest51.dll"
LoadFile "C:/php/icutu51.dll"
LoadFile "C:/php/icuuc51.dll"
LoadFile "C:/php/libeay32.dll"
LoadFile "C:/php/libssh2.dll"
LoadFile "C:/php/ssleay32.dll"
That's it.
I have found two errors during the installing of Magento to localhost.
There are PHP Extension xsl and intl and I have solved the issue by following steps.
Open php.ini
Remove '#' cha from the lines extension=php_xsl.dll and extension=php_intl.dll.
Save the file and restart xamp again
Click Try Again on Magento installation page.
Then all the things were passed as well as following picture.
Go to C:\xampp\php
open the file "php.ini-development" on a text editor.
Then uncomment ;extension=php_intl.dll by removing the semicolon
Use phpinfo() function to find php.ini file path,
open php.ini file. Here search extension=php_intl.dll then remove semi-colon (;) beginning of that line.
After removing semi-colon (;) restart you webserver (apache).
For enable PHP Extension intl , follow the Steps..
Open the xampp/php/php.ini file in any editor.
Search ";extension=php_intl.dll"
kindly remove the starting semicolon ( ; )
Like :
;extension=php_intl.dll
to
extension=php_intl.dll
Save the xampp/php/php.ini file.
Restart your xampp/wamp
Hope its work..Cheers..
On My windows I just opened Xampp control panel then on Apache Module same line I clicked on Config then it shows all reconfigured files then choose
PHP (php.ini)
the file will be opened in text editor like notepad then search for extension you want then change
;extension=php_intl.dll
to
extension=php_intl.dll
That's all hope it will work
Here is all command lines to install magento2
PHP Extension xsl and intl. CMD
sudo apt-get install php5-intl
sudo apt-get install php5-xsl
sudo php5enmod xsl
sudo service apache2 restart
PHP Extension mcrypt. CMD
sudo updatedb
locate mcrypt.ini
sudo php5enmod mcrypt
sudo service apache2 restart
If the below line is not available or commented in C:\xampp\php\php.ini, then add it or uncomment and restart the apache server then it works.
extension=php_intl.dll
First of all, you need to stop your server and
go to this path xampp/php/php.ini and find this ;extension=php_intl.dll and then you need to remove the semicolon ( ; ) from the following code and save the file.
And then restart your server.
Enable the intl extension in the php.ini file.
Under Apache, click config.
Click php.ini.
ctrl + f to search intl to find the extension.
Remove the semi-colon to enable the extension. (This is something that wasn't self explanatory to me at first).
Save the file. Restart your apache server in xampp. The error should now be resolved.
You can find the answer here: http://www.dorusomcutean.com/how-to-install-php-7-2-on-windows/
In that blog post, I'm showing how to install PHP on Windows and how to enable extensions. Hope that it helps anyone who encounters this problem again.
After installing Laminas, I got the same error message
"Translator component requires the intl PHP extension"
while wanting to view the web application with the php web server:
php -S 0.0.0.0:8080 -t public public/index.php
As I'm usgin XAMPP, in
c:\xampp\php\php.ini
I had to enable the PHP extension intl in this line ;extension=php_intl.dll, remove the starting semicolon (;) and restart XAMPP. I hope this will help.
i had this prob but solved !
enable the extension=php_intl.dll
now if you restart XAMPP this error will popup "msvcp110.dll is missing form your computer"
for solving this error: download this file from : https://www.dll-files.com/msvcp110.dll.html
then put this file to C:windows and then restart xampp it will works.
For instalation of magento on local host you need to uncomment the extension=php_intl.dll in php.ini and copy all icudt57.dll,icuin57.dll,icuio57.dll,icule57.dll,iculx57.dll,icuuc57.dll files from php folder to XAMPP\apache\bin folder.
Then Restart the xamp server
Download the files and try to install them. One or two files may fail to install.
http://www.microsoft.com/en-sg/download/details.aspx?id=30679
I’m trying to install the Laravel Framework on Windows with the Laravel Installer method.
In the documentation I found the following:
First, download the Laravel installer using Composer. Make sure to
place the “~/.composer/vendor/bin” directory in your PATH so the
laravel executable is found when you run the laravel command in your
terminal.
Now this PATH does not look familiar to me. Could you tell me the working path for Windows?
BTW: I’m using WAMP. Composer is installed and updated.
The PATH for Windows:
I’ve found the location where composer stores the Vendor files.
So instead of ~/.composer/vendor/bin, on Windows the following path should be used:
C:\Users\<COMPUTER NAME>\AppData\Roaming\Composer\vendor\bin
How to install the Laravel Installer:
=======
I assume you have php and composer in your PATH already.
First of all install the Laravel Installer. Open a command prompt and enter:
composer global require "laravel/installer=~1.1"
**Then update the PATH environment variable** via e.g. command prompt with admin privileges:
set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\Composer\vendor\bin
// setx /M path "%path%;%appdata%\Composer\vendor\bin" (this may destroy your system)
%appdata% is added, so you don’t have to worry about adding your computer name.
How to create a fresh Laravel Installation:
Now you should be able to run laravel commands in the command prompt.
To create a fresh laravel installation, open a command prompt in the directory of choice and enter:
laravel new name_of_directory
If everything went right, you should see the following message:
Crafting application...
Application ready! Build something amazing.
Use Laragon (http://laragon.org/)
Install Laragon.
Use Laragon Menu to create project
Take you 5 minutes to have Laravel4 o Laravel5.
Launch Laragon Project
Laragon automatically create Virtual host for your project name ( project_name.me)
Hope it helps.
Source: https://innopy.wordpress.com/2015/02/07/laravel-windows/
If you are having trouble using the command prompt, use the GUI approach:
The path in Windows is:
C:\Users\UserName\AppData\Roaming\Composer\vendor\bin
In the above path "UserName" is your user name that you are logged in your computer as. If you don't know your username, go here: http://library.queensu.ca/libguides/computers/windows-username-check.htm
Copy the above path, replace the "UserName" with your username.
Then go to your computer's environment variables. Here's how:
Right click on your Computer and go to properties
Go to Advanced system settings
Under Advanced Tab, Click on Environment Variables
Under User Variables, select Path and click Edit:
Put a semicolon at the end of the existing text and paste your path, example:C:\ProgramData\ComposerSetup\bin. Press OK ...
Restart your command prompt and type laravel and hit enter. If the path was successfully set, you will see "Laravel Installer Version ... "
How to install Laravel on Windows using WAMP
Install WAMP first.
I leave everything to default.
Enable OpenSSL and all required extensions in PHP.ini
After you installed WAMP, you need to do this. This is how you make sure OpenSSL is enabled:
On your right hand side of your taskbar, click WAMP and then choose PHP.ini.
And then find php_openssl, and then remove the semicolon in front of php_openssl.
And then, save. Close that file and now go to wamp manager again, and now enable OpenSSL there just to be safe.
After you do that, restart Wamp.
Install Composer
Go to https://getcomposer.org/ and download Windows installer.
The setup will ask for your PHP. if you install your WAMP in default setting, it will usually end up in C:\wamp\bin\php\php5.4.12.
If your installation is successful, by running composer on command prompt, you will see all kinds of info just by running that command.
If you can see it, that means your Composer installation is complete. Let’s move to the next one.
Make sure that your htppd.conf includes httpd-vhosts.conf
Now let’s make sure that your htppd.conf also includes httpd-vhosts.conf. This is beneficial if you want to make a pretty URL just like this one:
Instead of writing up localhost/mylaravel, it would be “nicer” to have that pretty URL, right?
Anyway, let’s go on.
Go to C:\wamp\bin\apache\Apache2.4.4\conf and then open up httpd.conf.
After that, search for httpd-vhosts.conf and make sure that there is no ‘#’ (pound sign) in front of it. Save. After that restart Wamp just to be safe.
Now let’s begin the fun part: installing Laravel.
Install Laravel in specified folder
You usually want to install your Laravel in your www folder. (Obviously!)
So open up your command prompt, and then change directory to your WWW folder inside your wamp. For me it will be: C:\wamp\www
To change directory, just type cd c:\wamp\www
Basically you are changing folder to your www folder.
And then, you can install Laravel. Just use this in your command prompt:
composer create-project laravel/laravel your-project-name –prefer-dist
And then hit enter.
Just wait a while until it is finished downloading and installing.
Enable Laravel installer
If you want to use Laravel Installer, you have to run this command in your command prompt first:
composer global require "laravel/installer"
Wait until… everything finished.
Create Virtual Host
Now let’s create your pretty URL. You have to go to C:\wamp\bin\apache\Apache2.4.4\conf\extra and then open up httpd-vhosts.conf.
After that, you just need to paste the following and change your laravel folder to appropriate ones.
<VirtualHost *:80>
DocumentRoot “c:/wamp/www/mylaravel/public”
ServerName laravel.dev
</VirtualHost>
In my case, I used mylaravel for my laravel installation. You have to change it to something else. For server name, you can change it to whatever you want. In my case, I am using laravel.dev. (You don’t want to use google.com because if you do, you won’t be able to open up Google).
Obviously, you have to save and then restart your WAMP again.
Update Windows Hosts file
After you have changed your virtual host, you need to change your host file.
Go to C:\Windows\System32\drivers\etc and copy hosts and paste it on your Desktop. And click on the host file you have pasted on your Desktop. Open that up using Notepad.
Put this in that host file:
127.0.0.1 laravel.dev
Change laravel.dev into what you already decided in your virtual host file. For me, mine will be laravel.dev.
Copy the one that you modified just now and put it back into your C:\Windows\System32\drivers\etc folder.
You’re done!
Modified from this source: http://copygrammer.com/how-to-install-laravel-on-windows/ (my blog)
Installing Laravel framework on window via Laravel installer:
make sure you have composer on your computer.
download the Laravel installer using Composer by typing following code in the command prompt:
composer global require "laravel/installer=~1.1"
go to folder:
C:\Users\ {User Name} \AppData\Roaming\Composer\vendor
copy the vendor folder and paste it into the folder (Destination folder) where you want to install Laravel project; for example, in folder D:\Test\Laravel.
after pasting, your folder structure look like this:
D:\Test\Laravel\vendor
pressing down on Shift key and Right click on the folder vendor in your destination folder (D:\Test\Laravel\vendor), and choose "open command window here".
enter the command below:
laravel new your_project_destination
after the command runs, you will see laravel folder in your_project_destination
You can install laravel using Homestead box.
There are a few steps you need to follow.
Make sure that you have windows virtualization turned ON in your BIOS. This will save you a few hours if you are installing it for the first time.
You will also need to install Vagrant and Virtual Box before starting the installation of Homestead.
The main advantages of using Homestead is that it provides a Linux virtual machine where you can easily install packages. It does comes with a lot of packages installed.
http://deepdivetuts.com/installing-laravel-5-4-on-windows-machine-using-homestead
If you have not installed composer on your system get from here.
You will get this if you have composer on your system installed
Installing Laravel
Step 1: Installing Laravel globally.
Open cmd in Windows and enter this command.
composer global require "laravel/installer"
This will download the latest version.
Check by entering the below command.
Step 2: Creating a new Laravel Project
Run the below command in cmd, blog is the name of my new project.
laravel new projectname
That's it. Now you have your new project folder in the directory you have saved.
I have been trying to install Laravel framework on WAMP.
I been following the steps from http://laravel.com/
and Installing Laravel 4.1 in Windows 7 // Make .phar file globally available to windows command line
When i run the command
composer create-project laravel/laravel --prefer-dist , getting the error message
[RuntimeException]
You must enable the openssl extension to download files via https
But i have enabled openssl in php.ini by removing the comment sign.
Please help
If you are using WAMPServer here is the problem:
WAMPServer's PHP CLI ( Command Line Interface ) i.e. running php.exe from command line uses a different php.ini to the one used by PHP in Apache.
Edit \wamp\bin\php\php5.x.y\php.ini
Activate the extensions you require the PHP CLI to have access to in the usual way i.e. remove the comment ';' from the extension=php_xxxx.dll line.
Wamp uses 2 php.ini
first one that you changed from the Wamp panel and second one that located on Apache folder.
i think on the wamp/bin/apache/bin make sure to enable openssl on both and restart the Wamp.
This worked for me. Hope this helps you.
Install Laravel Framework in Windows *PHP version greater than
5.3.7 is required.
Download Laravel from: https://github.com/laravel/laravel/archive/master.zip.
Extract Laravel into the www folder for WAMP.
Download Composer from: https://getcomposer.org/Composer-Setup.exe
Enable openssl from all php.ini files
Install Composer into the same directory php.exe is located.
Click on WAMP icon->PHP->PHP Extensions and enable: php_openssl, php_curl, php_socket.
Click on wamp icon->Apache->Apache Modules and enable ssl_module
Open cmd.
Change into the directory where you extracted Laravel e.g: cd C:\wamp\www\laravel.
Type the command: composer install.
Installation completed.
Open httpd.conf file
Add these lines after Include "c:/wamp/alias/"*
Listen 8000
DocumentRoot c:/wamp/www/laravel/public
Open Browser and go to localhost:8000
You follow given Only 1 step and install laravel 5 and composer in your machine
[1]Paste this in cmd : composer create-project laravel/laravel
when you run above command it will automatically install composer and laravel
OPTIONAL:
if error your configuration does not allow connection to
http//packages.firegento.com in cmd follow this command :
composer config -g secure-http false
I have some problems with composer and Laravel 4.
First I downloaded the laravel-master zip file.
But after starting the install command of Composer I get this error:
Screenshot
What am I doing wrong?
You need to enable the OpenSSL extension for your PHP installation. In your php.ini file (in C:\xampp\php) uncomment the following line:
extension=php_openssl.dll
Just remove the ; in front of it.
Once you've saved your changes, restart Apache, and it should work.