PHP GD extension problem
2 posts by 2 authors in: Forums > CMS Builder
Last Post: June 5, 2009 (RSS)
By itokman - June 5, 2009
Environment:
MS W2003 Server sp2 R2 running IIS v6.0
with PHP 5.2.9 installed
When accessing the link
http://192.168.75.108/cmsadmin/admin.php
one of 2 things is happening:
Scenario 1.
PHP.ini
;extension=php_exif.dll
;extension=php_gd2.dll
Browser's Output:
This program requires the PHP 'GD' extension.
Please ask your hosting provider (or server administrator) to install missing PHP extension(s).
Scenario 2.
In attempt to enable GD extension PHP.ini is modified:
PHP.ini
extension=php_exif.dll
extension=php_gd2.dll
Browser's Output:
Warning:
rename(\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php.default,
\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php):
Permission denied in \\softwaredistnas.prod.healthwyse.com\distribution\cmsAdmin\lib\common.php
on line 630 Error renaming '\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php.default' :
rename(\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php.default,
\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php):
Permission denied! Make sure this file and it's directory are writable!
Thank you,
IT
MS W2003 Server sp2 R2 running IIS v6.0
with PHP 5.2.9 installed
When accessing the link
http://192.168.75.108/cmsadmin/admin.php
one of 2 things is happening:
Scenario 1.
PHP.ini
;extension=php_exif.dll
;extension=php_gd2.dll
Browser's Output:
This program requires the PHP 'GD' extension.
Please ask your hosting provider (or server administrator) to install missing PHP extension(s).
Scenario 2.
In attempt to enable GD extension PHP.ini is modified:
PHP.ini
extension=php_exif.dll
extension=php_gd2.dll
Browser's Output:
Warning:
rename(\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php.default,
\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php):
Permission denied in \\softwaredistnas.prod.healthwyse.com\distribution\cmsAdmin\lib\common.php
on line 630 Error renaming '\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php.default' :
rename(\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php.default,
\\softwaredistnas.prod.healthwyse.com/distribution/cmsAdmin/data/settings.dat.php):
Permission denied! Make sure this file and it's directory are writable!
Thank you,
IT
Re: [itokman] PHP GD extension problem
By ross - June 5, 2009
Hi there.
Thanks for posting!
You'll defintiely want to be going with the second option. That means PHP has been turned on. The errors you are getting there are actually permission based.
Basically, with the second method there, all you need to do now is set the permissions on your /data and /uploads directory so they are writable.
Give that shot and see if you get the installation page up.
Thanks!
Thanks for posting!
You'll defintiely want to be going with the second option. That means PHP has been turned on. The errors you are getting there are actually permission based.
Basically, with the second method there, all you need to do now is set the permissions on your /data and /uploads directory so they are writable.
Give that shot and see if you get the installation page up.
Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/