RUVIDEO
Поделитесь видео 🙏

How to run PHP on Visual Studio Code with XAMPP

PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

1) Download and install Visual Studio Code
You can find the Visual Studio Code installer on the following link: https://code.visualstudio.com/download

$$$$Note: If you already have a PHP Development environment, you can avoid doing this step 2.

2) Install a XAMPP Package
2.a) Download and install a XAMP solution:- https://www.apachefriends.org/download.html
2.b) (Optional) If you already have IIS or Skype or any Java app that uses the :80 port you might want to change the apache port, but i recommend you to change your app port (you can google how to change it for skype for example).
2.c) To change the default apache port, follow this steps:
2.c.1) Go to the httpd.conf file for Apache.
2.c.2) Find the Listen line and change the Listen port to your desired port. EX: Listen 80

3) Step the Path on Environment Variables, Under User Variables:- "In My Case, Installed xampp in c Drive" :- C:\xampp\php

4) In Visual Studio Code Add the following extinctions
a) PHP Debug :- https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug
b) PHP Intelephense:- https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client
c) PHP Server:- https://marketplace.visualstudio.com/items?itemName=brapifra.phpserver
d) Bracket Pair Colorizer:- https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer
3) indent-rainbow :- https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow


Previous Video:-
1) Installing VS code and basic information:- https://youtu.be/QonfdTmHA2I
2) Here's All You Need To Know About Running C and C++ On VS Code:- https://youtu.be/zcEJWYs--os

What is PHP and why it is used?

PHP (Hypertext Preprocessor) is known as a general-purpose scripting language that can be used to develop dynamic and interactive websites. It was among the first server-side languages that could be embedded into HTML, making it easier to add functionality to web pages without needing to call external files for data.

What is XAMPP used for?

XAMPP can serve web pages on the World Wide Web. A special tool is provided to password-protect the most important parts of the package. XAMPP also provides support for creating and manipulating databases in MariaDB and SQLite among others.

Why XAMPP is used for PHP?

XAMPP helps a local host or server to test its website and clients via computers and laptops before releasing it to the main server. It is a platform that furnishes a suitable environment to test and verify the working of projects based on Apache, Perl, MySQL database, and PHP through the system of the host itself.

What is XAMPP and MySQL?

XAMPP is a software distribution that provides the Apache web server, MySQL database (actually MariaDB), Php and Perl (as command-line executables and Apache modules) all in one package. It is available for Windows, MAC and Linux systems. No configuration is necessary to integrate Php with MySQL.

Environment variable

An environment variable is a variable whose value I set outside the program, typically through a functionality built into the operating system or microservice. An environment variable is a dynamic-named value that can affect the way running processes will behave on a computer. They are part of the environment in which a process runs.

What are the types of environment variables?

Two types of environment variables exist user environment variables and system environment variables.
1) User Environment Variables.
2) System Environment Variables.

What is the environment variables of Windows 10?

On Windows 10, environment variables are pre-defined names that represent the path to certain locations within the operating system, such as to a drive or a particular file or folder.

Why do we need environment variables?

Many operating systems use environment variables to pass configuration information to applications. Like properties in the Java platform, environment variables are key/value pairs, where both the key and the value are strings.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How to run PHP on Visual Studio Code with XAMPP», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.