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

Varnish Software

As the Technical Evangelist at Varnish Software, Thijs Feryn focuses on web performance, software scalability, and content delivery. He demonstrates this through presentations, videos, books and blog posts.

Thijs is a published author and wrote Getting Started with Varnish Cache and Varnish 6 by Example. As a public speaker, he has a track record of over 300 presentations in 21 different countries, where he is often praised for his energetic and engaging presentation style.

Read More

Montreal 2011 sponsored by