|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73334 getimagesize is not working although allow_url_fopen = On
Submitted: 2016-10-17 15:42 UTC Modified: 2016-10-30 04:22 UTC
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: xuathang at shopqua dot com Assigned: cmb (profile)
Status: No Feedback Package: GetImageSize related
PHP Version: 5.6.27 OS: Windows Server 2008
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-10-17 15:42 UTC] xuathang at shopqua dot com
The below code is working fine in php-5.6.26-nts-Win32-VC11-x64 but not working in php-5.6.27-nts-Win32-VC11-x64 (although allow_url_fopen = On):

Test script:
$from_path = '';

$image_info = getimagesize($from_path);

Expected result:
$image_info is not bool(false)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-10-17 17:34 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2016-10-17 17:34 UTC]
Please always make sure that you have error_reporting set to E_ALL
before reporting a bug, and post the relevant warnings or notices.

I get with *both* php-5.6.26-nts-Win32-VC11-x86 and

| Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages:
| error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Please verify that you get the same message. If so, you'll have to
set openssl.cafile to an appropriate Certificate Authority file.
 [2016-10-30 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 15:01:34 2024 UTC