CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
不看会后悔的Windows XP之经验谈 简单快捷DIY实用家庭影院
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Web 开发 >  PHP

我的PHP在命令行下无法运行EXEC()函数

楼主gouzi(狗子)2006-07-04 14:42:49 在 Web 开发 / PHP 提问

我写了一个脚本,想执行在命令行下面,并且需要调用WINDOWS的一些命令.  
  我的环境是windows2003+php5  
  运行时没有任何返回,换成system()函数也一样.没有任何返回.  
  我查了一些资料,说是运行在安全模式下,这些函数被拒绝了.  
  而我的PHP.INI中明明是关闭了安全模式的.  
  ;  
  ;   Safe   Mode  
  ;  
  safe_mode   =   off  
   
  ;   By   default,   Safe   Mode   does   a   UID   compare   check    
   
  when  
  ;   opening   files.   If   you   want   to   relax   this   to   a    
   
  GID   compare,  
  ;   then   turn   on   safe_mode_gid.  
  safe_mode_gid   =   Off  
   
  ;   When   safe_mode   is   on,   UID/GID   checks   are    
   
  bypassed   when  
  ;   including   files   from   this   directory   and   its    
   
  subdirectories.  
  ;   (directory   must   also   be   in   include_path   or   full    
   
  path   must  
  ;   be   used   when   including)  
  safe_mode_include_dir   =  
   
  ;   When   safe_mode   is   on,   only   executables   located    
   
  in   the   safe_mode_exec_dir  
  ;   will   be   allowed   to   be   executed   via   the   exec    
   
  family   of   functions.  
  safe_mode_exec_dir   =  
   
  请问为什么在无法执行EXEC函数?  
  应该怎么做才行? 问题点数:20、回复次数:1Top

1 楼zeroleonhart(Strong Point:Algorithm)回复于 2006-07-04 15:14:17 得分 0

debug   the   php   codes   first  
  make   sure   you   return   some   words  
  Top

相关问题

关键词

得分解答快速导航

  • 帖主:gouzi

相关链接

  • Web开发类图书

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo