Hello,
Everything started with me wanting to write a little command line php
script that uses some gd functions. After a little research, I realized I
need to unccomment the line in my php.ini that references the gd module. I
did that, and still no gd (I get the error message at run time, that
imagecreatefrom jpeg() doesn't exist). At first I thought that I changed the
wrong php.ini file, even though I changed the one in c:\windows, which is
the one php_info() says it's using. I then proceeded to delete every php.ini
file on my computer except the one in c:\windows (there was one more). Same
problem, no GD. Then just for fun I decided to rename the php.ini file in
c:\windows to php.bak. I then ran my script again thinking I would get an
error about a missing php.ini. To my dismay this was not the case, as I
received the same complaint about imagecreatefrom jpeg() not existing. I'm
perplexed. There is absolutely no file named php.ini on my entire PC, much
less in c:\windows where it says it's looking for it. I've search through
hidden folders, and nothing.
What is php using as the ini file? Basically, I need to get to the point
where php is using an ini file, of which I know exactly where this file is
and I can modify it. Can anyone shed some light on this for me?
Thanks,
Robert.
Everything started with me wanting to write a little command line php
script that uses some gd functions. After a little research, I realized I
need to unccomment the line in my php.ini that references the gd module. I
did that, and still no gd (I get the error message at run time, that
imagecreatefrom jpeg() doesn't exist). At first I thought that I changed the
wrong php.ini file, even though I changed the one in c:\windows, which is
the one php_info() says it's using. I then proceeded to delete every php.ini
file on my computer except the one in c:\windows (there was one more). Same
problem, no GD. Then just for fun I decided to rename the php.ini file in
c:\windows to php.bak. I then ran my script again thinking I would get an
error about a missing php.ini. To my dismay this was not the case, as I
received the same complaint about imagecreatefrom jpeg() not existing. I'm
perplexed. There is absolutely no file named php.ini on my entire PC, much
less in c:\windows where it says it's looking for it. I've search through
hidden folders, and nothing.
What is php using as the ini file? Basically, I need to get to the point
where php is using an ini file, of which I know exactly where this file is
and I can modify it. Can anyone shed some light on this for me?
Thanks,
Robert.
Comment