PHP 5 Development Environment with SVN (SubVersion) and Custom hostnames

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Setup WAMP/LAMP Stack

Step 1). Download WAMP ( )
Step 2). Install WAMP.
Step 3). Enable mod_rewrite
Step 3). Enable vhosts_alias_module

Setup Eclipse PDT with Subversion

Step 4). Download Eclipse PDT ( /)
Step 5). Unzip this to your favourite directory (e.g. C:/eclipse)
Step 6). Run eclipse.exe (JRE is required to run)
Step 7). Navigate:- Help -> Software Updates -> Find & Install
Step 8). Use subclipse URL according to your eclipse version
Step 9).
Finish & restart eclipse.

Setup Custom hosts for Development

Step 10). Edit C:\WINDOWS\system32\drivers\etc\hosts file
Step 11). add this line to end of the file newproject.localhost
Step 12). Edit Apache Confirguration File (e.g. C:\wamp\bin\apache
Un-Comment vhosts include path
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
Step 13). Edit Apache vHosts Confirguration File (e.g. C:\wamp\bin
Step 14). Add Virtual host to apache
e.g. code
<VirtualHost *:80>
DocumentRoot "C:/wamp/www/newproject"
ServerName newproject.localhost
Step 15). Add C:/wamp/www/newproject directory
Step 16). Restart Apache

Hope this tutorial will help you setup project oriented development
environment in PHP.

Re: PHP 5 Development Environment with SVN (SubVersion) and Custom hostnames

Why would you make a site dependent on its hostname?

Just curious,
Willem Bogaerts

Application smith
Kratz B.V. /

Re: PHP 5 Development Environment with SVN (SubVersion) and Custom hostnames

On Jan 19, 9:07=A0pm, Willem Bogaerts <"w.bogaerts'OR1=3D1--
"> wrote:
Quoted text here. Click to load it

Good Point !

With custom hostnames your site behaves similar to the online
   * rewrite logic works good.
   * other relative path links works perfectly.

It's usually a better choice to work on http://newporject.localhost /
instead of http://localhost/newporject/

Site Timeline