How To Setup Apache, PHP & MongoDB on Ubuntu 20.04

how to set up apache php and mongodb on ubuntu 20.04

In this tutorial, we are going to explain in step-by-step detail how to setup Apache, PHP, and MongoDB on Ubuntu 20.04

We will install the Apache Web server, the latest PHP version, and the MongoDB database server. The purpose of this post is to explain how can these three different types of services be configured on one server for future development tasks and the building of an amazing application. MongoDB is a free open-source, NoSQL backend database server, which works perfectly with Apache Web server and PHP as a scripting language.

This setup and environment will take up to 15 minutes. Let’s get started!

Read More

Understanding the PHP values in the php.ini configuration file

understanding php values in the php.ini configuration file

In this tutorial, we are going to explain what contains the “php.ini” configuration file and what is used for. The PHP ini configuration file is a special file for PHP applications used to control PHP settings what users can or can not do with the website.

defining php values in php.ini configuration file

When PHP is installed the server is configured to use the default PHP settings, but sometimes we need to change the behavior of the PHP at runtime and this is when this configuration file comes to in use.

We are going to use Ubuntu 20.04 as OS while we are explaining and installing the PHP along with its extensions. Let’s get started!

Read More

How to Install and Configure Apache and PHP on RoseHosting Cloud PaaS

In this article, you will learn how to install and configure Apache and PHP on Rosehosting Cloud PaaS, in order to achieve full control over your data. By using our Cloud environment you can avoid the installation command-line interfaces and get your Apache and PHP up and running within minutes.

how to install apache and php on rosehosting cloud paas

The tutorial covers all the necessary steps and prerequisites to set up and configure Apache and PHP on our RoseHosting cloud platform-as-a-service.

Read More

How to Install and Configure NGINX and PHP on RoseHosting Cloud PaaS

how to install and configure nginx and php on rosehosting cloud paas

In this article, we’ll learn how to install and configure PHP applications using NGINX webserver on our Cloud Environment. By using this service, we’ll be able to deploy our PHP application within minutes.

The RoseHosting Cloud platform is perfect for developers, as it offers easy application deployment and configuration. It is also popular among web companies since it offers the installation of applications such as WordPress, Magento, or Odoo with a single click. Finally, many large, medium, and small businesses use our PaaS, as it offers seamless implementation of high availability clusters.

Now, let’s begin with the tutorial.

Read More

Highly-Loaded PHP Applications with LiteSpeed Web Server

Highly-Loaded PHP Applications with LiteSpeed Web Server

LiteSpeed is a free, open-source, small, lightweight, and is Apache alternative web server that conserves resources without sacrificing performance, security, or convenience. It streamlined event-driven architecture and capable of handling thousands of concurrent connections with minimum memory and CPU. It is compatible with Apache’s mod_security, .htaccess and mod_rewrite features and built-in DDoS protection such as bandwidth and connection throttling.

Read More

Your PHP installation appears to be missing the MySQL extension which Is required by WordPress

your php installation appears to be missing the mysql extension

If you have received the “Your PHP installation appears to be missing the MySQL extension which Is required by WordPress” error, then this tutorial will be able to help you fix that. This error is triggered when the PHP code in your site is not compatible with the version of PHP your WordPress site is currently using.

More specifically, this problem is related to the outdated MySQL extension which was removed as of PHP 7.0. In this tutorial, we will help you fix the problem with the PHP missing MySQL extension error, and help you complete the WordPress installation successfully.

Read More

How To Set Up Redis as a Cache for MySQL with PHP on Ubuntu 20.04

how to set up redis as a cache for mysql with php on ubuntu 20.04

Redis is an open-source and in-memory data structure store that can be used for caching, real-time analytics, searching, and machine learning. Integrate Redis with PHP and MySQL will improve your application performance because Redis stores data in RAM.

You can use it with databases like MySQL or MariaDB. Redis provides a mechanism to cache your queries. For example, when a user requests your application page the first time, a MySQL query is performed on the server, and Redis caches this query to RAM. When another user requests the same page, you don’t need to query the database again.

Read More

How To Install LAMP With PHP 7.4 on Ubuntu 20.04

how to install lamp with php 7.4 on ubuntu 20.04
installing lemp with php 7.4 on ubuntu 20.04

In this guide, we will show you how to install LAMP With PHP 7.4 on Ubuntu 20.04.

The LAMP stack is a set of open-source software that can be used to create websites and web applications by your choice. LAMP is a very common example of a web service stack and maybe one of the most commonly used. It is named as an acronym of the names of its original four open-source components: the Linux operating system, the Apache HTTP Server, the MySQL database management system, and the PHP hypertext preprocessor programming language.

Read More