SlideShare ist ein Scribd-Unternehmen logo
1 von 7
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.

Weitere ähnliche Inhalte

Was ist angesagt?

Setup web-application-testing-environment
Setup web-application-testing-environmentSetup web-application-testing-environment
Setup web-application-testing-environmentNabarun 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.0Mat Newman
 
WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011Alfred Ayache
 
3 Configuring Drupal
3 Configuring Drupal3 Configuring Drupal
3 Configuring DrupalWingston
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of DrupalWingston
 
Wampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaWampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaAjay Di Sharma
 
8 Web Practices for Drupal
8  Web Practices for Drupal8  Web Practices for Drupal
8 Web Practices for DrupalWingston
 
Laravel installation
Laravel installationLaravel installation
Laravel installationphptpoint0123
 
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 EC2Chris Sparshott
 
Installation xampp and WordPress on localhost
Installation xampp and WordPress on localhostInstallation xampp and WordPress on localhost
Installation xampp and WordPress on localhostLuzan 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 NeupanePankaj 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 '09Ilya Grigorik
 

Was ist angesagt? (20)

Laravel Valet
Laravel ValetLaravel Valet
Laravel Valet
 
Initialize database in Mule part2
Initialize database in Mule part2Initialize database in Mule part2
Initialize database in Mule part2
 
Jones_Lamp_Tutorial
Jones_Lamp_TutorialJones_Lamp_Tutorial
Jones_Lamp_Tutorial
 
Setup web-application-testing-environment
Setup web-application-testing-environmentSetup web-application-testing-environment
Setup web-application-testing-environment
 
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
 
WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011
 
3 Configuring Drupal
3 Configuring Drupal3 Configuring Drupal
3 Configuring Drupal
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of Drupal
 
Wampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaWampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharma
 
8 Web Practices for Drupal
8  Web Practices for Drupal8  Web Practices for Drupal
8 Web Practices for Drupal
 
Laravel installation
Laravel installationLaravel installation
Laravel installation
 
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
 
Wcmtl andrear-domain-mapping
Wcmtl andrear-domain-mappingWcmtl andrear-domain-mapping
Wcmtl andrear-domain-mapping
 
Set up dev environment
Set up dev environmentSet up dev environment
Set up dev environment
 
Xampp Ppt
Xampp PptXampp Ppt
Xampp Ppt
 
Installation xampp and WordPress on localhost
Installation xampp and WordPress on localhostInstallation xampp and WordPress on localhost
Installation xampp and WordPress on localhost
 
Xampp installation
Xampp installation Xampp installation
Xampp installation
 
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
 
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
 
Wordpress installation
Wordpress installationWordpress installation
Wordpress installation
 

Andere mochten auch

การเขียนบทความวิจัย2
การเขียนบทความวิจัย2การเขียนบทความวิจัย2
การเขียนบทความวิจัย2Prachyanun 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 Inaroseo
 
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
 

Andere mochten auch (6)

การเขียนบทความวิจัย2
การเขียนบทความวิจัย2การเขียนบทความวิจัย2
การเขียนบทความวิจัย2
 
Isabel &amp; Jose C (1)
Isabel &amp;  Jose  C (1)Isabel &amp;  Jose  C (1)
Isabel &amp; Jose C (1)
 
Thesis Defense Draft I
Thesis Defense   Draft IThesis Defense   Draft I
Thesis Defense Draft I
 
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)
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Endeavour instrument-pvt-ltd
Endeavour instrument-pvt-ltdEndeavour instrument-pvt-ltd
Endeavour instrument-pvt-ltd
 

Ähnlich wie Installing symfony within netbeans and WAMP

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 xampppeyman Ghader Kurehpaz
 
Install Word Press with xampp
Install Word Press with xamppInstall Word Press with xampp
Install Word Press with xamppMehdi Sharifirad
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationChetan Soni
 
Installation of wampserver
Installation of wampserverInstallation of wampserver
Installation of wampserverSmita Agarwal
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installationfranbow
 
How to use_000webhost
How to use_000webhostHow to use_000webhost
How to use_000webhostIIUM
 
CS1520 Intro and Xampp installation
CS1520 Intro and Xampp installationCS1520 Intro and Xampp installation
CS1520 Intro and Xampp installationSalim Malakouti
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Boxguest34a3a419
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows BoxJayanta 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 ServerAPPSeCONNECT
 
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 ServerKaushal 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 MAMPParsons
 
Open Mic - IBM Sametime Proxy Clustering
Open Mic - IBM Sametime Proxy ClusteringOpen Mic - IBM Sametime Proxy Clustering
Open Mic - IBM Sametime Proxy Clusteringjayeshpar2006
 
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-windowsrajuy2r
 
Visual guide15
Visual guide15Visual guide15
Visual guide15tungvt0303
 

Ähnlich wie 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
 
Install Word Press with xampp
Install Word Press with xamppInstall Word Press with xampp
Install Word Press with xampp
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
 
VIKRAM
VIKRAMVIKRAM
VIKRAM
 
Installation of wampserver
Installation of wampserverInstallation of wampserver
Installation of wampserver
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installation
 
How to use_000webhost
How to use_000webhostHow to use_000webhost
How to use_000webhost
 
CS1520 Intro and Xampp installation
CS1520 Intro and Xampp installationCS1520 Intro and Xampp installation
CS1520 Intro and Xampp installation
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Wampserver install
Wampserver installWampserver install
Wampserver install
 
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
 
phpTutorial1
phpTutorial1phpTutorial1
phpTutorial1
 
phpTutorial1
phpTutorial1phpTutorial1
phpTutorial1
 
25_26 (1).pptx
25_26 (1).pptx25_26 (1).pptx
25_26 (1).pptx
 
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
 
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
 
Open Mic - IBM Sametime Proxy Clustering
Open Mic - IBM Sametime Proxy ClusteringOpen Mic - IBM Sametime Proxy Clustering
Open Mic - IBM Sametime Proxy Clustering
 
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
 
Visual guide15
Visual guide15Visual guide15
Visual guide15
 

Kürzlich hochgeladen

Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 

Kürzlich hochgeladen (20)

Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 

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.