Re: php problem
Originally Posted by
Silver_fox_
If your HTML page contains ANY php it will need to be saved with php extension. If you are getting an error is it possible for you to post the php script for us to look at?
Must be an Ubuntu specific requirement. It might be advisable but it is not required.
As reference a quote from http://osdir.com/ml/php.general/2002-05/msg01167.html:
Your apache on linux must be configured to parse .html files through php
while your apache on your noteb.. must not, in your apache's httpd.conf
look for the foll. line:
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .phtml
so if you want to parse html files thru php add:
AddType application/x-httpd-php4 .html
Note: you must just search for those addtypes because the may be in another file when using Ubuntu.
If you don't make backups of your important data, your data is obviously not important to you.
Bookmarks