我正在使用简单的图像上传/调整大小功能。上传图像后,Apache 会显示“发送错误报告”/“不发送”警报。
上传的图像是 .jpeg 和 apacheimagecreatefromjpeg
在线崩溃。
我正在使用:PHP-5.3.16
上传适用于:PHP-5.2.17 版本,但由于代码功能,我必须使用更高版本。
有谁知道如何修复这个错误,或者如何使它与 PHP-5.3.x 一起工作?
PS:我尝试使用 PHP-5.4.6 但它也显示此错误。
这是 Apache 错误日志:
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:43 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:43 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Aug 31 22:36:43 2012] [notice] Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/0.9.8u configured -- resuming normal operations
[Fri Aug 31 22:36:43 2012] [notice] Server built: Mar 19 2012 19:56:33
[Fri Aug 31 22:36:43 2012] [notice] Parent: Created child process 728
[Fri Aug 31 22:36:43 2012] [notice] Disabled use of AcceptEx() WinSock2 API
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:44 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:44 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 31 22:36:45 2012] [warn] RSA server certificate CommonName (CN) `openserver' does NOT match server name!?
[Fri Aug 31 22:36:45 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Aug 31 22:36:46 2012] [notice] Child 728: Child process is running
[Fri Aug 31 22:36:46 2012] [notice] Child 728: Acquired the start mutex.
[Fri Aug 31 22:36:46 2012] [notice] Child 728: Starting 32 worker threads.
[Fri Aug 31 22:36:46 2012] [notice] Child 728: Listening on port 443.
[Fri Aug 31 22:36:46 2012] [notice] Child 728: Listening on port 80.