Re: first post, be gentle
| From: | kim johannesen | Date: | Fri, 03 Jan 2003 19:02:17 +0000 |
| Subject: | Re: first post, be gentle | ||
| References: | 1 2 3 4 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9531@lists.php.net to get a copy of this message | ||
thanx Stephen, I really appreciate it..
well, it seems like it isn't loading it, because I dont even have a
paragraph about GD in the phpinfo file...
like i wrote in one of my earlier posts, I re-installed php yesterday, so it
is really wierd..
anyway, what to do now???
kimblim | www.kimblim.dk
----- Original Message -----
From: "Stephen Edmonds" <stephen.edmonds5@btinternet.com>
To: "kim johannesen" <kimblim@hotmail.com>
Cc: "PHP Installation Helplist" <php-install@lists.php.net>
Sent: Friday, January 03, 2003 6:45 PM
Subject: Re: [PHP-INST] first post, be gentle
> Okay, its a good start. First, we will check that GD is actually being
> started by php.
>
> Create a new file and call it test.php
> Into the file put this:
> <?php
> phpinfo( 8 );
> ?>
>
> Then browse to the test.php file. It will output a list of all the
installed
> modules on your version of php. Then, all you need to do is look for the
> section called 'GD'. On my php installation, phpinfo(8) output the
following
> about GD:
>
> GD Support enabled
> GD Version bundled (2.0 compatible)
> FreeType Support enabled
> FreeType Linkage with freetype
> JPG Support enabled
> PNG Support enabled
> WBMP Support enabled
>
>
> If you can find something similar on your version of phpinfo, then we know
> that it is being correctly activated by php. If you can't, then we know
> there is a problem somewhere when you try to load it. For your reference,
> you can view what is output by my phpinfo(8) at
> http://scryt.no-ip.com/test.php
>
> Let me know how it goes!
>
> Stephen
>
> ----- Original Message -----
> From: "kim johannesen" <kimblim@hotmail.com>
> To: "Stephen Edmonds" <stephen.edmonds5@btinternet.com>
> Cc: "PHP Installation Helplist" <php-install@lists.php.net>
> Sent: Friday, January 03, 2003 5:35 PM
> Subject: Re: [PHP-INST] first post, be gentle
>
>
> > ok, tried it, and the log now reads:
> >
> > [03-Jan-2003 18:26:39] PHP Fatal error: Call to undefined function:
> > imagecreate() in C:\shares\sites\dvd\php\rating.php on line 7
> >
> > and that file looks like this:
> >
> > <?php
> > header("Content-type: image/png");
> >
> > $width = 60;
> > $height = 12;
> >
> > $image = imagecreate($width, $height);
> >
> > $red = imagecolorallocate($image, 255, 0, 0);
> >
> > $im = imagecreatefrompng ("../images/ratingBackground2.png");
> > $im2 = imagecreatefrompng ("../images/ratingBackgroundBlank2.png");
> > $i = imagecopyresized($image, $im2, 0, 0, 0, 0, $width, $height, $width,
> > $height);
> >
> > $newWidth = $width * ($rating / 5);
> > $i = imagecopyresized($image, $im, 0, 0, 0, 0, $newWidth, $height,
> > $newWidth, $height);
> >
> > imagecolortransparent($image, $red);
> >
> > imagepng($image);
> >
> > imagedestroy($image);
> >
> > ?>
> >
> > is this making any sense at all?
> >
> > .kim
> > ----- Original Message -----
> > From: "Stephen Edmonds" <stephen.edmonds5@btinternet.com>
> > To: "kimBlim" <kimblim@hotmail.com>
> > Cc: "PHP Installation Helplist" <php-install@lists.php.net>
> > Sent: Friday, January 03, 2003 4:07 PM
> > Subject: Re: [PHP-INST] first post, be gentle
> >
> >
> > > Try the following:
> > >
> > > Go into PHP ini and make the following changes:
> > > log_errors = On
> > > error_log = C:\PHP\errorlog.txt
> > >
> > > Then, go into C:\PHP, and create a file called errorlog.txt. Then, try
> to
> > > start your webserver up and access the php page. Hopefully, the file
> will
> > > then be filled with the error messages. It may help us to track down
the
> > > problem... hopefully anyway!
> > >
> > > ----- Original Message -----
> > > From: "kimBlim" <kimblim@hotmail.com>
> > > To: "toby -" <figaromagnifico@hotmail.com>
> > > Cc: <php-install@lists.php.net>
> > > Sent: Friday, January 03, 2003 2:13 PM
> > > Subject: Re: [PHP-INST] first post, be gentle
> > >
> > >
> > > thanx for the tip, but im using IIS :(
> > >
> > > kimblim | www.kimblim.dk
> > >
> > > ----- Original Message -----
> > > From: "toby -" <figaromagnifico@hotmail.com>
> > > To: <kimblim@hotmail.com>
> > > Cc: <php-install@lists.php.net>
> > > Sent: Friday, January 03, 2003 3:10 PM
> > > Subject: Re: [PHP-INST] first post, be gentle
> > >
> > >
> > > >
> > > > kim
> > > >
> > > > if ur using apache try copying ur extensions folder to
> > > > \Program Files\Apache Group\Apache\
> > > >
> > > > its rathr silly but thats how i got it workin fo me
> > > >
> > > > hope dis helps ....
> > > >
> > > > good luck ....
> > > >
> > > > toby .....
> > > >
> > > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>