X-Git-Url: http://git.onelab.eu/?p=myops.git;a=blobdiff_plain;f=web%2Fcollect%2Fserver%2Fphp.conf;fp=web%2Fcollect%2Fserver%2Fphp.conf;h=bb0f180e3843bda8c06566881eba0f5709557494;hp=0000000000000000000000000000000000000000;hb=85070b3d456667f238051af1a2f1f2a0c12300ab;hpb=607f0e13927eb18075c375fa9ba5527da4fcbb44 diff --git a/web/collect/server/php.conf b/web/collect/server/php.conf new file mode 100644 index 0000000..bb0f180 --- /dev/null +++ b/web/collect/server/php.conf @@ -0,0 +1,28 @@ +# +# PHP is an HTML-embedded scripting language which attempts to make it +# easy for developers to write dynamically generated webpages. +# + + LoadModule php5_module modules/libphp5.so + + + LoadModule php5_module modules/libphp5-zts.so + + +# +# Cause the PHP interpreter to handle files with a .php extension. +# +AddHandler php5-script .php +AddType text/html .php + +# +# Add index.php to the list of files that will be served as directory +# indexes. +# +DirectoryIndex index.php + +# +# Uncomment the following line to allow PHP to pretty-print .phps +# files as PHP source code: +# +#AddType application/x-httpd-php-source .phps