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 script exports and copies into place.

2) Have a unified diff (diff -u php.ini-production php.ini > ini.diff) of your configuration file in your version control system that your shell script exports then calls:

patch -i ./ini.diff $php_path/php.ini-development -o $php_path/php.ini


Ah! I couldn't figure that part out. Excellent idea. Thanks!
J
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php

Reply via email to