+ 4

Can I run PHP locally?

I want to know if it is possible to run php locally?

10th Feb 2021, 3:28 PM
firet šŸ‡®šŸ‡±
firet šŸ‡®šŸ‡± - avatar
11 Answers
+ 7
You need to use local servers like ā€œopen server, MAMP, WAMP, XAMPPā€ for this
11th Feb 2021, 10:35 AM
Lazizbek
Lazizbek - avatar
+ 4
Absolutely. Nearly all web developers run PHP locally while creating websites or developing updates to an existing one. Install WAMP, MAMP, or XAMPP depending on what operating system your computer uses. I use WAMP since I use Windows. WAMP is available at: https://www.wampserver.com/en/
10th Feb 2021, 3:30 PM
Josh Greig
Josh Greig - avatar
+ 3
You can install php in Linux or termux: sudo apt-get install php7 running the embedded server: php -S localhost:4000 -t(name folder)
12th Feb 2021, 2:04 PM
Š’Š»Š°Š“
Š’Š»Š°Š“ - avatar
+ 2
Really is this a question? How will you run php then
10th Feb 2021, 3:59 PM
Aditya
Aditya - avatar
+ 1
Aditya(Less active) some people update files with FTP or directly through a web host's management application. They test trivially small changes that haven't been tested anywhere else. It is a really bad habit for a live website that gets a lot of traffic but a rare person will do it. Developing and testing locally is far better and deploying all thoroughly tested changes quickly in a time of day with less traffic is what I generally do. Fewer customers will complain that way and I can push for more compensation by not interrupting visitors with bugs and stability issues while they use a website I'm updating.
11th Feb 2021, 10:41 PM
Josh Greig
Josh Greig - avatar
+ 1
Josh Greig My website gets only like 100 views a week maximum, so bo problem there
12th Feb 2021, 3:14 PM
firet šŸ‡®šŸ‡±
firet šŸ‡®šŸ‡± - avatar
+ 1
Yes, we can run PHP locally using local server like WAMP, XAMPP, MAMP ,LAMP etc, according to our operating system.
13th Feb 2021, 1:57 AM
Aaliya Khan
Aaliya Khan - avatar
11th Feb 2021, 6:05 PM
firet šŸ‡®šŸ‡±
firet šŸ‡®šŸ‡± - avatar
0
Absolutely yes
12th Feb 2021, 1:40 AM
ā¤ļøšŸ˜PreranašŸ˜ā¤ļø
ā¤ļøšŸ˜PreranašŸ˜ā¤ļø - avatar
0
You can run php locally
12th Feb 2021, 1:40 AM
ā¤ļøšŸ˜PreranašŸ˜ā¤ļø
ā¤ļøšŸ˜PreranašŸ˜ā¤ļø - avatar
- 1
text
20th Feb 2021, 1:17 AM
Ricky Figueroa
Ricky Figueroa - avatar