Re: Undefined variables (was php_gd.dll and Windows XP)

From: Date: Wed, 15 May 2002 20:58:39 +0000
Subject: Re: Undefined variables (was php_gd.dll and Windows XP)
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-13800@lists.php.net to get a copy of this message
Blah, blah, blah, for the zillionth time, 4.2 turns register_globals off in the php.ini. If you want to access the variables directly, turn on register_globals in your php.ini. Otherwise, access them via one of the global arrays ($GLOBALS, $GET, $POST, etc). At 09:16 PM 5/15/02 +0100, Alan Hale wrote:
Currently set to report all errors. This seems to be a problem now with variables passed in query strings or from forms not being sent (hence undefined). Other variables OK. So I guess again it's something to do with the server settings, but I don't know how ----- Original Message ----- From: "RoboTeddy" <RoboTeddyList@subdimension.com> To: <php-windows@lists.php.net> Sent: Wednesday, May 15, 2002 8:14 PM Subject: Re: [PHP-WIN] php_gd.dll and Windows XP Check the error reporting directive in your php.ini configuration file ----- Original Message ----- From: "Alan Hale" <alan.hale@btclick.com> To: <php-windows@lists.php.net>; "Jeff Waldock" <jeff@waldock.org> Sent: Wednesday, May 15, 2002 1:58 AM Subject: Re: [PHP-WIN] php_gd.dll and Windows XP
I think this problem has been to do with configuration of the server
rather
than PHP as such - phpinfo() was showing the extensions as installed. I've downloaded the 4.2.1 Windows installer and run this. I also
downloaded
the 4.2.1 zip file (which includes the extenion modules) and copied
these
out. Edited php.ini. Now extensions work fine. But.... I'm now getting "undefined variable" errors from my scripts, which I've never seen before. Alan ----- Original Message ----- From: "Jeff Waldock" <jeff@waldock.org> To: "'Alan Hale'" <alan.hale@btclick.com> Sent: Tuesday, May 14, 2002 10:23 PM Subject: RE: [PHP-WIN] php_gd.dll and Windows XP
Alan OK - Have you tried installing the new PHP 4.2.1 that has just been released? I note from the set of files included that this now does
have
a php_gd.dll included. Jeff |-----Original Message----- |From: Alan Hale [mailto:alan.hale@btclick.com] |Sent: 14 May 2002 19:46 |To: php-windows@lists.php.net |Subject: Re: [PHP-WIN] php_gd.dll and Windows XP | | |Thanks Jeff, but that's not it - php_gd2.dll did not come with |the installation (I did in fact try downloading a copy into my |extensions dir, and editing php.ini accordingly, but this |worked no better). | | |----- Original Message ----- |From: "Jeff Waldock" <jeff@waldock.org> |To: "'Alan Hale'" <alan.hale@btclick.com>;
<php-windows@lists.php.net>
|Sent: Monday, May 13, 2002 7:33 PM |Subject: RE: [PHP-WIN] php_gd.dll and Windows XP | | |> Alan |> I think the dll has been re-named to php_gd2.dll. Just rename the |> extension in your php.ini to this and re-start the web |server and you |> should find it works. Jeff |> |> |-----Original Message----- |> |From: Alan Hale [mailto:alan.hale@btclick.com] |> |Sent: 13 May 2002 18:24 |> |To: php-windows@lists.php.net |> |Subject: [PHP-WIN] php_gd.dll and Windows XP |> | |> | |> |I've recently upgraded to XP Pro from Windows Me. I previously had |> |PHP running with the gd extension on Omnihttpd server, but |found with |> |the same configuration gd would not work (Error |> |messages: First: " The procedure entry point add_assoc_long |could not |> |be located in the dll php4ts.dll" Then: "Unable to locate dll |> |'c:\httpd\php\php_gd.dll' - the specified procedure could not be |> |found". |> | |> |I've also tried installing with Easywindows on IIS - again, gd
does
|> |not work (though no helpful error messages). |> | |> |So I'm coming to the conclusion there some incompatability |between XP |> |and the php_gd.dll. Does anyone have this working on XP? Can
anyone
|> |suggest how I can fix this? |> | |> |Many thanks |> | |> |Alan Hale |> | |> | |> | | |-- |PHP Windows Mailing List (http://www.php.net/) |To unsubscribe, visit: http://www.php.net/unsub.php |
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Mike Flynn -- mike @ mikeflynn . net home => work => home => shop => home [adbusters]

« previous php.windows (#13800) next »