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 have php-curl…
PHP cURL module allows you to connect to remote websites and API endpoints to exchange data. To see if you have php-curl…
PECL is a repository for PHP extensions. To install PHP extensions from PCEL, you can use the command pcel install EXTENSTION_NAME_HERE To…
The mcrypt extension has been abandonware for nearly a decade and was deprecated in PHP 7.1, It has been removed from PHP…
To install APC cache on CentOS 7, run yum install php-pecl-apcu After that, you need to restart the Apache webserver. systemctl restart…
To install PHP 5.6 on AlmaLinux 8, first enable the epel repository. install remi repository with the command Now you can install…
On an Ubuntu server (Ubuntu 20.04.2 LTS) when running a PHP script, I get the following error. Warning: Use of undefined constant…
On Ubuntu 18.04 server running PHP 7.2, i want to install Microsoft SQL Server module for PHP. You can find PHP module…
To redirect a site to URL with www using PHP, you can use the following PHP code Add this code in your…
To install PHP 5.6 on CentOS 7, enable EPEL repo and remi repo yum install epel-release -y rpm -ivh https://rpms.remirepo.net/enterprise/remi-release-7.rpm Install yum-utils…
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 OpCache install…
To install LAMP (Apache, MySQL, PHP) on Ubuntu/Debian web server, run apt-get install lamp-server^ This use meta package install LAMP. If you…
You can use the PHP header() function to do redirect. To do 301 redirect, use For 302 redirect, use If you need…