• Resolved andrewdonoho

    (@andrewdonoho)


    Folks,

    I am a brand new user of WordPress. When I installed it I ran into a problem which I overcame. Upon installation, I could not open up the install script (wp-admin/install.php). All I got was a blank page.

    After doublechecking my installation of PHP, MySQL and Apache. I checked my Apache error log and saw the following entry:

    [client 192.168.1.1] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /home/awd/public_html/blog/wp-admin/upgrade-schema.php on line 322
    Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes)

    That message is a strong clue. PHP is running out of memory. Since this is running on an AMD64/EMT-64 based Fedora Core 4 Linux box, there is a common problem with most scripting languages: their default memory allocations are too small. I have seen this with multiple different subsystems.

    In PHP you solve this by opening up /etc/php.ini and editing the following line:

    memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

    WordPress is exceeding this 8 MB limit. To solve this problem, I just doubled it to 16 MB (memory_limit = 16M). Then you restart Apache (sudo /etc/init.d/httpd restart).

    Once I had done that edit, everything in WordPress just fired on up. I hope this post helps others install WordPress.

    Andrew

Viewing 1 replies (of 1 total)
  • I spent two hours struggling with this issue and probably would have given up if I hadn’t found your post. This fix worked beautifully. THANKS!!

Viewing 1 replies (of 1 total)
  • The topic ‘Blank Pages on Install (with solution)’ is closed to new replies.