Solved

How to make PHP recognize GD2 and PSpell?

Posted on 2009-03-31
2
613 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
2 Comments
 
LVL 22

Accepted Solution

by:
cj_1969 earned 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now