Asterisk CDR Viewer: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
Created page with "= Raspbian = <pre> apt-get install subversion apache2 php5 php5-mysql mysql-server </pre> mysql-server is not required if you are hosting the database elsewhere. <pre> cd /va..." |
No edit summary |
||
Line 21: | Line 21: | ||
<pre> | <pre> | ||
vi /etc/php5/apache2/php.ini | vi /etc/php5/apache2/php.ini | ||
</pre> | |||
<pre> | |||
service apache2 restart | |||
</pre> | </pre> | ||
Line 47: | Line 51: | ||
</pre> | </pre> | ||
<pre> | |||
service httpd restart | |||
</pre> | |||
[[Category : Asterisk]] | [[Category : Asterisk]] |
Revision as of 22:33, 9 August 2014
Raspbian
apt-get install subversion apache2 php5 php5-mysql mysql-server
mysql-server is not required if you are hosting the database elsewhere.
cd /var/www svn checkout http://asterisk-cdr-viewer.googlecode.com/svn/trunk/ cdr cp cdr/contrib/httpd/asterisk-cdr-viewer.conf /etc/apache2/conf.d/
Eidt the following file as required
vi /var/www/cdr/include/config.inc.php vi /etc/apache2/conf.d/asterisk-cdr-viewer.conf
When performing some tasks it may take longer than the default 30 second timeout of PHP.
Increase max_execution_time
vi /etc/php5/apache2/php.ini
service apache2 restart
CentOS
yum -y install svn httpd php5 php-mysql mysql-server
mysql-server is not required if you are hosting the database elsewhere.
cd /var/www/html svn checkout http://asterisk-cdr-viewer.googlecode.com/svn/trunk/ cdr cp cdr/contrib/httpd/asterisk-cdr-viewer.conf /etc/httpd/conf.d/
Eidt the following file as required.
vi /var/www/html/cdr/include/config.inc.php vi /etc/apache2/conf.d/asterisk-cdr-viewer.conf
When performing some tasks it may take longer than the default 30 second timeout of PHP.
Increase max_execution_time
vi /etc/php.ini
service httpd restart