php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57882 Fatal error: Out of memory
Submitted: 2007-10-22 05:19 UTC Modified: 2007-12-01 05:02 UTC
From: alexandrusavin at gmail dot com Assigned:
Status: Not a bug Package: PECL website (PECL)
PHP Version: 5.2.1 OS: Windows Server 2003 Standard Edi
Private report: No CVE-ID: None
 [2007-10-22 05:19 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(witch I can not select in your PHP Version select box)/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

Expected result:
----------------
I would expect a connection to the printer to be made.

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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-26 07:39 UTC] alexandrusavin at gmail dot com
Is there nobody who can help me with this bug ?
 [2007-12-01 05:02 UTC] cweiske@php.net
This is not a PEAR bug. Please as the php mailing list.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 20:01:23 2020 UTC