took -f options in php sample command line as this is not necesary