php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43058 Fatal error: Out of memory
Submitted: 2007-10-21 10:50 UTC Modified: 2007-10-21 15:29 UTC
From: alexandrusavin at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.4 OS: Windows Server 2003 Standard Edi
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alexandrusavin at gmail dot com
New email:
PHP Version: OS:

 

 [2007-10-21 10:50 UTC] alexandrusavin at gmail dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-21 15:29 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

printer extension is in PECL, please report the bug on PECL bug tracker 
at http://pecl.php.net/bugs/

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 17 20:00:02 2025 UTC