Using cloud MySQL database and Linux server, just install Apache and PHP, and then configure PHP

Alibaba cloud Q & A 2022-02-13 07:20:49 阅读数:474

using cloud mysql database linux

Use Tengyun MySQL database ,Linux The server Just install Apache and PHP, then php Just configure the database parameters ?

I have been using LAMP,Linux After the pagoda is installed on the server , Install directly inside the pagoda panel Apache+MySQL+PHP, then php It's well configured inside mysql The parameters of the database can be used to complete the connection .

Now the new project will use cloud MySQL database , Is it in Linux After the pagoda is installed on the server , Just install Apache+PHP, then php It's well configured inside mysql The parameters of the database can be used to complete the connection ? It still needs to be reconfigured ?




Take the answer 1:

Hello! , Yes . Install well php And the required extensions , Configure database parameters . To test linux and mysql Whether the server can connect .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130720474381.html