I've this environment: Windows Web Server 2008 R2, IIS 7.5, PHP 5.3.10 NTS, Wordpress 3.3.1.
Our website is done on Wordpress. It use YAPB to create thumbnail pictures from larger size image. YAPB create the thumbnail in a cache folder, and the website use this image from the cache to display it in the browser.
The problem that we have is that it is able to CREATE the file in the cache, but it has 0 byte!
I thought it was a problem with lack of permission to write in that cache directory, but it has all the rights!
In IIS this web site is running on its own application pool. I've created a specific user for that pool, and gave it all the rights. Just in case it wouldn't be enough, i've given the rights to IUSR and IIS_IUSRS also.
PHP is properly installed, here's how i've setuped the PHP.ini
- open_basedir=D:\OurWebSitesFolder
- cgi.fix_pathinfo=1
- cgi.force_redirect=0
- fastcgi.impersonate=1
- fastcgi.logging=0
- extension_dir="C:\PHP5.3.10\ext"
- [PHP_GD2]
- extension=php_gd2.dll
If someone got any idea to solve this problem, i would appreciate. Thanks!