php-windows Digest 23 Sep 2001 14:24:24 -0000 Issue 769 Topics (messages 9467 through 9474): Re: time limit 9467 by: Glenn Pickett 9470 by: Alain Samoun getmxrr() not supported - REPOST 9468 by: Gaylen Fraley GD LIB .dll's 9469 by: Josh Seward supported functions 9471 by: sur-php Apache Crashes when using ImageTTFText() 9472 by: Oliver Ruf 9473 by: Rasmus Lerdorf 9474 by: Oliver Ruf Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Are you running in safe mode? Set_time_limit doesn't work in safe mode. Glenn "Dries" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Why does the time limit doesn't work ? > Any suggestions how to fix this? > > Thanks! > > > function connect1() > { > set_time_limit(2); > $url = http://www.example.com; > $file = implode('',file($url)); > } > > >
You should put your url address between quotes. set_time_limit works for me (PHP4.06) Alain On Sun, Sep 23, 2001 at 01:52:02AM +0200, dries wrote: > Why does the time limit doesn't work ? > Any suggestions how to fix this? > > Thanks! > > > function connect1() > { > set_time_limit(2); > $url = http://www.example.com; > $file = implode('',file($url)); > } > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
I'm running under the windows PHP Binary (pre-compiled) from www.php.net. When I try to use the getmxrr() function, I receive this error: Warning: getmxrr() is not supported in this PHP build I doubt it, but perchance, is this just an ini setting (extension) or is the binary truly missing the support? If it is truly missing, is there another site that someone knows of that carries the binary with the functions compiled in? Thanks, -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts
Can Someone point me toward the .dll's for the gd library? Thanks,
Hello php-windows, i saw here many guys asking for that why some functions are not working, firstly please check whether your configuration supports it or not.... so try this : it will show all commands that your php current supports: ================================================ <pre> <? print_r ($a=get_loaded_extensions()); ?> <hr color=red> <? $cnta1=count($a); $ii1=0; while ($ii1<$cnta1) { echo "<b><font color=orange size=4>$a[$ii1]</font></b><br>\n"; print_r(get_extension_funcs("$a[$ii1]")); echo "<hr color=green>\n"; $ii1++; } ?> ================================================ -- Best regards, sur-php mailto:[EMAIL PROTECTED]
Hello I set up Apache 1.3.20 with PHP 4.05 due to the bugs in PHP 4.06 with the ImageTTFText() function. Now my problem is, Apache is running fine, also PHP runns well, but as soon as I have a few php-created images (which use ImageTTFText() of course...) Apache crashes :( with an Errormsg like this: "APACHE caused an invalid page fault in module KERNEL32.DLL at 017f:bff7b992 .... bla bla bla" Has anybody got a clue what this could be or what I should try to fix this? I would be very glad for every help you could provide. Kind regards, Oliver
What bugs in 4.0.6? It simply looks for the ttf fonts in a different directory. -Rasmus On 23 Sep 2001, Oliver Ruf wrote: > Hello > > I set up Apache 1.3.20 with PHP 4.05 due to the bugs in PHP 4.06 with the > ImageTTFText() function. > > Now my problem is, Apache is running fine, also PHP runns well, but as soon > as I have a few php-created images (which use ImageTTFText() of course...) > Apache crashes :( with an Errormsg like this: > "APACHE caused an invalid page fault in module KERNEL32.DLL at > 017f:bff7b992 .... bla bla bla" > > Has anybody got a clue what this could be or what I should try to fix this? > I would be very glad for every help you could provide. > > Kind regards, > Oliver > >
Dear Rasmus I mean absolutly no offense to you or any of the PHP-team. Actually you have my absolute respect, though I know how hard it is running such a project. Concerning the bug, or not a bug, in PHP 4.06 Win32 version. The ImageTTFText() function simply doesn't work if you want to use it like you are used to. I did not know any details about that PHP just looks for the TTF file somewhere else. ( Where ??) I was looking around in the newsgroups and on the net, and the only solution I found was that everybody said: 'Use PHP 4.05, there's something wrong with the GD-Lib in PHP 4.06'.. Maybe you should write an errata entry in the PHP manual you provide on PHP.net just for that Windoze users know how the have to deal with this problem. Me myself use the windoze-version only for developing and have it running on my notebook. My website is running under Linux, of course :) and there everything is just fine :) My kind regards to the whole PHP team! - Oliver [EMAIL PROTECTED] (Rasmus Lerdorf) wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > What bugs in 4.0.6? It simply looks for the ttf fonts in a different > directory. > > -Rasmus > > On 23 Sep 2001, Oliver Ruf wrote: > >> Hello >> >> I set up Apache 1.3.20 with PHP 4.05 due to the bugs in PHP 4.06 with >> the ImageTTFText() function. >> >> Now my problem is, Apache is running fine, also PHP runns well, but as >> soon as I have a few php-created images (which use ImageTTFText() of >> course...) Apache crashes :( with an Errormsg like this: >> "APACHE caused an invalid page fault in module KERNEL32.DLL at >> 017f:bff7b992 .... bla bla bla" >> >> Has anybody got a clue what this could be or what I should try to fix >> this? I would be very glad for every help you could provide. >> >> Kind regards, >> Oliver >> >> >