SlideShare a Scribd company logo
Installing Symfony within Netbeans and Wamp
: Setting symfony in Netbeans 6.9 and Wamp 2.0
The Symfony is integrated in Netbeans 6.9, so, it’s not necessary to download it.First of all,
download and install:
 Symfony 1.4 (the package)
 Netbeans 6.9
 Wamp server 2.0
Extract the files from the symfony archive into the folder wamp (C:wamp). Create the new
folder in symfony (for having C:wampsymfony).
Setting PHP and Symfony
Open Netbeans and click on Tools>Options. Click on the PHP tab for changing some settings:
- General tab: put the path to php.exe from your wamp (C:wampbinphpphp5.3.0php.exe)
- Symfony tab: put the path to symfony (C:wampsymfonydatabinsymfony). If nothing is set
in Applications, put this: –escaping-strategy=on –csrf-secret=UniqueSecret
MYSQL Server
Go on the Services Windows (next to Project and Files). If it’s not showing, click on
Window>Service. Expand Databases, right-click on MYSQL and choose Properties. For the
purpose of this test, we will not put a password for accessing the database.
If you have already MYSQL Workbench installed, you can click on Admin Properties et to put
these paths in the adequate fields:
 Path to admin tool: it’s the path to what you’ll use to manage your database. So whether
it’s phpMyAdmin, MYSQL Workbench or others, it’s there you need to put their path.
 Path to start command: it’s for starting the MYSQL service, so check in the bin folder
from your Wamp
 Path to stop command: it’s for closing MYSQL, so if it’s MYSQL admin, don’t forget
to put the following arguments: -u root stop (or instead of root, put the admin username).
Normally, everything should be working for your database. Check it by right-clicking on
MYSQL Server and choose Connect. When you expand this node, you should see the databases
stored on it. You can create our database now if you want but I prefer to do it after setting our
project.
Time to set a project
It’s time to click on File>New Project. Choose on the left column PHP and on the right one PHP
Application.
Next, put a name on your project (games in our case) and change the Sources Folder for your
www/games folder.
Configuration on localhost in the next step.
Choose Symfony framework and generate the frontend and backend in the same time.
Now you’re ready to use the framework… well once we have created our database physically
(without tables).
Set the database
So, what to do? Well, you can go back to Services, right-click on MYSQL Server, then choose
Create and give life to our database. Check with phpMyAdmin by typing localhost in your
browser without forgetting to start Wamp server.
Come back to the Projects Window and right-click on Games. Choose Symfony>Run command
for accessing to the framework’s commands. Choose configure:database and put as parameters
the following line:
"MYSQL:host=localhost;dbname=games" root
Click on run and check the file databases.yml in games/config if everything is set well:
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'MYSQL:host=localhost;dbname=games'
username: root
password: null
Virtual Host
Well, normally now, you can use the framework… but I lied, we have still one thing to do. We
need to configure a virtual host on our Wamp. So go in
C:wampbinapacheApache2.2.11confextra to find the file httpd-vhosts.conf. Edit it with your
notepad and put the following code (you can change the number 9093 by 8080):
# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:9093
# This is the configuration for Games
Listen 127.0.0.1:9093
<VirtualHost 127.0.0.1:9093>
ServerName project.localhost
DocumentRoot "C:wampwwwgamesweb"
DirectoryIndex index.php
<Directory "C:wampwwwgamesweb">
AllowOverride All
Allow from All
</Directory>
Alias /sf "C:wampsymfonydatawebsf"
<Directory "C:wampsymfonydatawebsf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
How to understand that?
- Well, as you can see I’ve already set a name for my virtual host that isn’t 8080. But it’s only
because it was taken before (and mainly because the 8080 refused to work when I began to learn
Symfony).
- I’ve put a server name like it was recommended but I am not using it. So, you’ll see a lot of
localhost:9093 in my URLs.
- The first part of code concerns the folders that the browser can access. So, it will be there you’ll
find css, js, images, etc..
- The alias is redirecting to the symfony framework and for default pages
Note that all your symfony project is deployed on the www folder, which is not really a secure
way to do. In reality, every folder apart web should be out of the www directory. But I’m still not
at the point where I’m feeling at ease with moving these things out and make everything work.
Just if you just want to understand the framework like me, let everything like that.
Checking the new project
And now , you’re settled for your first symfony project! If you have doubts about the success of
what I’ve described: restart Wamp if it was already working and type
localhost:9093/frontend_dev.php.
Ad

More Related Content

What's hot (20)

Laravel Valet
Laravel ValetLaravel Valet
Laravel Valet
Waseem Senjer
 
Initialize database in Mule part2
Initialize database in Mule part2Initialize database in Mule part2
Initialize database in Mule part2
Anirban Sen Chowdhary
 
Jones_Lamp_Tutorial
Jones_Lamp_TutorialJones_Lamp_Tutorial
Jones_Lamp_Tutorial
Olivia J. Jones
 
Setup web-application-testing-environment
Setup web-application-testing-environmentSetup web-application-testing-environment
Setup web-application-testing-environment
Nabarun Roy
 
Using the new IBM ODBC Driver for Notes/Domino 9.0
Using the new IBM ODBC Driver for Notes/Domino 9.0Using the new IBM ODBC Driver for Notes/Domino 9.0
Using the new IBM ODBC Driver for Notes/Domino 9.0
Mat Newman
 
WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011
Alfred Ayache
 
3 Configuring Drupal
3 Configuring Drupal3 Configuring Drupal
3 Configuring Drupal
Wingston
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of Drupal
Wingston
 
Wampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaWampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharma
Ajay Di Sharma
 
8 Web Practices for Drupal
8  Web Practices for Drupal8  Web Practices for Drupal
8 Web Practices for Drupal
Wingston
 
Laravel installation
Laravel installationLaravel installation
Laravel installation
phptpoint0123
 
How to Guide access the WebSphere Portal Prospero demo on Amazon EC2
How to Guide access the WebSphere Portal Prospero demo on Amazon EC2How to Guide access the WebSphere Portal Prospero demo on Amazon EC2
How to Guide access the WebSphere Portal Prospero demo on Amazon EC2
Chris Sparshott
 
Wcmtl andrear-domain-mapping
Wcmtl andrear-domain-mappingWcmtl andrear-domain-mapping
Wcmtl andrear-domain-mapping
Montreal WordPress Community
 
Set up dev environment
Set up dev environmentSet up dev environment
Set up dev environment
ICourses Ottawa
 
Xampp Ppt
Xampp PptXampp Ppt
Xampp Ppt
Ratna Prashanth
 
Installation xampp and WordPress on localhost
Installation xampp and WordPress on localhostInstallation xampp and WordPress on localhost
Installation xampp and WordPress on localhost
Luzan Baral
 
Xampp installation
Xampp installation Xampp installation
Xampp installation
Kichiemon Adachi
 
WordPress Biratnagar Meetup #1Wordpress Installation : By Sajjal Neupane
WordPress Biratnagar Meetup #1Wordpress Installation : By Sajjal NeupaneWordPress Biratnagar Meetup #1Wordpress Installation : By Sajjal Neupane
WordPress Biratnagar Meetup #1Wordpress Installation : By Sajjal Neupane
Pankaj Subedi
 
Ruby C10K: High Performance Networking - RubyKaigi '09
Ruby C10K: High Performance Networking - RubyKaigi '09Ruby C10K: High Performance Networking - RubyKaigi '09
Ruby C10K: High Performance Networking - RubyKaigi '09
Ilya Grigorik
 
Wordpress installation
Wordpress installationWordpress installation
Wordpress installation
Webtech Learning
 
Setup web-application-testing-environment
Setup web-application-testing-environmentSetup web-application-testing-environment
Setup web-application-testing-environment
Nabarun Roy
 
Using the new IBM ODBC Driver for Notes/Domino 9.0
Using the new IBM ODBC Driver for Notes/Domino 9.0Using the new IBM ODBC Driver for Notes/Domino 9.0
Using the new IBM ODBC Driver for Notes/Domino 9.0
Mat Newman
 
WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011
Alfred Ayache
 
3 Configuring Drupal
3 Configuring Drupal3 Configuring Drupal
3 Configuring Drupal
Wingston
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of Drupal
Wingston
 
Wampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaWampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharma
Ajay Di Sharma
 
8 Web Practices for Drupal
8  Web Practices for Drupal8  Web Practices for Drupal
8 Web Practices for Drupal
Wingston
 
Laravel installation
Laravel installationLaravel installation
Laravel installation
phptpoint0123
 
How to Guide access the WebSphere Portal Prospero demo on Amazon EC2
How to Guide access the WebSphere Portal Prospero demo on Amazon EC2How to Guide access the WebSphere Portal Prospero demo on Amazon EC2
How to Guide access the WebSphere Portal Prospero demo on Amazon EC2
Chris Sparshott
 
Installation xampp and WordPress on localhost
Installation xampp and WordPress on localhostInstallation xampp and WordPress on localhost
Installation xampp and WordPress on localhost
Luzan Baral
 
WordPress Biratnagar Meetup #1Wordpress Installation : By Sajjal Neupane
WordPress Biratnagar Meetup #1Wordpress Installation : By Sajjal NeupaneWordPress Biratnagar Meetup #1Wordpress Installation : By Sajjal Neupane
WordPress Biratnagar Meetup #1Wordpress Installation : By Sajjal Neupane
Pankaj Subedi
 
Ruby C10K: High Performance Networking - RubyKaigi '09
Ruby C10K: High Performance Networking - RubyKaigi '09Ruby C10K: High Performance Networking - RubyKaigi '09
Ruby C10K: High Performance Networking - RubyKaigi '09
Ilya Grigorik
 

Viewers also liked (6)

การเขียนบทความวิจัย2
การเขียนบทความวิจัย2การเขียนบทความวิจัย2
การเขียนบทความวิจัย2
Prachyanun Nilsook
 
Isabel &amp; Jose C (1)
Isabel &amp;  Jose  C (1)Isabel &amp;  Jose  C (1)
Isabel &amp; Jose C (1)
Isabel Ureña
 
Thesis Defense Draft I
Thesis Defense   Draft IThesis Defense   Draft I
Thesis Defense Draft I
naroseo
 
English Version Ccn Business Plan(Long) 24 March 2011 (L)(5)
English Version   Ccn Business Plan(Long)   24 March 2011 (L)(5)English Version   Ccn Business Plan(Long)   24 March 2011 (L)(5)
English Version Ccn Business Plan(Long) 24 March 2011 (L)(5)
naroseo
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
Jeck Shiro
 
Endeavour instrument-pvt-ltd
Endeavour instrument-pvt-ltdEndeavour instrument-pvt-ltd
Endeavour instrument-pvt-ltd
Ms. Mansi Kothari
 
การเขียนบทความวิจัย2
การเขียนบทความวิจัย2การเขียนบทความวิจัย2
การเขียนบทความวิจัย2
Prachyanun Nilsook
 
Isabel &amp; Jose C (1)
Isabel &amp;  Jose  C (1)Isabel &amp;  Jose  C (1)
Isabel &amp; Jose C (1)
Isabel Ureña
 
Thesis Defense Draft I
Thesis Defense   Draft IThesis Defense   Draft I
Thesis Defense Draft I
naroseo
 
English Version Ccn Business Plan(Long) 24 March 2011 (L)(5)
English Version   Ccn Business Plan(Long)   24 March 2011 (L)(5)English Version   Ccn Business Plan(Long)   24 March 2011 (L)(5)
English Version Ccn Business Plan(Long) 24 March 2011 (L)(5)
naroseo
 
Ad

Similar to Installing symfony within netbeans and WAMP (20)

Installing php and my sql locally using xampp
Installing php and my sql locally using xamppInstalling php and my sql locally using xampp
Installing php and my sql locally using xampp
peyman Ghader Kurehpaz
 
Install Word Press with xampp
Install Word Press with xamppInstall Word Press with xampp
Install Word Press with xampp
Mehdi Sharifirad
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
Chetan Soni
 
VIKRAM
VIKRAMVIKRAM
VIKRAM
vikram13181
 
Installation of wampserver
Installation of wampserverInstallation of wampserver
Installation of wampserver
Smita Agarwal
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installation
franbow
 
How to use_000webhost
How to use_000webhostHow to use_000webhost
How to use_000webhost
IIUM
 
CS1520 Intro and Xampp installation
CS1520 Intro and Xampp installationCS1520 Intro and Xampp installation
CS1520 Intro and Xampp installation
Salim Malakouti
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
guest34a3a419
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
Jayanta Dash
 
Wampserver install
Wampserver installWampserver install
Wampserver install
Bala Murali Tokala
 
How to Install Magento on WAMP Server
How to Install Magento on WAMP ServerHow to Install Magento on WAMP Server
How to Install Magento on WAMP Server
APPSeCONNECT
 
phpTutorial1
phpTutorial1phpTutorial1
phpTutorial1
tutorialsruby
 
phpTutorial1
phpTutorial1phpTutorial1
phpTutorial1
tutorialsruby
 
25_26 (1).pptx
25_26 (1).pptx25_26 (1).pptx
25_26 (1).pptx
JawadHaider36
 
How to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another ServerHow to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another Server
Kaushal Mewar
 
FROM LOCAL TO LIVE: EXPORTING WORDPRESS FROM MAMP
FROM LOCAL TO LIVE: EXPORTING WORDPRESS FROM MAMPFROM LOCAL TO LIVE: EXPORTING WORDPRESS FROM MAMP
FROM LOCAL TO LIVE: EXPORTING WORDPRESS FROM MAMP
Parsons
 
Open Mic - IBM Sametime Proxy Clustering
Open Mic - IBM Sametime Proxy ClusteringOpen Mic - IBM Sametime Proxy Clustering
Open Mic - IBM Sametime Proxy Clustering
jayeshpar2006
 
12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows
rajuy2r
 
Visual guide15
Visual guide15Visual guide15
Visual guide15
tungvt0303
 
Installing php and my sql locally using xampp
Installing php and my sql locally using xamppInstalling php and my sql locally using xampp
Installing php and my sql locally using xampp
peyman Ghader Kurehpaz
 
Install Word Press with xampp
Install Word Press with xamppInstall Word Press with xampp
Install Word Press with xampp
Mehdi Sharifirad
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
Chetan Soni
 
Installation of wampserver
Installation of wampserverInstallation of wampserver
Installation of wampserver
Smita Agarwal
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installation
franbow
 
How to use_000webhost
How to use_000webhostHow to use_000webhost
How to use_000webhost
IIUM
 
CS1520 Intro and Xampp installation
CS1520 Intro and Xampp installationCS1520 Intro and Xampp installation
CS1520 Intro and Xampp installation
Salim Malakouti
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
guest34a3a419
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
Jayanta Dash
 
How to Install Magento on WAMP Server
How to Install Magento on WAMP ServerHow to Install Magento on WAMP Server
How to Install Magento on WAMP Server
APPSeCONNECT
 
How to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another ServerHow to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another Server
Kaushal Mewar
 
FROM LOCAL TO LIVE: EXPORTING WORDPRESS FROM MAMP
FROM LOCAL TO LIVE: EXPORTING WORDPRESS FROM MAMPFROM LOCAL TO LIVE: EXPORTING WORDPRESS FROM MAMP
FROM LOCAL TO LIVE: EXPORTING WORDPRESS FROM MAMP
Parsons
 
Open Mic - IBM Sametime Proxy Clustering
Open Mic - IBM Sametime Proxy ClusteringOpen Mic - IBM Sametime Proxy Clustering
Open Mic - IBM Sametime Proxy Clustering
jayeshpar2006
 
12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows
rajuy2r
 
Visual guide15
Visual guide15Visual guide15
Visual guide15
tungvt0303
 
Ad

Recently uploaded (20)

Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
OnePlan Solutions
 
Deploying & Testing Agentforce - End-to-end with Copado - Ewenb Clark
Deploying & Testing Agentforce - End-to-end with Copado - Ewenb ClarkDeploying & Testing Agentforce - End-to-end with Copado - Ewenb Clark
Deploying & Testing Agentforce - End-to-end with Copado - Ewenb Clark
Peter Caitens
 
Why Tapitag Ranks Among the Best Digital Business Card Providers
Why Tapitag Ranks Among the Best Digital Business Card ProvidersWhy Tapitag Ranks Among the Best Digital Business Card Providers
Why Tapitag Ranks Among the Best Digital Business Card Providers
Tapitag
 
Buy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training techBuy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training tech
Rustici Software
 
From Vibe Coding to Vibe Testing - Complete PowerPoint Presentation
From Vibe Coding to Vibe Testing - Complete PowerPoint PresentationFrom Vibe Coding to Vibe Testing - Complete PowerPoint Presentation
From Vibe Coding to Vibe Testing - Complete PowerPoint Presentation
Shay Ginsbourg
 
Medical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk ScoringMedical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk Scoring
ICS
 
Mastering Selenium WebDriver: A Comprehensive Tutorial with Real-World Examples
Mastering Selenium WebDriver: A Comprehensive Tutorial with Real-World ExamplesMastering Selenium WebDriver: A Comprehensive Tutorial with Real-World Examples
Mastering Selenium WebDriver: A Comprehensive Tutorial with Real-World Examples
jamescantor38
 
Mobile Application Developer Dubai | Custom App Solutions by Ajath
Mobile Application Developer Dubai | Custom App Solutions by AjathMobile Application Developer Dubai | Custom App Solutions by Ajath
Mobile Application Developer Dubai | Custom App Solutions by Ajath
Ajath Infotech Technologies LLC
 
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
Ranking Google
 
Top 12 Most Useful AngularJS Development Tools to Use in 2025
Top 12 Most Useful AngularJS Development Tools to Use in 2025Top 12 Most Useful AngularJS Development Tools to Use in 2025
Top 12 Most Useful AngularJS Development Tools to Use in 2025
GrapesTech Solutions
 
Beyond the code. Complexity - 2025.05 - SwiftCraft
Beyond the code. Complexity - 2025.05 - SwiftCraftBeyond the code. Complexity - 2025.05 - SwiftCraft
Beyond the code. Complexity - 2025.05 - SwiftCraft
Dmitrii Ivanov
 
How to Troubleshoot 9 Types of OutOfMemoryError
How to Troubleshoot 9 Types of OutOfMemoryErrorHow to Troubleshoot 9 Types of OutOfMemoryError
How to Troubleshoot 9 Types of OutOfMemoryError
Tier1 app
 
GC Tuning: A Masterpiece in Performance Engineering
GC Tuning: A Masterpiece in Performance EngineeringGC Tuning: A Masterpiece in Performance Engineering
GC Tuning: A Masterpiece in Performance Engineering
Tier1 app
 
How to Install and Activate ListGrabber Plugin
How to Install and Activate ListGrabber PluginHow to Install and Activate ListGrabber Plugin
How to Install and Activate ListGrabber Plugin
eGrabber
 
Adobe InDesign Crack FREE Download 2025 link
Adobe InDesign Crack FREE Download 2025 linkAdobe InDesign Crack FREE Download 2025 link
Adobe InDesign Crack FREE Download 2025 link
mahmadzubair09
 
Autodesk Inventor Crack (2025) Latest
Autodesk Inventor    Crack (2025) LatestAutodesk Inventor    Crack (2025) Latest
Autodesk Inventor Crack (2025) Latest
Google
 
Digital Twins Software Service in Belfast
Digital Twins Software Service in BelfastDigital Twins Software Service in Belfast
Digital Twins Software Service in Belfast
julia smits
 
Orion Context Broker introduction 20250509
Orion Context Broker introduction 20250509Orion Context Broker introduction 20250509
Orion Context Broker introduction 20250509
Fermin Galan
 
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdfTop Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
evrigsolution
 
NYC ACE 08-May-2025-Combined Presentation.pdf
NYC ACE 08-May-2025-Combined Presentation.pdfNYC ACE 08-May-2025-Combined Presentation.pdf
NYC ACE 08-May-2025-Combined Presentation.pdf
AUGNYC
 
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
OnePlan Solutions
 
Deploying & Testing Agentforce - End-to-end with Copado - Ewenb Clark
Deploying & Testing Agentforce - End-to-end with Copado - Ewenb ClarkDeploying & Testing Agentforce - End-to-end with Copado - Ewenb Clark
Deploying & Testing Agentforce - End-to-end with Copado - Ewenb Clark
Peter Caitens
 
Why Tapitag Ranks Among the Best Digital Business Card Providers
Why Tapitag Ranks Among the Best Digital Business Card ProvidersWhy Tapitag Ranks Among the Best Digital Business Card Providers
Why Tapitag Ranks Among the Best Digital Business Card Providers
Tapitag
 
Buy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training techBuy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training tech
Rustici Software
 
From Vibe Coding to Vibe Testing - Complete PowerPoint Presentation
From Vibe Coding to Vibe Testing - Complete PowerPoint PresentationFrom Vibe Coding to Vibe Testing - Complete PowerPoint Presentation
From Vibe Coding to Vibe Testing - Complete PowerPoint Presentation
Shay Ginsbourg
 
Medical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk ScoringMedical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk Scoring
ICS
 
Mastering Selenium WebDriver: A Comprehensive Tutorial with Real-World Examples
Mastering Selenium WebDriver: A Comprehensive Tutorial with Real-World ExamplesMastering Selenium WebDriver: A Comprehensive Tutorial with Real-World Examples
Mastering Selenium WebDriver: A Comprehensive Tutorial with Real-World Examples
jamescantor38
 
Mobile Application Developer Dubai | Custom App Solutions by Ajath
Mobile Application Developer Dubai | Custom App Solutions by AjathMobile Application Developer Dubai | Custom App Solutions by Ajath
Mobile Application Developer Dubai | Custom App Solutions by Ajath
Ajath Infotech Technologies LLC
 
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
Ranking Google
 
Top 12 Most Useful AngularJS Development Tools to Use in 2025
Top 12 Most Useful AngularJS Development Tools to Use in 2025Top 12 Most Useful AngularJS Development Tools to Use in 2025
Top 12 Most Useful AngularJS Development Tools to Use in 2025
GrapesTech Solutions
 
Beyond the code. Complexity - 2025.05 - SwiftCraft
Beyond the code. Complexity - 2025.05 - SwiftCraftBeyond the code. Complexity - 2025.05 - SwiftCraft
Beyond the code. Complexity - 2025.05 - SwiftCraft
Dmitrii Ivanov
 
How to Troubleshoot 9 Types of OutOfMemoryError
How to Troubleshoot 9 Types of OutOfMemoryErrorHow to Troubleshoot 9 Types of OutOfMemoryError
How to Troubleshoot 9 Types of OutOfMemoryError
Tier1 app
 
GC Tuning: A Masterpiece in Performance Engineering
GC Tuning: A Masterpiece in Performance EngineeringGC Tuning: A Masterpiece in Performance Engineering
GC Tuning: A Masterpiece in Performance Engineering
Tier1 app
 
How to Install and Activate ListGrabber Plugin
How to Install and Activate ListGrabber PluginHow to Install and Activate ListGrabber Plugin
How to Install and Activate ListGrabber Plugin
eGrabber
 
Adobe InDesign Crack FREE Download 2025 link
Adobe InDesign Crack FREE Download 2025 linkAdobe InDesign Crack FREE Download 2025 link
Adobe InDesign Crack FREE Download 2025 link
mahmadzubair09
 
Autodesk Inventor Crack (2025) Latest
Autodesk Inventor    Crack (2025) LatestAutodesk Inventor    Crack (2025) Latest
Autodesk Inventor Crack (2025) Latest
Google
 
Digital Twins Software Service in Belfast
Digital Twins Software Service in BelfastDigital Twins Software Service in Belfast
Digital Twins Software Service in Belfast
julia smits
 
Orion Context Broker introduction 20250509
Orion Context Broker introduction 20250509Orion Context Broker introduction 20250509
Orion Context Broker introduction 20250509
Fermin Galan
 
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdfTop Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
evrigsolution
 
NYC ACE 08-May-2025-Combined Presentation.pdf
NYC ACE 08-May-2025-Combined Presentation.pdfNYC ACE 08-May-2025-Combined Presentation.pdf
NYC ACE 08-May-2025-Combined Presentation.pdf
AUGNYC
 

Installing symfony within netbeans and WAMP

  • 1. Installing Symfony within Netbeans and Wamp : Setting symfony in Netbeans 6.9 and Wamp 2.0 The Symfony is integrated in Netbeans 6.9, so, it’s not necessary to download it.First of all, download and install:  Symfony 1.4 (the package)  Netbeans 6.9  Wamp server 2.0 Extract the files from the symfony archive into the folder wamp (C:wamp). Create the new folder in symfony (for having C:wampsymfony). Setting PHP and Symfony Open Netbeans and click on Tools>Options. Click on the PHP tab for changing some settings: - General tab: put the path to php.exe from your wamp (C:wampbinphpphp5.3.0php.exe) - Symfony tab: put the path to symfony (C:wampsymfonydatabinsymfony). If nothing is set in Applications, put this: –escaping-strategy=on –csrf-secret=UniqueSecret
  • 2. MYSQL Server Go on the Services Windows (next to Project and Files). If it’s not showing, click on Window>Service. Expand Databases, right-click on MYSQL and choose Properties. For the purpose of this test, we will not put a password for accessing the database.
  • 3. If you have already MYSQL Workbench installed, you can click on Admin Properties et to put these paths in the adequate fields:  Path to admin tool: it’s the path to what you’ll use to manage your database. So whether it’s phpMyAdmin, MYSQL Workbench or others, it’s there you need to put their path.  Path to start command: it’s for starting the MYSQL service, so check in the bin folder from your Wamp  Path to stop command: it’s for closing MYSQL, so if it’s MYSQL admin, don’t forget to put the following arguments: -u root stop (or instead of root, put the admin username). Normally, everything should be working for your database. Check it by right-clicking on MYSQL Server and choose Connect. When you expand this node, you should see the databases stored on it. You can create our database now if you want but I prefer to do it after setting our project. Time to set a project It’s time to click on File>New Project. Choose on the left column PHP and on the right one PHP Application.
  • 4. Next, put a name on your project (games in our case) and change the Sources Folder for your www/games folder.
  • 5. Configuration on localhost in the next step. Choose Symfony framework and generate the frontend and backend in the same time. Now you’re ready to use the framework… well once we have created our database physically (without tables).
  • 6. Set the database So, what to do? Well, you can go back to Services, right-click on MYSQL Server, then choose Create and give life to our database. Check with phpMyAdmin by typing localhost in your browser without forgetting to start Wamp server. Come back to the Projects Window and right-click on Games. Choose Symfony>Run command for accessing to the framework’s commands. Choose configure:database and put as parameters the following line: "MYSQL:host=localhost;dbname=games" root Click on run and check the file databases.yml in games/config if everything is set well: all: doctrine: class: sfDoctrineDatabase param: dsn: 'MYSQL:host=localhost;dbname=games' username: root password: null Virtual Host Well, normally now, you can use the framework… but I lied, we have still one thing to do. We need to configure a virtual host on our Wamp. So go in C:wampbinapacheApache2.2.11confextra to find the file httpd-vhosts.conf. Edit it with your notepad and put the following code (you can change the number 9093 by 8080): # Be sure to only have this line once in your configuration NameVirtualHost 127.0.0.1:9093 # This is the configuration for Games Listen 127.0.0.1:9093 <VirtualHost 127.0.0.1:9093> ServerName project.localhost DocumentRoot "C:wampwwwgamesweb" DirectoryIndex index.php <Directory "C:wampwwwgamesweb"> AllowOverride All Allow from All </Directory> Alias /sf "C:wampsymfonydatawebsf" <Directory "C:wampsymfonydatawebsf"> AllowOverride All Allow from All </Directory> </VirtualHost>
  • 7. How to understand that? - Well, as you can see I’ve already set a name for my virtual host that isn’t 8080. But it’s only because it was taken before (and mainly because the 8080 refused to work when I began to learn Symfony). - I’ve put a server name like it was recommended but I am not using it. So, you’ll see a lot of localhost:9093 in my URLs. - The first part of code concerns the folders that the browser can access. So, it will be there you’ll find css, js, images, etc.. - The alias is redirecting to the symfony framework and for default pages Note that all your symfony project is deployed on the www folder, which is not really a secure way to do. In reality, every folder apart web should be out of the www directory. But I’m still not at the point where I’m feeling at ease with moving these things out and make everything work. Just if you just want to understand the framework like me, let everything like that. Checking the new project And now , you’re settled for your first symfony project! If you have doubts about the success of what I’ve described: restart Wamp if it was already working and type localhost:9093/frontend_dev.php.
  翻译: