Intro to PHP

Table of Contents

Introduction

Get an overview of PHP on the 1&1 Cloud Server platform, including information on how to get started using PHP, use cases, and helpful PHP framework packages. PHP is a server-side scripting language which was originally designed to be embedded in HTML for Web development. PHP is a popular scripting language due to its relatively easy learning curve, and its thriving community of users and developers.

Use Cases

What do people use PHP for? The most common use cases for PHP are using it to interact with a MySQL database, and as a web development framework. Learn more about the most popular uses for PHP in the following articles:

Install and Modify PHP

PHP is installed and running on a Standard Linux installation by default. However, if you are using Plesk or a Windows Server 2016 installation, you will need to install PHP manually by following the step-by-step instructions in our guides:

Many people find that they need to make minor changes to the standard default PHP installation, such as changing memory limits or adding PHP modules. Learn how to change the PHP configurations, including how to find and modify the php.ini file, in our article Edit the PHP Configurations on a 1&1 Cloud Server with Linux.

After you have installed and configured PHP, the next step is to learn the basics of how to use PHP, including how to configure Apache to parse .php files as PHP code, and how to secure the PHP installation. We cover these topics in our articles:

Use PHP

If you have installed PHP and are ready to start using it, check out our in-depth guides to using PHP for web development, and to interact with a MySQL/MariaDB database. These articles are designed for new PHP users, and offer step-by-step instructions on how to set up basic PHP scripts, MySQL connections, and issue MySQL commands from a PHP script.

Install and Use Laravel

A PHP framework like Laravel is a valuable tool for any web application developer. The framework provides a collection of libraries and components which make the development process more efficient by saving developers from "reinventing the wheel."

We have a collection of articles with step-by-step instructions on how to install and use the Laravel framework. Laravel is one of the most popular and widely-used frameworks available, and is designed to be secure and easy to use.

Comments

Tags: PHP