How to configure Asterisk + FreePBX + mysql + PHP in CentOS

Source: Internet
Author: User
CentOS configure asteriskFreePBXmysqlPHP -- Description of some issues 1. Mount the ISOmount-oloop image name. isomntfiso find the corresponding rpm package under the iso directory and install it using a rpm-iname.rpm. 2. Youdonotappeartohavethesourcesforthe2.6.32-431. el6.i686kernel

Configure asterisk FreePBX mysql PHP In CentOS-instructions on some issues 1. name of the mounted ISO mount-o loop image. iso/mnt/f/iso/find the corresponding rpm package under the iso directory and use rpm-I name. rpm for installation. 2. You do not appear to have the sources for the 2.6.32-431. el6.i686kernel

Configure asterisk + FreePBX + mysql + PHP in CentOS

-- Explanation of Some Problems

1. Mount ISO

Mount-o loop image name. iso/mnt/f/iso/

Find the corresponding rpm package in the iso directory and install it using rpm-I name. rpm.

2. You do not appear to have the sources for the 2.6.32-431. el6.i686kernel installed.

The same method is used.

3. Some functions in PHP cannot be used. The corresponding php installation package needs to be installed.

View the list of php installation packages

Rpm-aq | grepphp

Install the corresponding packages according to the following installation commands. you can install all the packages. All the packages are required for the installation of asterisk. However, some installation packages are integrated in the subsequent versions of asterisk, that is, some dependency packages are integrated. you can install them based on ReadMe.

Yum-y install e2fsprogs-devel keyutils-libs-develkrb5-devel libogg libselinux-devel libsepol-devellibxml2-devel libtiff-devel gmp php-pear-DB php-gd php-mysqlphp-pdo php-posix kernel-devel ncurses-devel audiofile-devel libogg-developenssl-devel mysql-server mysql-devel zlib-devel perl-DateManip sendmail-cfsox

4. Problems with FreePBX Installation

./Install_amp -- username = root -- password = password

When the php fatol error prompt appears, it is generally because the corresponding php package is not successfully installed. Or some modules are not loaded. If the installation is successful, the modules do not need to be loaded separately. Module suffix. so


5. When installing asterisk 13.2.0, the uuid support not found prompt is displayed.

Solution: yum-y install uuid * libuuid-dev *


6. When installing asterisk 13.2.0, The JSON support not found prompt is displayed.

Solution:

cd /usr/src/ && wget http://www.digip.org/jansson/releases/jansson-2.5.tar.gz

tar -zxf jansson-2.5.tar.gz

cd jansson*

./configure--prefix=/usr/ && make clean &&make && make install&& ldconfig

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.