如果我不想使用XAMPP包,我需要安装什么服务器来部署和运行我的PHP Web应用程序?
For web development where I use PHP on the backend, I have always used XAMPP (Windows) or LAMPP (Ubuntu).
Now I am running Ubuntu 16.04 and for some reason, I can not use an LAMPP package. So my question is what independent servers do I need to install?
I know that I need to install PHP, and I also know that I will need to install MySQL database Server if my application uses MySQL database.
But what else do I need to install, apart from PHP 7.1 and MySQL database server?
对于我在后端使用PHP的Web开发,我一直使用XAMPP(Windows)或LAMPP(Ubuntu) 。 p>
现在我正在运行Ubuntu 16.04,出于某种原因,我不能使用LAMPP包。 所以我的问题是我需要安装哪些独立服务器? p>
我知道我需要安装PHP,而且我知道如果我的应用程序使用我将需要安装MySQL数据库服务器 MySQL数据库。 p>
除了PHP 7.1和MySQL数据库服务器之外,还需要安装什么? p> div>
LAMPP is short for:
- Linux
- Apache
- MySQL
- PHP
- Perl
So if you are developing Web Applications I would say that you are fine with Apache, MySQL and PHP. There might be some other modules (e.g. for SEO reasons like mod_rewrite) but those could be easily installed later one.