Difference between revisions of "PHP Notes"
From OpenEMR Project Wiki
(Created page with "==Files== {| style="margin: 0 0em 0 0em;" |- | width="250" | <tt style="font-size: 130%">/etc/php5/apache2/php.ini</tt> | width="400" | PHP Config File |- | <tt style="font-size:...") |
|||
Line 12: | Line 12: | ||
|} | |} | ||
<br> | |||
==Configuration== | ==Configuration== | ||
*Backup Default Config File | *Backup Default Config File | ||
:<tt style="font-size: 130%">sudo mv /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.default</tt> | :<tt style="font-size: 130%">sudo mv /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.default</tt> | ||
*Create Symlink to Desired Settings File | *Create Symlink to Desired Settings File | ||
:<tt style="font-size: 130%">cp -s /usr/share/php5/php.ini-development /etc/php5/apache2/php.ini</tt> | :<tt style="font-size: 130%">cp -s /usr/share/php5/php.ini-development /etc/php5/apache2/php.ini</tt> |
Revision as of 15:02, 29 May 2014
Files
/etc/php5/apache2/php.ini | PHP Config File |
/usr/share/php5 | Location of sample ini files, ex development, production. |
Configuration
- Backup Default Config File
- sudo mv /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.default
- Create Symlink to Desired Settings File
- cp -s /usr/share/php5/php.ini-development /etc/php5/apache2/php.ini