Posts

Showing posts with the label PHP

How to install mongodb extension for PHP - vetechno

Image
How to install mongodb extension for PHP - vetechno In this tutorial guide, we will learn how to install MongoDB driver / extensions for PHP on Ubuntu and CentOS. Assuming you have installed PHP with all required extension. If you have not installed so far then check this link . Install PHP 5.6 | PHP 7.0 | PHP 7.1 | PHP 7.2 | PHP 7.3 | PHP 7.4 | PHP 8.0 on Ubuntu How To Install Linux, Apache, MySQL, PHP (LAMP) on Ubuntu 20.04 LTS   How to Uninstall PHP, Apache and MySQL on Ubuntu 20.04 LTS  What is PHP MongoDB driver ? MongoDB driver is a PHP extension that manages the connection to the MongoDB server and enables you to perform all kinds of operations on a NoSQL database through PHP. Same steps will also work on Ubuntu 20.04, 18.04 and CentOS 7, 8. How to install mongodb extension for PHP on Ubuntu 22.04 LTS. NOTE:- In my system I have installed php7.4 version Step1.   Update the apt repository sudo apt update Step 2. Install MongoDB PHP driver on Linux sudo pecl install...

How To Install phpMyAdmin on Ubuntu 22.04 with Nginx | vetechno

Image
How To Install phpMyAdmin on Ubuntu 22.04 with Nginx | vetechno In this tutorial guide, you are going to learn how to install phpMyAdmin with Nginx on Ubuntu 22.04 LTS Jammy Jellyfish. The phpMyAdmin package is available for Ubuntu 22.04, 20.04 and 18.04. on the official page . If you need to install the latest phpMyAdmin on Ubuntu, you wiil have to download the .zip package from the official  phpMyAdmin releases  page. What is PhpMyadmin ?   PhpMyAdmin is a web-based application where users can interact with MySQL / MariaDB database server. This tool provides you with a user interface to make MySQL operations so you don’t have to use the command-line interface.   I will show you the step-by-step installation of the phpMyAdmin on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 20.04, 18.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well. How to Install LAMP Apache, MySQL, PHP in Ubunt...

Increase max_input_vars for PhpMyAdmin | vetechno

Image
Increase max_input_vars for PhpMyAdmin | vetechno In this blog post we are going to fix a warning message i.e Warning: a form on this page has more than 1000 fields. On submission, some of the fields might be ignored, due to PHP's max_input_vars configuration .  This message generally comes when we export a large database table from phpMyAdmin. This warning message is about the default max_input_vars value seen in the phpMyAdmin’s  or php.ini configuration file: Also read  How to install Mysql 8.0.28 on Ubuntu 22.04 LTS   How to install MySQL 5.5 on Ubuntu 20.04 LTS    Install mysql 5.6 ubuntu 20.04 LTS    How to Fix Warning: a form on this page has more than 1000 fields Step1. Open php.ini file from your favorite text editor, In my case location of php.ini file is /etc/php.ini  Note:- The location may differ according to the PHP version. Step2. Search line max_input_vars By default the line max_input_vars will be commented, To enable uncomm...

How to fix php pecl/oci8. No valid packages found install failed | vetechno

Image
pecl/oci8 requires PHP (version >= 8.0.0), installed version is 7.4.24 No valid packages found install failed Hey all reader, today in this blog post I will help you how to fix " pecl/oci8 requires PHP (version >= 8.0.0), installed version is 7.4.24 No valid packages found install failed " that comes when you are installing oci8 in Ubuntu operating system. Oci8 is a Oracle Database that is  commonly referred to only as Oracle and is a Relational Database Management System (RDBMS), which is a proprietary database from Oracle Corporation. How to fix php pecl/oci8. No valid packages found install failed Step1. Uninstall the previous php version and install php 8.0 with all module or extension. Install php 8.0 click here Step2. Verify the php module/extension. php -m Step3. Now run the below command. pecl install oci8 Conclusion:- Hey I know you have successfully resolved the issue, Please let me know in the comment box if you are facing any kind of issue while installin...

How to Hide Apache, Nginx, or PHP version on Ubuntu

Image
How to Hide Apache, Nginx, or PHP version on Ubuntu For an attacker, it is very easy to discover valuable information such as the web server version, server operating system, and PHP version. it is recommended that you disable or hide this information from attackers who might be targeting your server by requiring you to know whether you are running PHP or not, Apache or Nginx. In this tutorial post, we are going to show you how to hide this sensitive information (Hide Apache, Nginx, or PHP version) on the Ubuntu Server Operating system. Step1. Let's check Header Details of any Website. You can use wget or curl command to fetch header details of any website via command line. curl -IL https://some-server-ip-OR-domain-name/ curl -IL https://vetechno.in/ OR wget --server-response --spider http://example.com/ When you run the above command you will get the below output. As you can see it clearly visible web server version, php version and other sensitive information. root@vetechno:~# ...