dongzhi9574 2015-04-01 04:39
浏览 49

Cloud9云IDE和CakePHP

I am currently attempting to get CakePHP running on Cloud9, a cloud based IDE. For those unaware, its a cloud collaboration IDE that intermixes with services such as BitBucket. The site gives sudo rights, and I installed CakePHP using these instructions:

https://www.digitalocean.com/community/tutorials/how-to-install-cakephp-on-an-ubuntu-12-04-vps

When I attempt to run my database that I exported from a machine with CakePHP installed, I get the error message "URL rewriting is not properly configured on your server." I attempted to solve the issue using this official guide from CakePHP:

http://book.cakephp.org/2.0/en/installation/url-rewriting.html

but no cigar, same error message. Has anyone gotten CakePHP working, or aware of a cloud IDE that is free/low cost like Cloud9 that would support CakePHP?

  • 写回答

1条回答 默认 最新

  • douyun8901 2015-04-01 18:12
    关注

    Here's how I got it working just now:

    sudo apt-get update
    
    sudo apt-get install php5-intl
    
    curl -sS https://getcomposer.org/installer | php -- --filename=composer
    
    ./composer create-project --prefer-dist cakephp/app
    

    This creates the project in /app by default. Move it to the workspace docroot:

    mv app/* ./
    mv app/.* ./
    rm -rf app
    

    Then the default url rewriting worked as expected. HTH

    评论

报告相同问题?

悬赏问题

  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图2.0 版本点聚合中Marker的位置无法实时更新,如何解决呢?
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题