php.ini 文件在 xamp 文件夹中可用 [英] php.ini file is available in xamp folder

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

问题描述

我是 php 新手,开始在 php 中运行小代码 ..

I am new to php and started running small codes in php ..

操作系统 - Windows XP Service Pack 3Xampp 版本 - 1.7.3netbeans- 6.5

对于上传等小代码工作正常,但是当我尝试发送电子邮件时说与SMTP相关的错误消息.然后,我开始在Google上浏览有关错误的信息,在那里我了解了xampp中的php.ini文件.不同版本在 xampp 中此文件的位置不同.

for small codes such as upload etc are working perfectly, But when I try to send email said error message SMTP related .Then, I started surfing Google about errors , there I come to know about php.ini file in xampp. Different versions have different locations of this file in xampp only.

我注意到了 3 件事......

There are 3 things I noticed...

1) xampp 文件夹和子文件夹没有 php.ini 文件

1) xampp folder and subfolders does not have php.ini file

2) 在运行 phpconfig() 时显示:

2) on Running phpconfig() it shows :

配置文件 (php.ini) 路径无值

加载的配置文件 C:\xampp\php\php.ini

3)SMTP 服务器在 localhost/xampp 的 xampp 状态

3)SMTP server is deactivated in xampp Status at localhost/xampp

SMTP 服务已停用
FTP 服务已停用

我无法编辑 php.ini,因为它不可用,这些问题的解决方案是什么?

I can't edit php.ini as its not available what is solution to these problems?

推荐答案

使用 XAMPP,php.ini 文件被称为 php
点击名为php的文件,然后你会看到另一个名为php的文件夹,点击它,这是php.ini文件

With XAMPP, the php.ini file is called php
Click on the file called php then you will see another folder called php, click on that, this is the php.ini file

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

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