CakePHP的安装上BlueHost的

编程入门 行业动态 更新时间:2024-10-10 00:29:08
本文介绍了CakePHP的安装上BlueHost的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我如何设置CakePHP的对BlueHost的正常工作?我应该把我的应用程序,蛋糕和供应商的文件夹以及.htaccess和的index.php文件在/的public_html /目录?我跟着指示这里... HTTP://book.cakephp .ORG /浏览/ 37 / Apache的和mod_rewrite的,和htaccess的无济于事。我看到,当我键入名称到我的网站是一个空白页!

How do I set up Cakephp to work properly on Bluehost? Should I place my app, cake and vendor folders as well as .htaccess and index.php files in the /public_html/ directory? I followed the instructions here... book.cakephp/view/37/Apache-and-mod_rewrite-and-htaccess to no avail. All I see when I type the name to my website is a blank page!

推荐答案

这我也跟着成立一切的方法,可以在此网站上发现...的 www.ad7six/MiBlog/ProductionSetup

The method that I followed to set up everything can be found at this site... www.ad7six/MiBlog/ProductionSetup

  • / cake_install
  • / cake_install /应用程序
  • / cake_install /蛋糕
  • / cake_install /供应商
  • /public_html/.htaccess
  • /public_html/index.php

/的public_html将原本在app / webroot的发现等信息但那是在链接上面的解释

/public_html will have other information originally found in app/webroot but that's explained in the link above

if (!defined('ROOT')) { //define('ROOT', dirname(dirname(dirname(__FILE__)))); define('ROOT',DS.'cake_install'); } if (!defined('APP_DIR')) { //define('APP_DIR', basename(dirname(dirname(__FILE__)))); define('APP_DIR',DS.'app'); } if (!defined('CAKE_CORE_INCLUDE_PATH')) { //define('CAKE_CORE_INCLUDE_PATH', ROOT); define('CAKE_CORE_INCLUDE_PATH',DS.'cake_install'); }

更多推荐

CakePHP的安装上BlueHost的

本文发布于:2023-11-02 07:21:06,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1551730.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:装上   CakePHP   BlueHost

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!