php调用c/c++时 passthru()被禁用问题
2024-09-16 15:12:27
passthru被禁用,需要编辑php.ini文件
disable_functions = scandir,passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,fsocket,fsockopen
去掉passthru,保存并重起php-fpm即可。
php.ini 的位置:/usr/local/php/etc/php.ini
最后执行/etc/init.d/php-fpm restart重启下
最新文章
- Exception in thread ";main"; java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<;init>;(I)V
- Java实现多种方式的http数据抓取
- CSS 百分比 margin &; padding
- HDU2243_考研路茫茫――单词情结
- [小北De编程手记] : Lesson 06 - Selenium For C# 之 流程控制
- NotifyIcon用法
- sqlmap新手注入
- 小米Java程序员第二轮面试10个问题,你是否会被刷掉?
- c# 颜色RGB到HSB互相转换
- jquery easyui datagrid设置行样式 不可删除某行
- python_自定日历
- VUE-008-通过路由 router.push 传递 query 参数(路由 path 识别,请求链接显示参数传递)
- hive on tez配置
- Ubuntu 更新系统版本以及查看当前系统版本的命令
- Tomcat日志系统详解
- asp:FileUpload 上次图片
- python multiprocessing 使用
- HDU 3613 Best Reward(扩展KMP求前后缀回文串)
- 关于Conversion to Dalvik format failed with error 1错误
- MySQL中SYSDATE()和NOW()函数的区别和联系
热门文章
- spring boot2.0.4集成druid,用jmeter并发测试工具调用接口,druid查看监控的结果
- Spring Cloud 2-Zuul 网关服务(六)
- VS2017 性能优化方法
- TinyMCE
- tensorflow--mnist注解
- web.xml中DispatcherServlet拦截器的配置详情
- MySQL存储过程中的事务执行失败之后获取错误信息
- openpyxl使用sheet.rows或sheet.columns报TypeError: &#39;generator&#39; object is not subscriptable解决方式
- 微信H5支付开发(maven仓库版)
- Python网络编程之黏包问题