dtx63505 2016-10-06 15:05
浏览 44
已采纳

CakePHP:安装后的空白页面[关闭]

I freshly installed CakePHP following these instructions: http://book.cakephp.org/3.0/en/installation.html

Everything went fine except when I go to the page: localhost/myCakeProject I get a blank page without errors.

I have already the required PHP version (7) suggested in this psot: Blank page after installing CakePHP 3

No errors in the console are shown.

Any ideas?

  • 写回答

1条回答 默认 最新

  • doumu5023 2016-10-07 07:59
    关注

    i have experienced same problems. i run my cakephp app on ubuntu server with apache2 and php7. what i did to solved my problems with

    enable mod_rewrite with sudo a2enmod rewrite, then make change in

    /var/apache2/sites-available/000-default.conf
    

    add this below line DocumentRoot /var/www/html

    <Directory /var/www/html>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order Allow,Deny
        Allow from all
    </Directory>
    

    and for ssl/https i make some change as above

    /var/apache2/sites-available/default-ssl.conf
    

    below line

    <Directory /usr/lib/cgi-bin>
             SSLOptions +StdEnvVars
    </Directory>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 FOC simulink
  • ¥15 咨询一下有关于王者荣耀赢藏战绩
  • ¥50 MacOS 使用虚拟机安装k8s
  • ¥500 亚马逊 COOKIE我如何才能实现 登录一个亚马逊账户 下发新 COOKIE ..我使用下发新COOKIE 导入ADS 指纹浏览器登录,我把账户密码 修改过后,原来下发新COOKIE 不会失效的方式
  • ¥20 玩游戏gpu和cpu利用率特别低,玩游戏卡顿
  • ¥25 oracle中的正则匹配
  • ¥15 关于#vscode#的问题:把软件卸载不会再出现蓝屏
  • ¥15 vimplus出现的错误
  • ¥15 usb无线网卡转typec口
  • ¥30 怎么使用AVL fire ESE软件自带的优化模式来优化设计Soot和NOx?