Title: Adding media generates server error
Last modified: August 20, 2016

---

# Adding media generates server error

 *  Resolved [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/adding-media-generates-server-error/)
 * Version: 3.6-alpha-23400
    Clicking on the add media button works as expected 
   but on the server this message is generated in my error log. `[12-Feb-2013 11:
   23:21] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at'/
   usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so') - try reinstalling
   the Zend Optimizer in Unknown on line 0`
 * My host, Dot5, says
 * > I have added the zend_optimizer code for your account.

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 4 months ago](https://wordpress.org/support/topic/adding-media-generates-server-error/#post-3462714)
 * What version of PHP are you using? 5.2.what?
 * Did it go away with Zend being added?
 *  Thread Starter [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/adding-media-generates-server-error/#post-3462768)
 * PHP is 5.3.13. [edit according to the host. The Open Hook plugin says it is 5.2.17]
 * > Did it go away with Zend being added?
 *  No the message still gets written to a file called error_log in the wp-admin
   folder as soon as I click on the add media button. I was mistaken that was the
   server log. The server log for that same time (I think) says this.
    `[12/Feb/
   2013:00:23:35 -0500] "POST /wp-admin/admin-ajax.php HTTP/1.0" 200 295 "http://
   www.ourexcellentadventures.com/wp-admin/post.php?post=7830&action=edit" "Mozilla/
   5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)" 76.72.167.90--`
 * I had never noticed that file before but it was over 5MB with that same message
   going back to September 2012. There are also messages about a plugin I had that
   was not working. I put the .txt extension on it so I could read it.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 2 months ago](https://wordpress.org/support/topic/adding-media-generates-server-error/#post-3462983)
 * Two VERY belated thoughts.
 * 1) The fact that you have plugins saying 5.2 and the host saying 5.3, I think
   PHP is the hissy fit here.
 * 2) Clean out your tmp folder on the server.
 * But I really think it’s something FUBAR in PHP :/

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

The topic ‘Adding media generates server error’ is closed to new replies.

## Tags

 * [Zend Optimizer](https://wordpress.org/support/topic-tag/zend-optimizer/)

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 3 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/adding-media-generates-server-error/#post-3462983)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
