调用未定义的函数"init_set" [英] Call to undefined function 'init_set'

查看:130
本文介绍了调用未定义的函数"init_set"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试以编程方式更改php.ini配置设置时,有人知道如何调试对未定义函数init_set的调用" 吗?我只是试图在代码中调用init_set函数,而apache无法在那一行处理它.

Does anybody know how to debug "call to undefined function init_set" , when trying to change php.ini configuration settings programmatically? I am just trying to call init_set function in the code, and the apache couldn't process it at that line.

我最近在Windows XP计算机上安装了Apache 2.2,同时也安装了php 5.2.

I recently installed my Apache 2.2 on my Windows XP machine, along with php 5.2 as well.

我尝试使用谷歌搜索并搜索stackoverflow,但找不到所需的答案.

I tried googling and searching stackoverflow for this but I couldn't find the answer I was looking for.

有人可以给它一些启发吗?

Could anybody shed some light on it?

推荐答案

它是ini_set而不是init_set(请检查 http://php. net/ini_set )

it's ini_set not init_set (check http://php.net/ini_set)

这篇关于调用未定义的函数"init_set"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆