PHP Archive

3 Jun 2022

How To Install PHP 8.1/7.4/5.6 on Ubuntu 22.04/18.04

PHP is a recursive acronym for Hypertext Preprocessor. It is an open-source, well known broadly useful scripting language that is generally used for creating websites and web-based applications. It is used to make web-based business sites, blogs,
10 May 2020

How To Install PHP 7.4, 7.3, 7.2 & 7.1 on Ubuntu 19.10

The PHP Version 7.4.0 has been released on November 28, 2019. PHP 7.4 comes with a remarkable amount of new features. PHP is an open-source server scripting language use for creating dynamic web applications and websites. PHP
2 May 2020

How To Install PHP 7.4, 7.3, 7.2, 7.1 on CentOS/RHEL 8

The PHP Version 7.4.0 has been released on November 28, 2019. PHP 7.4 comes with a remarkable amount of new features. This version is RPM are available in the remi-php74 repository and we are using Remi and
2 May 2020

How To Install PHP 7.4, 7.3, 7.2, 7.1 on CentOS/RHEL 7/6

The PHP Version 7.4.0 has been released on November 28, 2019. PHP 7.4 comes with a remarkable amount of new features. This version is RPM are available in the remi-php74 repository and we are using Remi and
5 Apr 2020

Enable PHP errors to Display on Web Browser

Generally, displaying PHP errors in a web browser is not a good idea as hackers cannot collect information about your website. However, when performing development or testing displaying PHP error may be very useful for troubleshooting purposes.
4 Aug 2015

Ago function in PHP

We always required time ago in our website. Here we have function for the same. You can enjoy with the embed in your website. Example of Ago function in PHP as below $datetime = '2015-07-31 22:00:00'; $time
29 Jul 2015

PHP mail function

This PHP mail function script has the ability to send a plain text email message. There are much better and more advanced PHP scripts on the Internet, but I hope this example will help you to understand,
24 Jul 2015

Send email using PHP Script with Gmail SMTP Authentication

All the programming languages provides functions for sending emails. PHP also provides mail() function to send emails. You can use the PHP mail() function to send an email with PHP. The simplest way to do this is
3 Jun 2015

How to handle deleted files in GIT

Git – Very useful and latest version control system. Now a days we use git for version control. Sometimes we stuck in error when we face following case 1) I have created new file and commited &