Changes

Jump to: navigation, search

Package:Apache

299 bytes added, 5 years ago
m
moar php
<code>httpd.conf</code> controls how the server behaves, at the bottom of the file it has directives to include configuration files ending in .conf in <code>/etc/apache2/modules.d</code> and <code>/etc/apache2/vhosts.d</code>
=== Php ===
==== DSO / mod_php ====
To show which php versions are available for apache on your system:
<console>###i## eselect php list apache2
[1] php5.5
[2] php5.6 *
</console>
 
To select php5.5:
<console>###i## eselect php set apache2 php5.5</console>
 
{{file|name=/etc/conf.d/apache2|lang=|desc=enable php dso module|body=
"... -D PHP5"
}}
restart apache:
<console>###i## rc-service apache2 restart</console>
== Service ==
wiki-moderators
749
edits

Navigation menu