dttphb59319 2017-09-29 02:39
浏览 55

如何在PHP 5.0到5.4的服务器上运行laravel 5.4网站?

I wrote a small content management system using laravel 5.4 version. But the web hosting company uses PHP 5.3 version. When I upload my website, I got errors. Is there any way to run laravel 5.4 applications on servers with the PHP version 5.0 to 5.4? Changing the web hosting company is not a choice.

Thank you for your help in advance!

  • 写回答

2条回答 默认 最新

  • douchang6770 2017-09-29 02:42

    There is no way around minimum PHP requirements. You would have to change providers or get your provider to update PHP version (which they should do).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
  • dongxia8656 2017-09-29 03:55

    Best option in this case is to upgrade your PHP on your Web Host if that is an option.

    (1) If your host is running Windows you can find the PHP install info here.Also check here.

    (2) If your web host is running Debian GNU based Linux then just run following command:

    apt-get install php5-common libapache2-mod-php5 php5-cli




  • ¥15 相同型号电脑与配置,发现主板有一台貌似缺少了好多元器件似的,会影响稳定性和使用寿命吗?
  • ¥15 要求编写稀疏矩阵A的转置矩阵的算法
  • ¥15 编写满足以下要求的停车场管理程序,设停车场只有一个可停放n辆车的狭窄通道且只有一个大门可供车辆进出。
  • ¥15 C语言:数据子序列基础版
  • ¥20 powerbulider 导入excel文件,显示不完整
  • ¥15 用keil调试程序保证结果进行led相关闪烁
  • ¥15 paddle训练自己的数据loss降不下去
  • ¥20 用matlab的pdetool解决以下三个问题
  • ¥15 单个福来轮的平衡与侧向滑动是如何做到的?
  • ¥15 嵌入式Linux固件,能直接告诉我crc32校验的区域在哪不,内核的校验我已经找到了,uboot没有