Cakephp3 strato安装 [英] Cakephp3 strato installation

查看:190
本文介绍了Cakephp3 strato安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为朋友写一个Cakephp3应用程序。现在我开发了应用程序的一部分在本地,我想安装在他的服务器上。他在strato.de有一个托管服务器。我无法访问shell或类似的东西来自己配置一切。



我已经解决了问题: p>


  • 我在htaccess文件中搜索了几个定义:.htaccess for cakephp ,但它没有解决我的问题。

  • 我也阅读了cakephp的安装指南。



问题



不能访问应用程序。如果我试图打开url我只得到一个完整的白页。

解决方案



感谢您的帮助! / div>

将此行放在根目录下的index.php文件中以显示所有错误

  error_reporting(E_ALL); 
ini_set(display_errors,on);

(此行开销)

  require'webroot'。 DIRECTORY_SEPARATOR。 'index.php'; 

但我想象一下这样的消息...




致命错误:您必须启用intl扩展才能在第38行使用CakePHP ... cakephp / config / bootstrap.php


我和Strato谈过了,但他们没有给我任何共享宿主的解决方案...



如果有任何信息,我检查hostings strato及其支持laravel5


i want to write a little Cakephp3 application for a friend. Now i developed a part of the application locally and i want to install this on his server. He got a managed server at strato.de. I have no access to a shell or something like this to configure everything by myself.

What i did already to solve the problem:

  • I googled around and found several things about some definitions in the htaccess-files: .htaccess for cakephp but it didn't solve my problem.
  • I also read the installation-guide of cakephp.

The problem:

I can't access the application. If i try to open the url i only get a complete white page. So what do i have to do to access the application?

Thanks for help!

解决方案

Put this lines in you root index.php file to show all errors

error_reporting(E_ALL);
ini_set("display_errors", "on");

(overhead this line)

require 'webroot' . DIRECTORY_SEPARATOR . 'index.php';

But I imagine a message like this...

Fatal error: You must enable the intl extension to use CakePHP in ... cakephp/config/bootstrap.php on line 38

I talked with Strato about it, but they didn't give me any solution for shared hostings...

If it's any info, I checked hostings strato and its support laravel5

这篇关于Cakephp3 strato安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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