Re: help with ming library
| From: | Richard Lynch | Date: | Sat, 11 Aug 2007 01:33:45 +0000 |
| Subject: | Re: help with ming library | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260664@lists.php.net to get a copy of this message | ||
On Fri, August 10, 2007 6:24 am, Diana wrote:
> How do I install the ming library on windows??
> I copied the php_ming.dll that I had on another computer and enabled
> this
> line in php.ini extension=php_ming.dll
> but I still get that error Call to undefined function Ming_setScale()
There are several ways this could have gone wrong...
First is that you HAVE to have the exact right version of php_ming.dll
to match your PHP version, or it won't work. There should be
something in your webserver error logs from PHP/webserver startup
time-frame if this is the problem.
Next is the question of whether you are editing the right php.ini.
<?php phpinfo();?> will tell you.
Then is the question of whether your php_ming.dll is in the
extensions_directory set in that php.ini
Finally, there is the question of "permissions" to read/execute that
DLL. And in Windows, that's a bit of a pig's breakfast, as MS changed
it in every release, so you just have to right-click and poke around
until you find it.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?