Title: PHP4-&gt;PHP5 Admin non functional
Last modified: August 19, 2016

---

# PHP4->PHP5 Admin non functional

 *  Resolved [murky](https://wordpress.org/support/users/murky/)
 * (@murky)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/php4-php5-admin-non-functional/)
 * At the urging of the Codex, I hit the switch to go from PHP4 to 5 on hostmonster.
 * The site still works, but am now getting this error when trying to get the to
   admin pages..
 * Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
   122880 bytes) in %%path removed%%/wp-admin/menu.php on line 82
 * CPanel has no option to switch back to PHP4
 * Am at a bit of a loss now.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/php4-php5-admin-non-functional/#post-1634996)
 * Here are four ways to increase PHP’s memory allocation:
     
 *     ```
       1. If you have access to your PHP.ini file, change the line in PHP.ini
       If your line shows 32M try 64M:
       memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
        
       2. If you don't have access to PHP.ini try adding this to an .htaccess file:
       php_value memory_limit 64M
        
       3. Try adding this line to your wp-config.php file:
       Increasing memory allocated to PHP
       define('WP_MEMORY_LIMIT', '64M');
        
       4. Talk to your host.
       ```
   
 *  Thread Starter [murky](https://wordpress.org/support/users/murky/)
 * (@murky)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/php4-php5-admin-non-functional/#post-1634997)
 * Sorted. php.ini needed to be updated

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP4->PHP5 Admin non functional’ is closed to new replies.

## Tags

 * [hostmonster](https://wordpress.org/support/topic-tag/hostmonster/)
 * [menu.php](https://wordpress.org/support/topic-tag/menu-php/)
 * [php4](https://wordpress.org/support/topic-tag/php4/)
 * [php5](https://wordpress.org/support/topic-tag/php5/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [murky](https://wordpress.org/support/users/murky/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/php4-php5-admin-non-functional/#post-1634997)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
