简体   繁体   English

使用在线PHP数据库进行离线测试,但不将文件上传到服务器

[英]Offline testing using online PHP database, but without uploading files to server

So here is my dilemma. 所以这是我的难题。 I wish to test my PHP website offline, but with an online PHP database. 我希望离线测试我的PHP网站,但要使用在线PHP数据库。 I also dont want to upload the files to the server. 我也不想将文件上传到服务器。 Is there a way for me to run them localy in Chrome, but without having to use third-party software like WAMP or XAMPP to create a local MySQL database? 是否可以在Chrome中本地运行它们,而不必使用WAMP或XAMPP等第三方软件来创建本地MySQL数据库? I've tried those, and there are so many errors etc. using them. 我已经尝试过了,使用它们有很多错误等。

Any tips or hidden tricks? 有任何提示或隐藏技巧吗?

Offline testing using an online PHP Database and WITHOUT uploading the files to the server is impossible. 使用在线PHP数据库进行离线测试并且不将文件上传到服务器是不可能的。 You have to use a local database in order to test PHP websites offline. 您必须使用本地数据库才能离线测试PHP网站。

There are several great softwares that can help you do this easily. 有几种出色的软件可以帮助您轻松完成此任务。 WAMP and XAMPP are just some of these. WAMPXAMPP只是其中的一些。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM