|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-21 15:29 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 17:00:02 2026 UTC |
Description: ------------ Hello! I've moved all my applications from one server to another. The former server's configuration was PHP v5.0.2/Apache v2.0/Windows Server 2000 and now is PHP v5.2.4/IIS6/Windows Server 2003. Every think else is working properly besides the printing function. When I try to print something with the php_print.dll functions this error appears: Fatal error: Out of memory (allocated 524288) (tried to allocate 4294967295 bytes) in D:\WWWSites\helpu2\reports\nir.php on line 62 This worked perfectly on the previous server. Reproduce code: --------------- $p = printer_open('\\ICT4\HPDeskje');// at this line the error appears printer_start_doc($p, "stock"); printer_start_page($p); Expected result: ---------------- I would expect a page to be printed. Actual result: -------------- Fatal error: Out of memory (allocated 524288) (tried to allocate 4294967295 bytes) in D:\WWWSites\helpu2\reports\nir.php on line 62