-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from hunner/add_mod_lib_parameter
Add mod lib parameter
- Loading branch information
Showing
6 changed files
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class apache::mod::php { | ||
apache::mod { 'php5': } | ||
file { "${apache::params::vdir}/php.conf": | ||
ensure => present, | ||
content => template('apache/mod/php.conf.erb'), | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# PHP is an HTML-embedded scripting language which attempts to make it | ||
# easy for developers to write dynamically generated webpages. | ||
# | ||
#<IfModule prefork.c> | ||
# LoadModule php5_module modules/libphp5.so | ||
#</IfModule> | ||
#<IfModule worker.c> | ||
# # Use of the "ZTS" build with worker is experimental, and no shared | ||
# # modules are supported. | ||
# LoadModule php5_module modules/libphp5-zts.so | ||
#</IfModule> | ||
|
||
# | ||
# 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 |