Solved

How to make PHP recognize GD2 and PSpell?

Posted on 2009-03-31
2
616 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP query / monitor data from Telnet to MySQL 7 53
Dynamic Dropdowns 15 33
reverse engineer .sql from php files 11 35
Pull Variable from URL  Use php template 1 10
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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The viewer will learn how to dynamically set the form action using jQuery.
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…

821 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