the only disadvanage is that now all my .php files are being filtered for SSI - which might slow things down a tiny bit - but that's ok because this is only a testing server so I can have a look at PHP5
--- by the way, PHP5 rocks and so does your BINARY INSTALL - it's excellent - so I will certainly be visiting your site when a fully stable PHP5 is released.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
oops - no, that doesn't work - it allows SSI in .php files but causes SOME OTHER PROBLEM that breaks some pages and causes others to show just phpcode instead of html page...
back to the drawing board - any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It all works: phpinfo.php works, MySQL is running, phpMyAdmin works... so thanks...
But one small problem: the SSI is not working!
I tried file= and virtual= and I checked that the Apache directives should allow SSI:
<Directory "C:/Apache2/wwwroot/htdocs">
Options Indexes FollowSymLinks Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
The SSI's I wish to use are located in all my subdirectories under htdocs/ (and there are no .htaccess files to worry about)...
so, any suggestions for how to get SSI working?
the problem was that my Server Side Includes are all in files with the extension .php
the ability for .php files to contain SSI had to be enabled by replacing:
<IfModule mod_include.c>
AddType text/html .shtml .html .htm
AddOutputFilter INCLUDES .shtml .html .htm
</IfModule>
</IfModule>
with:
<IfModule mod_include.c>
AddType text/html .shtml .html .htm .php
AddOutputFilter INCLUDES .shtml .html .htm .php
</IfModule>
</IfModule>
the only disadvanage is that now all my .php files are being filtered for SSI - which might slow things down a tiny bit - but that's ok because this is only a testing server so I can have a look at PHP5
--- by the way, PHP5 rocks and so does your BINARY INSTALL - it's excellent - so I will certainly be visiting your site when a fully stable PHP5 is released.
oops - no, that doesn't work - it allows SSI in .php files but causes SOME OTHER PROBLEM that breaks some pages and causes others to show just phpcode instead of html page...
back to the drawing board - any ideas?
try telling the php side to parse html or shtml, and rename your files