Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sameer Borate's Blog:
7 essential php command-line options
Dec 14, 2009 @ 13:52:38

On his Code Diesel Sameer shares seven essential options you can use to make your command-line PHP experience even better.

Most of us use PHP from a IDE or using a simple text editor with a browser, rarely dropping down to the command-line for running php programs. But php provides some interesting and quick options you can use to perform various common tasks or to debug some nasty installation problems. Below is a list of some useful options you should be familiar with.

Among those on his list, handy options like the ability to define which php.ini file to use (-c), showing what modules are compiled into the current binary (-m) and a syntax highlighted output of the file (-s).

tagged: essential commandline option

Link:


Trending Topics: