Hi,
Im new to php and i cant get the gd graphics library to work.
Im running Apache, Mysql, Windows xp
I downloaded and installed php from php.net.
After much screwing around I finally got in to work with mysql and wrote a
few basic scripts.
Im stuck on the gd libarary.
I downloaded the file php_dg.dll and copied it to my ext directory. I know
php can see it because
the mysql files are there and they work fine.
I restarted Apache and phpinfo() reads
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
I try to run the following code fragment to test it out ....
<?PHP
$image=$imagecreate(100,100);
?>
And I get.
Notice: Undefined variable: imagecreate in C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\livepoker.php on line 5
Fatal error: Function name must be a string in C:\Program Files\Apache
Software Foundation\Apache2.2\htdocs\livepoker.php on line 5
Does any body have any advice ?
Thanks,
Mark.
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]