Skip to main content

Posts

Showing posts from 2012

How to create a virtual host in Wamp Server 2

In this tuts we are going to create a virtual host in wamp server. (As the title said). Let’s get started! Step 1: Open up and run your wamp server . I’ve already started my wamp. Step 2: Go to " C:\wamp\www\ ". Create a folder. Name it, " mysite " Step 3: Go to " C:\wamp\bin\apache\apache2.2.22\conf " And create a folder. We will name it " mysites " (By the way, just access "C:\wamp\bin\apache\" because the number will change over time. Because it’s a version number of apache.) Step 4: We will create a conf file; named "mysite1.conf " conf is a file extension NOTE : you can give a folder/conf-file name whatever you want. But for this purposes I will name it "mysite" Step 5: Copy paste this text bellow in " mysites.conf " file. <VirtualHost 127.0.0.7>                         DocumentRoot ...

How to include php.exe directory path in system variables path

Hi guys, Have you tried this command? I was really frustrated when I have to call php cli (the red line) with its directory. As you can see in the image above, I’m accessing the fuelphp’s command line utility named “oil”. In my case, my folders and directories are arranged well and thus, additional folders needed to cluster them all (somewhat like a library) like the image bellow. So that means I have to access php cli and fuelphp in this a long line of text: C:\> cd c:\wamp\bin\php\php5.3.13\ C:\wamp\bin\php\php5.3.13>php c:\wamp\www\PATH_1\ PATH_2\ PATH_3\ PATH_4\ PATH_5\fuelphp\oil To address this problem, samsami2u shares his knowledge. Here’s how Step 1 Go to your “Computer Icon” and right-click. Press “Properties”   Step 2   On the “Control Panel Home” click “Advanced System Settings” Step 3   A “System Properties” window will pop-up. It will a automatically select the “Advanced” Tab. The...