Reputation: 31
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.
Upvotes: 1
Views: 5784
Reputation: 330
Note: This method does not use the composer but is equally effective
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
Upvotes: 0
Reputation: 57
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
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
Upvotes: -2