Skip to content

Instantly share code, notes, and snippets.

View pvm-77's full-sized avatar
🎯
Focusing

Hussain Sarfaraz pvm-77

🎯
Focusing
  • Delhi
  • 07:55 (UTC -12:00)
View GitHub Profile
@pvm-77
pvm-77 / index.html
Created March 11, 2024 12:30
it is a part of meduim blog
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
@pvm-77
pvm-77 / findphpini.md
Created April 11, 2023 10:38
how to find php.ini file in ubuntu

In Ubuntu, the location of the php.ini file can vary depending on the installation and version of PHP you are using, as well as the web server you are using. Here are a few common locations where you can find the php.ini file:

  1. /etc/php/7.4/apache2/php.ini This is the default location for the php.ini file for PHP version 7.4 on Apache web server.

  2. /etc/php/7.4/cli/php.ini This is the php.ini file used by the PHP command-line interface (CLI).

  3. /usr/local/etc/php/php.ini This is the location for the php.ini file on some installations of PHP.

@pvm-77
pvm-77 / editphpini.md
Created April 11, 2023 07:16
How to edit your PHP configuration file (php.ini) in VS Code on Ubuntu

To edit your PHP configuration file (php.ini) in VS Code on Ubuntu, you can follow these steps:

  1. Open a terminal window on your Ubuntu machine.
  2. Navigate to the directory where the php.ini file is located. You can do this by running the following command:
     cd /etc/php/7.4/apache2/

Replace "7.4" with your PHP version number, and "apache2" with your web server name if you are using a different web server.

  1. Open the php.ini file in VS Code by running the following command: