March 9-11, 2011
Montreal, Canada

CLI, the other SAPI

Most developers use PHP in a web context and run their code via Apache.

The command line interface (CLI) is another approach to run PHP without the overhead of your webserver.

This talk not only illustrates the usage of the PHP binary, but also some use cases for which the CLI is the better tool.

I'll be touching subjects such as:

- Configuration checking
- Syntax validation
- Function and object documentation
- Batch tasks
- Reading from STDIN
- Writing to STDOUT/STDERR
- Interacting with other binaries via piping
- Process forking
- ...

View all 146 sessions

Thijs Feryn

Combell

Thijs Feryn is a technical evangelist at a Belgian webhosting company called Combell.

His goal is to bring technology to the people and people to technology. He focuses on bridging the gap between code and infrastructure.

Thijs is also involved in many open source communities and leads the PHPBenelux community. He speaks, listens, writes, codes, teaches, organizes and is above all very excited to speak at Confoo.

Read More

Comments

Please remain courteous and constructive. Comments will be moderated.

Montreal 2011 sponsored by