?
Solved

How to make PHP recognize GD2 and PSpell?

Posted on 2009-03-31
2
Medium Priority
?
622 Views
Last Modified: 2013-12-13
Hi All,

Sorry if this has already been answered, but I couldn't find a solution anywhere.

My problem is that I am trying to load the GD2 library on Windows Server 2003 using IIS 7 and PHP 5.2.8. Here is what I have tried already (rebooting after everything, of course):

-downloaded php_gd2.dll file and placed in extensions folder
-in php.ini, uncommented "extension = php_gd2.dll"

That didn't work. When I check the phpinfo, it doesn't recognize GD exists at all (no section labeled "gd" like there usually is). The loaded php.ini file is C:\Program Files\PHP\php.ini, which is the one I am modifying.

I also tried to install the GD2 extension via the Windows Control Panel by modifying the PHP installation. That also didn't work.

I then tried to copy the dll file to the Windows\System32 folder. No go.

I have tried all of these steps for the PSpell support as well, but nothing shows up in the phpinfo.

Does anyone have something else to try? I appreciate any help!
0
Comment
Question by:twizziweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
cj_1969 earned 1500 total points
ID: 24038956
From what I am reading it looks like you might have a path issue.
Read this page ... http://us2.php.net/manual/en/install.windows.extensions.php

PHP5 by default searches for extension is the root of the php directory, not the extensions subdirectory within that.  It appears that you can modify this behaviour in the php.ini file.

There are also steps on the page I reference for installing numerous add-ons to php and any additional dlls that are needed by those packages.
0
 

Author Comment

by:twizziweb
ID: 24038996
Thanks for your reply. I already reinstalled PHP manually and got it to work. You won't catch me ever trying to use the msi installer for PHP again!
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question