Since most of these types of scripts are more in the category of 'quick hacks', i doubt there's a lot of migration guides.. However if you search freshmeat.net you'll find there's quite a few php scripts out there already for various tasks.
Main thing you need to keep in mind is to start the script with #!/usr/bin/php -Cq (Console & quiet), console disables the run time time out and quiet supresses the php version headers.
-- Chris
Jochen Kächelin wrote:
Does anybody use php-scripts instead of perl- or shell-scripts to some system adminstration tasks such like compressing, analysing logfiles, creating statistics?
I hate perl although I know its very powerfull - so I deciced to do some tasks with php.
Are there some sources describing "migration" from perl/shell to php?