Install Zen Road to Ubantu by installation source mode

Source: Internet
Author: User
Tags install php

Because the company server has already installed MySQL, in order to let the server to avoid installing too many programs, choose to manually install Zen Road to the server, the following is purely record work.


1. Install Apache
  See if Apache
 sudo apt-get install apache2
 sudo/etc /init.d/apache2 Restart
  default is 80 port


2. Install PHP
To see if it is installed: PHP environment php-v
Sudo apt- Get update
sudo apt-get install php5


3. Let Apache support PHP
sudo apt-get install Libapac he2-mod-php


4. Installing the PHP5-GD module
sudo apt-get install php-gd


Test
sudo ged it/var/www/info.php
<?php phpinfo ()?>
Access: 127.0.0.1/info.php


5. Install mysql//omit host already installed The
sudo apt-get install mysql-server mysql-client
let php support MySQL
sudo apt-get install php-mysql
br>
6. Install Zen Channel
Download source code http://dl.cnezsoft.com/zentao/9.5.1/ZenTaoPMS.9.5.1.zip
Unzip it, Get the Zentaopms directory. Copy to the webserver corresponding directory, such as the Apache www or htdocs directory.
access to the http://ip/zentaopms/www/index.php through the browser will automatically be transferred to the Setup program.
 

7. Configure the extension

In the installation of Zen Road may not configure some extensions, you need to configure. CD/ETC/PHP/7.0/CLI//Enter the configuration file directory
sudo vim php.ini//vim open configuration file
Extension=php_pdo_mysql.dll//Remove the front;


Download Dependent packages

sudo apt install php-mbstring extension=php_mbstring.dll//Remove the front;

Download Dependent packages

sudo apt-get install Php-curl

php_curl.dll//Remove the front;

Reboot required after php.in file has been reconfigured Apache2

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.