Hi have just got your book and install all the software onto my PC. I have just got to the bit where you add the PHP code into the apache httpd.conf file.
Then i tried to restart the Apache server and then it says "Operation Failed" The book says to find this code in the httpd.conf file:
Code:
#
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
AddType application/x-tar .tgz
AddType image/x-icon .ico
Then add the following lines:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
But in my conf file it has:
Code:
#
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
#AddType application/x-tar .tgz
#
# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
# information on the fly. Note: Not all browsers support this.
# Despite the name similarity, the following Add* directives have nothing
# to do with the FancyIndexing customization directives above.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
Which is different from the book
:( please help