Pages

Showing posts with label WAMP. Show all posts
Showing posts with label WAMP. Show all posts

Friday, June 5, 2015

How To Install Laravel on Windows (WAMP server)


Step 1 : Install Laravel Framework in Windows *PHP version greater than 5.3.7 is required.
              For Wamp Installation Click Here

Step 2 : Download Laravel from: www.github.com/laravel/laravel/archive/master.zip

Step 3 : Extract Laravel into the www folder for WAMP

Step 4 : Enable openssl from all php.ini files
             Click Here For How To Enable openssl  

Step 5 : Download Composer from: www.getcomposer.org/Composer-Setup.exe
             Click Here For Composer Installation

Step 6 : Install Composer into the same directory php.exe is located.
             (Please Follow Installation Steps 5 )

Step 7 : Click on WAMP icon->PHP->PHP Extensions and enable: 
                php_openssl,                                  
                php_curl, 
                php_socket
               also enable in php.ini must read : step 4 

Step 8 : Click on wamp icon->Apache->Apache Modules and enable ssl_module

Step 9 : Open cmd.

Step 10 : Change into the directory where you extracted Laravel e.g: 
                cd  C:\wamp\www\laravel-master.

Step 11 : Type the command: composer install.

Step 12 :Click on wamp icon->Apache->Apache Modules and enable rewrite_module
               
Step 13 :Installation completed.

Step 14 :Open your browser and run URL : localhost/laravel-master/public,
                 you will be see below output.








How to enable rewrite module in XAMPP, WAMP and Apache

  1. Open apache’s configuration file using your favorite text editor. The configuration file generally locates at:{apache_dir}/conf/httpd.conf
    If you are using XAMPP or WAMP package then you will find the file at:{xampp_dir}/apache/conf/httpd.conf
    {wamp_dir}/apache/conf/httpd.conf
  2. Search for the following string:#LoadModule rewrite_module modules/mod_rewrite.soand uncomment it (remove the ‘#’ sign).
  3. Now search for another string AllowOverride None and replace it by AllowOverride All
  4. Finally save the changes, close your text editor and restart your apache server.
That’s all. :)

Sunday, June 29, 2014

How to Install WordPress On Windows Locally With WAMP


Step 1: Installing WAMP



This is a fairly simple step – keep on clicking Next till you see Finish. In case you have a doubt, you could go through the following:
Its better to leave default installation directory unaltered i.e. “c:/wamp”
During installation, a prompt will ask you for a “default browser”. It’s explorer.exe. Simply click on Open as shown in the screenshot.
Click Yes when a prompt for “installing the new WampServer 2 homepage” pops up.
Add an exception to your firewall for Apache HTTP Server.
Let the SMTP and Email be set as the default values.
Once the installation is complete, check the “Launch WampServer 2 now” box and click on
Finish 

.












Step 2: Making sure WAMP is Running


To ensure that WAMP server is running, check the color of the WAMP icon (capital W icon) in your taskbar. Following are the possible situations:
If the W icon is Red then WAMP server is not running and is offline. You will have to restart the sever or reboot your PC.
If it is Orange, then the server is partially running, i.e. Apache (you web server) is running and the MySQL service is booting or is offline. You should usually wait around 30 seconds and if the icon still doesn’t turn Green the you should restart the server.
If it is Green then it means that the server is online and should be accessible from your web browser.





To test if your server’s running, open your favorite browser and enter “localhost” or “127.0.0.1″ in the address bar and see what comes up. You should get this:


Step 3: Create a New Database using phpMyAdmin



Left click on the WAMP server icon and select phpMyAdmin (second one from the top).
A new tab/ window should open up in your default browser called phpMyAdmin. Select the Databases tab.
Enter your desired database name under Create a database (I have chosen: “yousitename_wp”) and click on the Create button.



If successful, you should get a message like this:


Step 4: Extracting the WordPress archive

Close phpMyAdmin and extract the contents of the WordPress ZIP archive under “C:\WAMP\www”. You should find a new folder called wordpress. That’s the WordPress installation directory. If you want to change it – that’s fine. Your WordPress installation will be available under “http://localhost/folder-name”. Thus in our case, its “http://localhost/wordpress”.
Step 5: Configuring your WordPress Installation
In this part, we shall establish a connection to the MySQL database we created in Step 3.

Open your browser and type http://localhost/wordpress in the address bar.
Click on Create a Configuration file.
On the next page, click on Let’s Go.
Fill in the details carefully:
Database name: yoursitename_wp
User name: root
Password: (leave it blank)
Database Host: localhost
Table Prefix: xs_ (The default is wp_ but its a good security practice to use some other table prefix)



Click Submit. If the database connection is successful, then you should get this message:



WordPress then creates the necessary tables in the “yoursitename_wp” database. In the following step, enter your Site Title, Username, Password and the rest of the required data. You should leave the Privacy button unchecked (because we don’t want search engines to index our site in a developmental or experimental stage) and click on Install WordPress.


And you’re done! There you have it! A fully working offline installation of WordPress in your Windows PC using WAMP.



Monday, May 19, 2014

INSTALLATION OF WORDPRESS ON WAMP SERVER ( OS WINDOWS 7 )

 install WordPress on your personal computer for learning and testing purposes. The process of installing WordPress on your personal computer is also known as setting up a local server environment or localhost. Often theme designers and plugin developers install WordPress on a local server environment to speed up their development process. An average user can use the local server environment to test plugins and/or make changes to the site before making it live for their audiences. In this article, we will show you how to install WordPress on your Windows computer using WAMP.
Note: If you install WordPress locally on your computer, then the only person who can see that site is you. If you want to have a live WordPress site available to the public, then you need to have a Domain and WordPress Web hosting. We recommend that you follow this guide on how to install WordPress.
What is WAMP?
WAMP or WampServer is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. Basically, you need WAMP to setup your own local server environment and install WordPress on Windows. There are other clients for Windows such as XAMPP, but we use and recommend WAMP. It is free and easy to use.
Installing Wampserver on your PC
First thing you need to do is go to WampServer website and download the latest WampServer. You will be presented with various options on their download page. Simply choose the one that applies to your Windows (64-bit or 32-bit). When in doubt, select the 32-bit version because it will work on 64-bit versions of Windows.
Once you have downloaded WampServer, run the installation program and follow on-screen instructions. At one point during the installation, WampServer will ask for the location of the default web browser. By default it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files.
Once you are done with the installation, launch WampServer.
Setting Up a Database for WordPress
WampServer comes with phpMyAdmin, a web based application to manage MySQL databases. Click on the Wampserver icon in windows taskbar and then click on phpmyadmin.
phpMyAdmin will open in a new browser window. Click on Databases in phpmMyAdmin to create a new database for WordPress. Choose a name for your database and click on Create button.
Installing WordPress on Windows with WAMP

Download a copy of WordPress from WordPress.org. Extract the zip file and copy the wordpress folder. Go to C:wampwww and paste wordpress folder there. You can rename the wordpress folder to anything you want for example mysite, wpbeginner, etc. For the sake of this tutorial, we renamed our wordpress directory to mysite. Now open a web browser and go to:
http://localhost/mysite/



WordPress will inform you that it can not find a wp-config.php file. Click on theCreate a Configuration File button to create it.
Provide your database information to install WordPress on localhost with WAMPRun WordPress Installation ScriptCreate wordpress configuration wp-config file
On the next screen, you need to provide your database information. The database name will be the one that you selected. In our case, we called it test_db.
Provide your database information to install WordPress on localhost with WAMPRun WordPress Installation Script
Please note that your default database username will be root and leave the password blank. Click on the submit button and WordPress will create a configuration file for you.
After this you will see a screen informing you that WordPress has successfully created the configuration file, and you can proceed with the installation. Click onRun Install button.
Provide your database information to install WordPress on localhost with WAMP
Run WordPress Installation Script
On the next screen, fill out the installation form. You need to provide a title for your website, choose an admin username and password, and provide admin email address. Finally press the Install WordPress button.
WordPress Installation Page
WordPress will quickly run the installation and create database tables. Once done, you will see a success message after the installation. You can then proceed to your WordPress by clicking on the Log in button.
Troubleshooting WAMP Skype Error
If you have Skype installed and running then WampServer may not be able to work properly due to a conflict with Skype. The conflict is caused by both Apache and Skype using the same port 80. There is a simple fix for this problem. Open Skype and go to Tools » Options. Click on Advanced and then Connections. Uncheck the box that says Use port 80 and 443 as alternatives for incoming connections. Save options and restart Skype.
Fixing Wamp / Xampp Skype Conflict
Enabling Pretty Permalinks in WAMP
Pretty permalinks will not work by default on your local server environment. All your URLs will look like localhost/mysite/?p=18. If you go to Settings » Permalinks and use one of the other opttions, then it will show you “page not found” errors. We have already written about a solution here that will show you how to enable custom permalinks in WAMP.
Migrating from WAMP to Live