Ask the experts for advice: How to set PHPStudy parameters to practice using PHP website template documents and view the results in the browser?
Ocean Blue 007
Ocean Blue 007 2020-03-22 12:09:49
0
0
955

I downloaded a simple php website template from the Internet and want to practice based on this template. After configuring with PHPStudy, I want to see the website effect through the browser. The configuration seems to be unsuccessful. Do you have any experience in this area? What parameters need to be changed to match?

I put the website template document on www Under the folder, in PHPStudy "Create Website", select "Create Database" and "Synchronize Hosts" under "Create Environment". In the parameter settings of the database that appears, the database name is consistent with the downloaded database file name, user name and password Custom. Then import the database in the template document into PHPStudy in "Database", then go to the database connection file db.php and change the user name and password in the mysql_connect function to be consistent with the ones customized above. The server still retains the original document. localhost.

Then enter the domain name of the website in the browser, but the website cannot be displayed. Please tell me how to use templates to practice and modify in PHPStudy and view the effect on the browser. How to set the relevant parameters of PHPStudy and templates?

Thank you!

Ocean Blue 007
Ocean Blue 007

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template