PHP is one of the most widely used server-side scripting language. The open source general purpose programming language is powerful for running dynamic and interactive web applications.

How to Install NextCloud on CentOS 7

NextCloud is a free and open source self-hosted alternative to Dropbox or Google Drive. It lets you host your files onto your own private server, providing you full control over your data.

In this article, you will get some information on the installation of NextCloud on CentOS 7 with Alibaba Cloud ECS. And since Nextcloud supports PHP version 7.0 and 7.1. In this tutorial, we will install PHP 7.1. Install EPEL and Remi repository so that we can install the pre-built PHP packages directly.

Install Nginx web server and PHP 7.1 along with the required PHP modules.

Edit the loaded PHP configuration file.

How to Setup ClipBucket with Nginx on CentOS 7

ClipBucket does not restrict its installation to any specific operating system (OS). You can use any operating system (OS) of your choice; however, the installation steps would vary according to the choice of operating system.

In this tutorial, we will be installing and configuring ClipBucket and Nginx on an Alibaba Cloud Elastic Compute Service (ECS) instance with CentOS 7.

Install PHP and Extensions

After you have successfully installled the backedn multimedia software and MariaDB server, you will need to install and configure PHP-FPM daemon to process PHP. For installation of new version of PHP-FPM, REMI repository would be required. Follow the steps below to achieve the required things.

To install REMI repository, execute the following command.

To install the required extensions of PHP, execute the following command.

Installation of BookStack on CentOS 7

In this article, we will be installing BookStack Documentation Wiki on an Alibaba Cloud Elastic Compute Service (ECS) with CentOS 7. Here we are installing BookStack as a root user. And Nginx is a web server which is required to install BookStack, so first, you’ll have to install nginx on your CentOS 7 system.

Install PHP and PHP-FPM

Now nginx web server is installed on your system. Next, you’ll have to install PHP and PHP-FPM with some required extensions to install BookStack.

Add new ‘webtatic’ repository to the CentOS 7 system using rpm command below.

Now install PHP and PHP-FPM with all the required extensions. Run following command to do so.

Once, the PHP and PHP-FPM are installed on the server. Next, we need to edit the ‘php.ini’ configuration file.

Related Market Products

PHP infrastructure powered by Websoft9(LNMP | CentOS7.2)

Websoft9 LNMP stack is a pre-configured, ready to run image for running PHP application on Alibaba Cloud.it includes new versions of Nginx, MySQL, PHP,phpMyAdmin and other components needed for it. it clould help you simplifies the development and deployment of Web applications.

PHP infrastructure powered by Websoft9(LAPP | CentOS7.3 )

Websoft9 LAPP is a pre-configured, ready to run image for running LAPP on Alibaba Cloud.

The LAPP stack is an open source web platform that can be used to run dynamic web sites and servers. It is considered by many to be a powerful alternative to the more popular LAMP stack and includes Linux, Apache, PostgreSQL (instead of MySQL) and PHP, Python and Perl.

Related Documentation

PHP client

This page is for the php client for ApsaraDB for Memcache.

Notes for the PHP and C++ common environment of ApsaraDB for Memcache

You can find some notes for the php and c++ common enviroment for ApsaraDB for Memcache in this page.

Related Products

ApsaraDB for Memcache

ApsaraDB for Memcache is a managed memory based caching service, which supports high-speed access to queries and data. ApsaraDB for Memcache improves the response of dynamic websites or applications by relieving the load on the backend database as cache data is stored in-memory.

Web Application Firewall

Web Application Firewall (WAF) protects your website servers against intrusions. Our service detects and blocks malicious traffic directed to your websites and applications. WAF secures your core business data and prevents server malfunctions caused by malicious activities and attacks.

Related Course

Alibaba Cloud Elastic Architecture and Case Study

Through this course, you will learn the core services of Alibaba Cloud Elastic Architecture (Auto Scaling, CDN, VPC, ApsaraDB for Redis and Memcache). By studying some classic use cases, you can understand how to build an elastic architecture in Alibaba Cloud.

Reference:https://www.alibabacloud.com/blog/install-php-on-centos-7_594809?spm=a2c41.12889420.0.0

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.