search

Home  >  Q&A  >  body text

[Help] How to build phpstudy+SVN local file (mature website)?

Help,,,, Dear masters,,,, I am just a front-end person, I don’t understand PHP, and the people in the company are also half-full.


#Our company has a website that has been completed (using the DESTOON template), and I downloaded it locally. Then develop together with the backend through SVN.

Now I want to make a new front-end template, but I have to update it through SVN, and then he submits it to the environment address built on his computer, so that I can see the effect of the PHP page.

So I want to set up an environment on my own computer and be able to browse PHP.


So I downloaded PHPstudy,

But after studying it for a long time, I just couldn’t open it. The prompt:

Database connection failed (Can not connect to MySQL server)
The system cannot connect to the MySQL server.

(During this period, I created a new port and used the PHP template source code downloaded from the Internet. This is OK, no problem)


So I conclude that it is us Where in the parameters or database of your company's website files do you need to change? ? ?

Can anyone help me?

﹎阿丘﹎  ﹎阿丘﹎ 2700 days ago1491

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-10-31 11:15:32

    After the database import is completed, modify the database connection configuration

    reply
    0
  • pear2007

    pear20072017-10-31 09:27:12

    git is convenient. You have to read the official documentation.

    Because DESTOON has its own installation program. If the server is different from the local environment

    , both the local and the server need to be installed.

    reply
    0
  • Cancelreply