如何将在线php Web应用程序离线转换为xampp? [英] how can convert online php web application in to xampp offline?

查看:73
本文介绍了如何将在线php Web应用程序离线转换为xampp?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里,我给出了common.php中的一些代码.

Here I had given some of the code from common.php

$physical_path['Site_Root'] = 'E:/websites/tac'. INSTALL_DIR;
$physical_path['Site_Root'] = 'C:/xampp/htdocs'. INSTALL_DIR;



网站路径需要哪种类型的更改?我当前的项目位于c://xampp/htdocs/xampp/public_html.

.htaccess文件是否有修改?



请帮助我解决此问题.仍在等待您的解答/帮助.



which type of changes needed in site path? My current project located in c://xampp/htdocs/xampp/public_html.

Any modification in .htaccess file?



Please help me to fix this problem.Still waiting for your answers/help.

推荐答案

physical_path [' 站点根目录] = ' E:/websites/tac' . INSTALL_DIR;
physical_path['Site_Root'] = 'E:/websites/tac'. INSTALL_DIR;


physical_path [' Site_Root'] = ' C:/xampp/htdocs'. INSTALL_DIR;
physical_path['Site_Root'] = 'C:/xampp/htdocs'. INSTALL_DIR;



网站路径需要哪种类型的更改?我当前的项目位于c://xampp/htdocs/xampp/public_html.

.htaccess文件是否有修改?



请帮助我解决此问题.仍在等待您的答复/帮助.



which type of changes needed in site path? My current project located in c://xampp/htdocs/xampp/public_html.

Any modification in .htaccess file?



Please help me to fix this problem.Still waiting for your answers/help.


您的源代码应位于htdocs中的目录下.像这样:

c://xampp/htdocs/yourappsrc
Your source codes should be under a dir within the htdocs. Like this:

c://xampp/htdocs/yourappsrc


这篇关于如何将在线php Web应用程序离线转换为xampp?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆