Language Selection

English French German Italian Portuguese Spanish

PHP Basics

Filed under
HowTos

This introductory article on PHP will explain what PHP is, how it works, and how you can get started using it.

PHP (Hypertext Preprocessor) is an open source, server-side, HTML embedded scripting language used to create dynamic Web pages. PHP script is embedded within a HTML document and the programmer can jump between HTML and PHP seamlessly within the document while the code remains inaccessible to users since it is processed on the server. It combines the power of CGI scripting with the ease of working within HTML.

PHP offers several key advantages:

*Cross-platform operability
*Compatibility with a wide variety of databases
*Support for most current web servers
*Communicates with numerous network protocols
*Not limited to HTML output
*Strong text processing capabilities

Assuming you have an operating system and Web server setup on your server, PHP installation is fairly easy. Essentially you need to install the PHP processor and have your server associate .php files with it. PHP.net has detailed installation instructions for UNIX/Linux, Windows, and Mac OS on its Web site.

Getting Started

Full Story.

More in Tux Machines

Nvidia 361.45.11 Graphics Driver Released for Linux, FreeBSD and Solaris Systems

Today, May 24, 2016, Nvidia released a new long-lived graphics drivers for Unix users, version 361.45.11, available now for GNU/Linux, FreeBSD, and Solaris operating systems. Read more Also: New NVIDIA 361 Linux Driver Released

Android Leftovers

NVIDIA vs. AMD OpenGL & Vulkan Benchmarks With Valve's Dota 2

Yesterday marked the public availability of Dota 2 with a Vulkan renderer after Valve had been showing it off for months. This is the second commercial Linux game (after The Talos Principle) to sport a Vulkan renderer and thus we were quite excited to see how this Dota 2 Vulkan DLC is performing for both NVIDIA GeForce and AMD Radeon graphics cards. Here are our initial Dota 2 benchmarks with Vulkan as well as OpenGL for reference when using the latest Linux graphics drivers on Ubuntu. Read more

Why Hyperledger wants to be the ‘Linux of blockchain’

Blockchain technology offers many different benefits to enterprise developers — but there’s no cross-industry open standard for how to develop it. That makes it difficult for vendors and CIO customers to place their bets and begin building it into their technology architecture. Hyperledger, a Linux Foundation project to produce a standard open-source blockchain, wants to solve that problem, and it just got an executive director, Brian Behlendorf, to help it on its way. He founded the Apache Software Foundation, was previously on the board of the Mozilla Foundation and the Electronic Frontier Foundation, and managed tech VC firm Mithril Capital Management. Read more