How to get Contents of a Webpage using PHP curl
PHP cURL module allows you to connect to remote websites and API endpoints to exchange data. To see if you
How to install PHP PECL Extension
PECL is a repository for PHP extensions. To install PHP extensions from PCEL, you can use the command To install
Install PHP 7.2 mcrypt extension on CWP Server
The mcrypt extension has been abandonware for nearly a decade and was deprecated in PHP 7.1, It has been removed
Install PHP APC Cache on CentOS 7 using yum
To install APC cache on CentOS 7, run After that, you need to restart the Apache webserver. in phpinfo() page,
Install PHP 5.6 on AlmaLinux 8
To install PHP 5.6 on AlmaLinux 8, first enable epel repository. install remi repository with the command Now you can
Warning: Use of undefined constant OAUTH_REQENGINE_CURL
On an Ubuntu server (Ubuntu 20.04.2 LTS) when running a PHP script, I get the following error. On checking phpinfo,
Install PHP drivers for Microsoft SQL Server on Ubuntu PHP 7.2
On Ubuntu 18.04 server running PHP 7.2, i want to install Microsoft SQL Server module for PHP. You can find
Redirect a site to www using PHP
To redirect a site to url with www using PHP, you can use following PHP code Add this code in
Install PHP 5.6 on CentOS 7
To install PHP 5.6 on CentOS 7, enable EPEL repo and remi repo Install yum-utils and enable remi-php56 repo Install
PHP APC Cache
APC Cache is an open source opcode caching module for PHP. You can find documentation for APCu at https://www.php.net/manual/en/book.apcu.php Zend
Install LAMP Server on Ubuntu/Debian
To install LAMP (Apache, MySQL, PHP) on Ubuntu/Debian web server, run This use meta package install LAMP. If you want
HTTP 301 Redirect using PHP
You can use PHP header() function to do redirect. To do 301 redirect, use For 302 redirect, use If you