我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

“SetEnv”通过php.ini文件

I'm using FuelPHP and the environment information cannot be passed to my command-line script via the framework htaccess file. I read that I can set the same value by modifying my php.ini file. I'm using XAMPP on my localhost, but it doesn't seem to be working -- getenv('FUEL_ENV') returns nothing. I am missing something.

SetEnv FUEL_ENV production

SetEnv is an Apache directive; it goes in a .htaccess file or your server config files, not in php.ini.

近期文章

  • 怎么把网页制作下拉菜单,自己设计网站的一二级栏目
  • cadence运行报错
  • bfs广度优先搜索走迷宫
  • geoda莫兰指数散点图坐标轴刻度
  • cefsharp wpf 嵌套网页输入法软件焦点在左上角
  • 在python中将公斤转化为斤,斤转化为公斤,用表格表示
  • 关于#Linux#的问题,如何解决?
  • 可以通过PHP实现内联动态CSS吗?
  • pycharm处理时间序列异常值,将它变成正常的时间序列
  • QT安卓配置失败的问题
  • python中如何将数据以表格形式输出?
  • eclipse变黑了
  • 各位,最后一行代码为什么错误啊
  • 为什么最后总是输出“A”?(标签-c++)
  • cheat engine驱动加载错误
  • Python验证哥德巴赫猜想
  • 重用PHP函数来减少代码重复
  • VS引用节点的名字的变化
  • python运行问题 出现name error
  • 在matlab安装pogs求解器时出现了以下问题

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华