Question
PHP on Mac
What's the trick to getting php files to show up in preview
mode in DW8, 8.02 on a Mac? It only displays code.
I've done all this in the httpd.conf file:
_________
Locate the 4 lines:
#LoadModule php4_module
#AddModule mod_php4.c
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
Use your arrow keys to navigate the document and remove only the pound signs "#". The best way to navigate is to use the DOWN arrow key and stay to the left Side of the document. To remove the pound sign, hit the right arrow to the right Of the sign and then hit the DELETE key.
Warning: Only remove the pound signs!! Keep the lines of code where they are and do not relocate them!! You have been warned!
The changed lines should look like this:
LoadModule php4_module
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Thanks,
Phil
I've done all this in the httpd.conf file:
_________
Locate the 4 lines:
#LoadModule php4_module
#AddModule mod_php4.c
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
Use your arrow keys to navigate the document and remove only the pound signs "#". The best way to navigate is to use the DOWN arrow key and stay to the left Side of the document. To remove the pound sign, hit the right arrow to the right Of the sign and then hit the DELETE key.
Warning: Only remove the pound signs!! Keep the lines of code where they are and do not relocate them!! You have been warned!
The changed lines should look like this:
LoadModule php4_module
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Thanks,
Phil
