Mac OSX PHP Fatal error: Allowed memory size of 8388608 ...by class.pdf.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spereira
    New Member
    • Jun 2007
    • 4

    Mac OSX PHP Fatal error: Allowed memory size of 8388608 ...by class.pdf.php

    I am running XAMPP for Mac OS X 0.6.1 !
    And since it did not have PDF libarires
    I downloaded ezpdf from the url:http://sourceforge.net/project/showfiles.php?g roup_id=45168&p ackage_id=37830 &release_id=147 645
    unzipped into a folder pdf_test
    And tried to run from the local
    http://localhost/pdf_test/readme.php

    gets the error
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 76912 bytes) in /Applications/xampp/xamppfiles/htdocs//pdf_test/class.pdf.php on line 1240

    Do I need to do any setup?
    Or can any one suggest FREE PDF creation library which runs in Max OSX apache & preferably with PHP

    Can anyone one help?

    SPereira
  • kovik
    Recognized Expert Top Contributor
    • Jun 2007
    • 1044

    #2
    The problem is that a your server isn't allowed to use that much memory in one request. If the documentation for that app doesn't allow you to perform this operation in portions, you should look into the server configuration files for something to do with the allowed memory. Beware how much you allow it to have though.

    Strange error though. That's usually only a result of infinite loops.

    Comment

    • spereira
      New Member
      • Jun 2007
      • 4

      #3
      Originally posted by volectricity
      The problem is that a your server isn't allowed to use that much memory in one request. If the documentation for that app doesn't allow you to perform this operation in portions, you should look into the server configuration files for something to do with the allowed memory. Beware how much you allow it to have though.

      Strange error though. That's usually only a result of infinite loops.
      -----------------------
      Thanks, have you used this class.pdf.php file?
      or let me put it this way, do you know any good free php library which I can use with PHP?
      Stellus

      Comment

      • kovik
        Recognized Expert Top Contributor
        • Jun 2007
        • 1044

        #4
        There's a good one on SourceForge, but that's as far as I know.

        Comment

        Working...