Could you help me? My apache has php5 and php7. The problem here I only can enable one by one at the same time. Is there any ways to run both them at the point? Thank you much!
1条回答 默认 最新
- duanshan3331 2016-06-17 04:37关注
there are multiple possibilities on working with multiple php interpreters. it depends on how you want to use those php interpreters. for example: you want to use php5 for webapp and php7 for the other webapp, so you can do this via vhosts: https://www.apachelounge.com/viewtopic.php?t=6615 this should help. in the vhosts you can configure, how the php files should be handled - be careful of the php environment variables that needs to be correctly set up.
tell me how you want to use both of the versions - your use case - and i might be able to help you a bit better.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 eNSP中防火墙的使用
- ¥15 不能对数据库增删改但是可以查询
- ¥15 在触控设备上启动TabTip.exe打不开键盘界面,怎么用代码启动进程打开界面
- ¥15 lvgl7.11怎么做出文字被选中的效果
- ¥50 如何快速查看手机目标app的主要服务器ip
- ¥15 (标签-stm32|关键词-m3)
- ¥15 matlab中频率调制法代码的解读
- ¥15 ceph的对象、块、文件相关问题求解答
- ¥50 如果使用python进行ERA5 10米风场预报检验
- ¥15 navicat解析mysql密码