https://blog.csdn.net/cy309173854/article/details/54929735…
以前也遇到过,当时解决了没写下来,这次正好又遇到了,就顺手写一下吧,别下次又忘记了. 当VC6的工程转到VC2010或更高版本时编译出现如下错误: c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxver_.h(81): fatal error C1189: #error :  Please use the /MD switch for _AFXDLL builds 很多解决方法是把工程属性中的“常规”-“MFC…
产生原因: 没有安装PHP的gearman扩展 解决方法:1.  打开:http://pecl.php.net/package/gearman2.  wget  http://pecl.php.net/get/gearman-1.1.2.tgz3.  tar xzvf gearman-1.1.2.tgz4.  cd gearman-1.1.25.  /path/to/phpize6.  ./configure --with-php-config=/path/to/php-config7.  su…
原文 PHP运行错最有效解决办法Fatal error: Out of memory (allocated 6029312) Fatal error: Out of memory (allocated 786432) (tried to allocate 98304 bytes) in H:\freehost\zhengbao2\web\includes\lib_common.php on line 744疑问:786432 是指786432bytes?即:768MB 98304 bytes=9…
近日在升级wordpress 3.2.1和若干插件的过程中,发现了一个wordpress的错误:Allowed memory size of XXX bytes exhausted Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 150 bytes) in [Blog root path]/wp-includes/pomo/mo.php on line 206   通过搜索网络和请教牛…
有时候我们在运行php程序的时候会发现 Fatal Error: Out of memory 这样的提示,这有可能是程序中用到了大量了变量和对象,导致分配的内存不够用. 修改php.ini文件里的memory_limit参数 方法一:修改php.ini文件里的memory_limit默认参数128M,修改为256M或者更大 memory_limit = 256M; 方法二:如果是虚拟主机,我们可以在程序需要用到大内存的地方添加以下代码 init_set("memory_limit",…
apache无法正常启动,80端口被占用的解决方法 网上的方法: 仔细查看提示: make_sock: could not bind to address 0.0.0.0:80 恍然大悟,计算机上安装了IIS7,80端口已占用. 打开Apache 的配置文件  Apache安装目录下的conf/httpd.conf 找到Listen 80 将80改为 81 重启Apache访问 http://localhost:81 实际解决办法: 在cmd中输入netstat –ano命令,发现80端口被一个…
http://www.2cto.com/database/201211/169504.html ERROR 1130 (HY000):Host'localhost'解决方法   ERROR 1130 (HY000): Host 'localhost' is not allowed to connect to this MySQL server   www.2cto.com     出现原因:  mysql只有一个root用户,修改root密码后选了MD5,提交后,重新  登陆出现“Host 'l…
无法启动 Maya 集成的 qt designer 的解决方法和原因 以及 中英文切换 前言: Maya 集成了 PySide,同时集成了qt designer,在 Maya 的安装目录下的 bin 文件夹中可以找到 designer.exe. 运行 designer.exe 报错解决方法和原因 当我们单独运行 Maya 中的 designer.exe 的时候,会报错:This application failed to start because it could net find or lo…
参考: error: pcap library not found! error: pcap library not found! 解决方法 $ sudo apt-get install libsqlite3-0 libpcap0.8 $ sudo apt-get install libpcap-dev 2017.9…