Remote server/local server in PHP

One of the options to create a local web server is to use XAMPP (PHP, SQL). On a web server, do I have to install XAMPP (or any similar suite) as well or is it used only on local servers?

Author: Leonardo Pessoa, 2016-11-03

3 answers

Hosting servers offer the already configured environment.
there is no need to install Apache, PHP, MySQL, among others.

Check with your hosting provider what features are offered. For each company has its own business policy.

When you open an account with a hosting provider, you will receive an FTP account. By FTP you can upload your PHP scripts, images, css, js, etc.to this online server (hosting).

 2
Author: Daniel Omine, 2016-11-03 11:51:30

XAMPP is an application that offers a set of features:

X-means it is cross-platform.

A-Apache (server operating under HTTP protocol)

M-MariaDB (came from Mysql, database)

P-PHP

P-PERL (originally PHP was written from a set of PERL scripts)

So if you are going to set up a server you don't need XAMPP, you need a server that acts under the HTTP protocol, a a scripting language, a file transfer server(FTP), and a DNS server...

As Told by @ DanielOmine, if you are going to hire a hosting, they already offer the whole set (including admin panel) for various platforms... But if you are going to assemble your own, you will need a IP fixo, and set up your machine as you see fit.

Why don't I need an HTML, CSS, Javascript server ?

Because the browser resolves this to you...

Why are most servers in the world on the Linux platform and not Windows?

Because it is fretisssssss, among other details !!!!

 2
Author: MagicHat, 2016-11-03 12:15:54

A shared hosting already comes by default configured for you to just upload your site without worrying about configuration. The disadvantage is that it works based on one or more servers, which host the files of several users simultaneously. So a website with a lot of traffic would not be recommended for this type of hosting.

On a Virtual server (vps) or dedicated server you have greater control of applications. Some already come with some pre facilities. But you can install the service that suits you best, such as XAMPP, WAMPP.

As answered your question, on a hosting (majority), you do not have the way to install XAMPP or the like, only on a VPS or dedicated/cloud.

 2
Author: Mauro Alexandre, 2016-11-03 12:24:03