Re: [nyphp-talk] Advice on setting for testing server

2009-08-27 Thread Ajai Khattri
On Wed, 26 Aug 2009, li...@nopersonal.info wrote: > I actually like the part of maintaining a server I used to too... but at a certain point you get more servers and realize its a lot of time to maintain all of them... -- Aj. ___ New York PHP User

Re: [nyphp-talk] Advice on setting for testing server

2009-08-27 Thread li...@nopersonal.info
Kristina D. H. Anderson wrote: > Hi Bev, > > Another good tip someone gave me is to train yourself to automatically > back up any file by adding the date in format _20090826 to the filename > before you edit or overwrite it, and that way you can always roll back > your files and have a day by d

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread Kristina D. H. Anderson
Keep those Unix tips coming...don't be really shocked if you get questions from me in a few days about how to install this stuff, though. Kristina > On Wed, Aug 26, 2009 at 6:22 PM, Brian Dailey wrote: > > > > > > Kristina D. H. Anderson wrote: > >> > >> Hi Bev, > >> > >> Another good tip someo

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread Chris Snyder
On Wed, Aug 26, 2009 at 6:22 PM, Brian Dailey wrote: > > > Kristina D. H. Anderson wrote: >> >> Hi Bev, >> >> Another good tip someone gave me is to train yourself to automatically >> back up any file by adding the date in format _20090826 to the filename >> before you edit or overwrite it, and tha

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread Brian Dailey
Kristina D. H. Anderson wrote: Hi Bev, Another good tip someone gave me is to train yourself to automatically back up any file by adding the date in format _20090826 to the filename before you edit or overwrite it, and that way you can always roll back your files and have a day by day histo

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread Kristina D. H. Anderson
Hi Bev, Another good tip someone gave me is to train yourself to automatically back up any file by adding the date in format _20090826 to the filename before you edit or overwrite it, and that way you can always roll back your files and have a day by day history of the code. Again like with yo

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread li...@nopersonal.info
Kristina D. H. Anderson wrote: > Hi, sorry if this was covered anywhere previously in this thread, but > I've found it useful, in addition to enabling the full error reporting > that's built into PHP, to also add customized error_log calls anywhere > where you have such things as database insert

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread li...@nopersonal.info
Ajai Khattri wrote: > If your VCS of choice doesn't have a wiki, you might want to look at > pbworks.com. > > (Sure, I could grab some open source and install it on my own hardware but > not having to waste time or worry about maintaining a server allows me to > focus more of my energy on the c

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread li...@nopersonal.info
Ajai Khattri wrote: > Of course server scripts and configs should also be in a version control > system. I use svnrepository.com (I think its $8/month for unlimited > projects up to a couple Gb). You can set up a repo for each project but > more importantly you can also click and create a Trac i

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread li...@nopersonal.info
Eddie Drapkin wrote: > I maintain a wiki that other people have to use, so I use MediaWiki, > because it's pretty unlikely that there's anyone I'm likely to work > with that is unfamiliar with the layout and features it offers, > because of wikipedia's prevalance. It's relatively easy to install >

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread Ajai Khattri
On Wed, 26 Aug 2009, Daniel Convissor wrote: > > Ive thought about switching to Git but I haven't found something similar > > that is better value for money > > Are you too big for the Micro or Small plans at http://github.com/plans ? Actually I see now that svnrepository.com have a new control

Re: [nyphp-talk] Advice on setting for testing server

2009-08-26 Thread Daniel Convissor
Hey Ajai: On Wed, Aug 26, 2009 at 12:29:47AM -0400, Ajai Khattri wrote: > > I use svnrepository.com (I think its $8/month for unlimited > projects up to a couple Gb). ... > Ive thought about switching to Git but I haven't found something similar > that is better value for money Are you too big

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Ajai Khattri
On Tue, 25 Aug 2009, li...@nopersonal.info wrote: > Do you have any recommendations on a good one to use? If your VCS of choice doesn't have a wiki, you might want to look at pbworks.com. (Sure, I could grab some open source and install it on my own hardware but not having to waste time or wor

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Ajai Khattri
On Tue, 25 Aug 2009, Kristina D. H. Anderson wrote: > Right now I'm working with the Paypal IPN code and I'm finding that > it's quite a creative experience to figure out what, in any particular > instance, is the highest level of valuable information you can wreak > out of some code by dint of

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Ajai Khattri
On Tue, 25 Aug 2009, li...@nopersonal.info wrote: > Chris Snyder wrote: > > It's a good idea to set up a wiki for your personal use as a sysadmin, > > to store recipes like this, and make them easy to update with each new > > install. The only thing worse than spending hours getting a > > configur

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Kristina D. H. Anderson
Hi, sorry if this was covered anywhere previously in this thread, but I've found it useful, in addition to enabling the full error reporting that's built into PHP, to also add customized error_log calls anywhere where you have such things as database inserts/updates, web service request/respons

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Joelle Tegwen
And I bet you can script even more of the process. For example, you were saying you manually edit your config files. There are two ways to automate config file modifications. 1) Have a copy of the config file in your version control system (subversion, cvs, git, etc) that your installation

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Daniel Convissor
Hi Joelle: On Tue, Aug 25, 2009 at 12:50:55PM -0500, Joelle Tegwen wrote: > > I created two files. The first is a shell script that installs all of > the applications I use, changes settings/permissions and makes copies of > config files. Then you've always got your back covered. The second is

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Eddie Drapkin
On Tue, Aug 25, 2009 at 2:46 PM, li...@nopersonal.info wrote: > Chris Snyder wrote: >> It's a good idea to set up a wiki for your personal use as a sysadmin, >> to store recipes like this, and make them easy to update with each new >> install. The only thing worse than spending hours getting a >> c

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Chris Snyder wrote: > It's a good idea to set up a wiki for your personal use as a sysadmin, > to store recipes like this, and make them easy to update with each new > install. The only thing worse than spending hours getting a > configuration exactly right is realizing two years later that you > d

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Joelle Tegwen wrote: > Here's my advice that others have not already covered. > 1) Take the time to figure out how to move your /home to another partition. I saw a reference to that the other day while searching for something else and made a mental not that I needed to come back to it. The fact th

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Chris Snyder
On Tue, Aug 25, 2009 at 1:50 PM, Joelle Tegwen wrote: > I created two files. The first is a shell script that installs all of the > applications I use, changes settings/permissions and makes copies of config > files. Then you've always got your back covered. The second is instructions > and informa

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Joelle Tegwen
I switched over from Windows a couple of years ago. I'm not a pro, but I found a few things that were frustrating for me as I switched distros or got a new machine. Here's my advice that others have not already covered. 1) Take the time to figure out how to move your /home to another partition.

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Ajai Khattri wrote: >> Do any of you have recommendations on configuration settings to use? > > Most of these packages come with pretty sensible config settings so I > probably would *not* mess with them without knowing the consequences. Duly noted. >> Which packages/extensions/modules should b

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Chris Snyder wrote: > Congratulations! I've always thought that system administration skills > are a necessary part of any web programmer's toolkit. I couldn't agree more--the need for it has become clearer & clearer as I inch my way forward. The company I work for is an outfit of network securit

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Mark Armendariz wrote: > You want version control as much of a habit as "Ctrl + S". It can be > a pain at first and sometimes even seems silly when you start out and > develop on your own. But it is Very nice to have an undo button that > reaches back all the way to the first line of code you've

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
David, thanks for all the advice, especially the reminder to follow best practices and mind my variables. I'll take a look at the XAMPP config files, stick with my stock installation, and keep error reporting set to E_ALL. > I don't think there is a removerookiemistakes extension. Drat! Someone

Re: [nyphp-talk] Advice on setting for testing server

2009-08-23 Thread Ajai Khattri
On Sun, 23 Aug 2009, li...@nopersonal.info wrote: > At present, aside form having set passwords I'm still using the default > config files that were installed with Apache 2.2.11, PHP 5.26, MySQL > 5.0.75, and phpMyAdmin 3.1.2. I'd like to turn off things that are > commonly disabled in shared host

Re: [nyphp-talk] Advice on setting for testing server

2009-08-23 Thread Chris Snyder
On Sun, Aug 23, 2009 at 5:36 AM, li...@nopersonal.info wrote: > I recently set up my first LAMP stack using Ubuntu--it seemed like the > easiest option, and so far I love it. From now on this will be my local > testing server. Congratulations! I've always thought that system administration skills

Re: [nyphp-talk] Advice on setting for testing server

2009-08-23 Thread Mark Armendariz
>> Should I go ahead and turn off error reporting and enable it via my >> scripts, or should I leave it on all the time? If I should leave it on, >> at what level should I set it? E_ALL? > > For a test server I'd say set it to E_ALL. You may get annoyed at times with > messages, but better you get

Re: [nyphp-talk] Advice on setting for testing server

2009-08-23 Thread David Krings
li...@nopersonal.info wrote: Do any of you have recommendations on configuration settings to use? You may want to take a look at the popular XAMPP packages out there, most notably that from apachefriends (http://www.apachefriends.org/en/xampp.html). I think they have a sound and typical configu

[nyphp-talk] Advice on setting for testing server

2009-08-23 Thread li...@nopersonal.info
Okay, one last batch of questions then I'll leave you guys alone for another six months. ;-) I recently set up my first LAMP stack using Ubuntu--it seemed like the easiest option, and so far I love it. From now on this will be my local testing server. I've installed OpenSSH so I can practice "tal