Next we will continue from php stay connected share and join our channel
How to install Apache webserver with #php and mysql on windows computer.
On the easy way download XAMPP
link xampp
https://www.apachefriends.org/download.html
CHOOSE your computer OS and download it and then install it just like any other softwares
On the easy way download XAMPP
link xampp
https://www.apachefriends.org/download.html
CHOOSE your computer OS and download it and then install it just like any other softwares
www.apachefriends.org
Download XAMPP
Download XAMPP for Windows, Linux, and OS X. Older versions of Solaris are also available.
☝️☝️☝️☝️☝️☝️☝️☝️☝️
If you see this icon on your computer you are success fully install apache web server
If you see this icon on your computer you are success fully install apache web server
If you see
Apache-----------running
Mysql-------------running
You have installed php apache and mysql on your computer
Apache-----------running
Mysql-------------running
You have installed php apache and mysql on your computer
Now check it if it works or not open any browser on your computer
Type the following link
http://localhost
Or click on Admin inside xampp control pannel click
If you see this pictures it works and now you have a local server
Type the following link
http://localhost
Or click on Admin inside xampp control pannel click
If you see this pictures it works and now you have a local server
Now let see were we put our script file
Open #this_pc ->c->xampp->htdocs
Or
C:\xampp\htdocs
folder is your #server_root.
When you open this folder you see lot of files including #index.php
This #index.php means when you type http://loclalhost on your browser it is the file that loaded.
Next inside #htdocs folder we oper new folder to store our projects or codes
And now we make it #xampp #serverroot #Document\root
now
➊now create new folder inside htdocs folder call it #myweb
➋ next double click on xampp then click on #config in the first line then choose #Apache(httpd.conf) from the list
When it opens on notpad click on
Ctrl+F then type DocumentRoot
Then click on find next
Then change
DocumentRoot "/xampp/htdocs"
Into
DocumentRoot "/xampp/htdocs/myweb"
Then Ctrl+s and close notepad
Then restart apache on xampp
now go to your browser and type #http://localhost and hit enter
we have changed our document root.
Open #this_pc ->c->xampp->htdocs
Or
C:\xampp\htdocs
folder is your #server_root.
When you open this folder you see lot of files including #index.php
This #index.php means when you type http://loclalhost on your browser it is the file that loaded.
Next inside #htdocs folder we oper new folder to store our projects or codes
And now we make it #xampp #serverroot #Document\root
now
➊now create new folder inside htdocs folder call it #myweb
➋ next double click on xampp then click on #config in the first line then choose #Apache(httpd.conf) from the list
When it opens on notpad click on
Ctrl+F then type DocumentRoot
Then click on find next
Then change
DocumentRoot "/xampp/htdocs"
Into
DocumentRoot "/xampp/htdocs/myweb"
Then Ctrl+s and close notepad
Then restart apache on xampp
now go to your browser and type #http://localhost and hit enter
we have changed our document root.
Now create test.php file in side your document root or myweb folder
Then type this code.
<?php
echo "hello world";
?>
Then save it and close
Go to your browser and type
http://localhost/test.php/
Then type this code.
<?php
echo "hello world";
?>
Then save it and close
Go to your browser and type
http://localhost/test.php/
Enough for today good night if you have any comments @HTM_beginner_bot put it here
Hi everyone we are back from now we will start posting coding projects and more other programing things please share and join this channel
https://t.me/codehtmlcss
https://t.me/codehtmlcss
Telegram
Программирования 👨🏻💻
"Программирование вместе" - это место, где каждый участник может находить обучающие материалы и делиться своими знаниями и опытом в программировании
https://t.me/codewiz05
🤫👆 Чат для программистов
https://t.me/codewiz05
🤫👆 Чат для программистов
GET SOURCE CODE pinned «Hi everyone we are back from now we will start posting coding projects and more other programing things please share and join this channel https://t.me/codehtmlcss»
Which source code do you want
❤️online examination system
😂water billing system
😘payroll system
😍attendance system
❤️online examination system
😂water billing system
😘payroll system
😍attendance system