php.ini在哪里? [英] Where is php.ini?

查看:86
本文介绍了php.ini在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
如何在xampp服务器中编辑php.ini文件

Possible Duplicate:
How do i edit php.ini file in xampp server

我运行了phpinfo,它说它在C:\ Windows中,但不存在.它不在php文件夹中.我进行了系统搜索,但没有找到.

I ran phpinfo and it said it was in C:\Windows but it's not there. It's not in the php folder. I did a system search and it wasn't found.

它藏在哪里?

推荐答案

运行以下代码(并且我假设您的php正在运行,您将无法仅找到php.ini文件)

Run this code (and I am assuming your php is running, you are not able to just locate the php.ini file)

<?php

phpinfo();

?>

并检查配置文件的位置:

And check the location of the config file:

这篇关于php.ini在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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