1. download and install the php Software Package yuminstallphpphp-commonphp-gdphp-mcryptphp-pearphp-pecl-memcachephp-mhashphp-mysqlphp-xml. 2. Compile the apache configuration file and add your php project, if your php project is stored in varwwwfusionpbx and the accessed virtual directory is fusionpbx,
1. download and install the php Software Package yum install php-common php-gd php-mcrypt php-pear php-pecl-memcache php-mhash php-mysql php-xml II. Compile apache configuration file, add your php project. For example, if your php project is saved under/var/www/fusionpbx and the accessed virtual directory is fusionpbx,
1. download and install the php Software Package
Yum install php-common php-gd php-mcrypt php-pear php-pecl-memcache php-mhash php-mysql php-xml
2. Compile an apache configuration file and add your php project. For example, if your php project is saved under/var/www/fusionpbx and the accessed virtual directory is fusionpbx, use vim/etc/httpd/conf/httpd. open the configuration file in conf for configuration. in httpd. add the following code at the end of the conf file:
Alias /fusionpbx "/var/www/fusionpbx"
Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all
After saving, restart the apache service with/etc/init. d/httpd restart, and then open the browser for test and verification, such:
Http: // 192.168.1.70/fusionpbx/index. php