Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-01-2012, 10:22 AM   #1
LQ Newbie
Registered: May 2008
Posts: 17

Rep: Reputation: 0
Cool php Development server suggestions

Hi everybody!

I'm here to get some suggestions

I've created a local webserver from an old p4 1.7 Ghz/1Gb ram for websites developpements.

I've installed CentOS 5 and setup Apache2/PHP5.2.10/Mysql5

and settup apache with virtual name host :

NameVirtualHost *:80
NameVirtualHost *:443
VirtualDocumentRoot /var/www/html/%0
VirtualScriptAlias /var/www/html/%0/cgi-bin/

so that I can point to my local server and it works by creating a folder /var/www/html/

installed with umask and webadmin SSH user (no ftp!)

i've rigged my with a wildcard subdomains * pointing to our static IP.

even if protected to the teeth, i've told search engine to go see elsewhere:
RewriteCond %{HTTP_USER_AGENT} google|bing|slurp [NC]
RewriteRule .? - [G]

and i've settuped a local dns server to say that * is a local IP (so that from inside it works as well as from outside to show our clients)

and lastly, simple backup cron job with dayly and weekly backups (tar.bz2)

right now it works great and simple for me and my coworkers.... but!

could it be a good idea to put SVN into the mix?

I love SVN, some of my clients websites (yes... websites!) in PHP have SVN installed so we can change it, test it on then checkout live. only mysql is not so great with it...

i've never... ever... been able to make "auto checkout on commit" works... on any sites... and I don't know why (seams like permissions problems, but no logs to confirm)

IF I DO install SVN on my dev server... witch is best
- 1 project/1 website (need to create a project per new site)
- 1 project - all websites (with folders like i did up to now)

or do you think I should not try to mess with a working dev server?
Old 08-01-2012, 12:22 PM   #2
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
SVN sounds like a good choice as several people are writing code (if I understood you correctly). But then which way to go is a question of personal taste IMHO.

But I did react on another thing:
You are still running php 5.2, that branch reached EOL december 2010.
I strongly encourage you to upgrade to at least 5.3 or possibly 5.4.
Sticking to 5.2 will cause you problems since there are significant changes.
Apache & Mysql I don't know, you didn't specify.
Old 08-03-2012, 10:52 PM   #3
LQ Newbie
Registered: May 2008
Posts: 17

Original Poster
Rep: Reputation: 0
Yeah... i know, but since some of my clients are on SHARED hosting... 5.3 not that appropriate right now.


apache2, centos, mysql5, php, svn

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables Gui Development-Suggestions makix Linux - Security 4 09-22-2007 05:25 AM
C++ development environment - Suggestions? dangerousdave Linux - Software 2 02-28-2005 06:18 PM

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration