Cytat
Aby serwer Apache rozpoznawał pliki PHP jako te, które muszą zostać przetworzone przez interpreter PHP, trzeba zlokalizować w pliku httpd.conf następujące wiersze:
I dopisać do nich:
Kod
#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
AddType application/x-tar .tgz
AddType image/x-icon .ico
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
AddType application/x-tar .tgz
AddType image/x-icon .ico
I dopisać do nich:
Kod
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php-source .phps
Tylko, że ja mam:
Kod
#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
I widać, że ten kod różni się od tego co jest w książce - co mam w takim przypadku najlepiej zrobić ?