Workshop

Quiz

1: Where can you find the PHP online manual?
2: From a Unix operating system, how would you get help on configuration options (the options you pass to the configure script in your PHP distribution)?
3: What is Apache’s configuration file typically called?
4: Which line should you add to the Apache configuration file to ensure that the .php extension is recognized?
5: What is PHP’s configuration file called?

Answers

A1: The manual for PHP is available at http://www.php.net/manual/.
A2: You can get help on configuration options by calling the configure script in the PHP distribution folder and passing it the --help argument:
./configure -help
A3: The Apache configuration file is called httpd.conf.
A4: The line is
 AddType ...

Get Sams Teach Yourself PHP in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.