[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to make PHP recognize GD2 and PSpell?

Posted on 2009-03-31
2
Medium Priority
?
627 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

656 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