我是在CentOS5上用LNMP架设的PHP。 网上也找了些方法但是无用。 写了两句调用,结果出错
Warning: dl() has been disabled for security reasons in /home/wwwroot/test.php on line 2Fatal error: Call to undefined function w32api_register_function() in /home/wwwroot/test.php on line 3也不支持w32的API求救啊,到底要改什么,或者要扩展些什么东西啊?
Warning: dl() has been disabled for security reasons in /home/wwwroot/test.php on line 2Fatal error: Call to undefined function w32api_register_function() in /home/wwwroot/test.php on line 3也不支持w32的API求救啊,到底要改什么,或者要扩展些什么东西啊?
是 dl() 无法加载指定模块时的错误信息CentOS 是 RHEL(Red Hat Enterprise Linux)源代码再编译的产物
w32api_register_function 隶属于 php_w32api 扩展,只在 php4.2.x 可用
另外从 w32api 上看,他也应该只能用于 window 系统
异想天开了吧…………………………有三个方案:
1 把你的库重新编译
2 把你的系统换成windows
3 重新写个这个库的dll实现