CakePHP的安装上BlueHost的 [英] Cakephp Install on Bluehost

查看:116
本文介绍了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... http://book.cakephp.org/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!

推荐答案

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

The method that I followed to set up everything can be found at this site... http://www.ad7six.com/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的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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