1 Invalid command 'RewriteEngine'
在apache httpd.conf中将LoadModule rewrite_module modules/mod_rewrite.so取消注释
2 Invalid command 'Header'
在apache httpd.conf中将LoadModule headers_module modules/mod_headers.so取消注释
3 Fatal error: Call to undefined function mcrypt_module_open()
phpinfo.ini 中取消对extension=php_mcrypt.dll的注释
4 Fatal error: Call to undefined function curl_init()
phpinfo.ini中取消对extension=php_curl.dll的注释
5 Unable to load dynamic library 'C:/Program Files/sugarcrm-5.5.0/php/ext//php_curl.dll' - /xd5/xd2/xb2/xbb/xb5/xbd/xd6/xb8/xb6/xa8/xb5/xc4/xc4/xa3/xbf/xe9/xa1/xa3/r/n in Unknown on line 0
将PHP安装目录下的libeay32.dll ssleay32.dll 复制到 c:/windows/system32下 就好了
6 (OS 64)指定的网络名不再可用。 : winnt_accept: Asynchronous AcceptEx failed
apache设置文件中添加如下语句:
<IfModule mpm_winnt.c>
ThreadsPerChild 1000
MaxRequestsPerChild 10000
Win32DisableAcceptEx
</IfModule>
停止Apache,再启动。确实新设置起作用了:
[notice] Disabled use of AcceptEx() WinSock2 API
[notice] mod_python: Creating 8 session mutexes based on 0 max processes and 1000 max threads.
[notice] Child 2380: Child process is running
[notice] Child 2380: Acquired the start mutex.
[notice] Child 2380: Starting 1000 worker threads.