Summary

In this chapter, you learned how to install and configure PHP for use with Apache on either Linux/Unix or Windows. You learned that various configure options in the Linux/Unix build script can change the features that are supported. You learned about php.ini and how to change the values of its directives. Using the phpinfo() function, you tested your installation and produced a list of its configuration values. You created a simple PHP script using a text editor. You examined four sets of tags that you can use to begin and end blocks of PHP code. Finally, you learned how to use the echo statement or print() function to send data to the browser, and you brought HTML and PHP together into the same script. In the next chapter, you will use ...

Get Sams Teach Yourself PHP, MySQL® and Apache All in One 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.