SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Memory size exhausted when Apache = 80 and MySQL port = 3306 is set

    Hi there,

    I am still new to MySQL but I really appreciate your help on this matter.

    I receive the following error message when I click on "phpMyAdmin" and set the Apache port = 80 and MySQL Port = 3306 (standard ports). Before it worked perfectly well, the error message just popped up. Even after new installation of MAMP is stays.

    ERROR MESSAGE:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2597702 bytes) in /Applications/MAMP/bin/phpMyAdmin/libraries/Error.class.php on line 156

    However, if I set the ports to Apache = 8888 and MySQL = 8889 I do not receive the error message. Therefore, I don't think this is a php problem. I have attached the lines out of error.class.php

    And I am running on a local server where I have 100% control over it.

    Maybe any cache which needs to be deleted?

    Kind regards!

    screenshot.png

  2. #2
    Barefoot on the Moon! silver trophy
    Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,516
    Mentioned
    51 Post(s)
    Tagged
    1 Thread(s)
    Find your php.ini file and increase the memory_limit variable to 64MB.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •