Title: 4oo4's Replies | WordPress.org

---

# 4oo4

  [  ](https://wordpress.org/support/users/4oo4/)

 *   [Profile](https://wordpress.org/support/users/4oo4/)
 *   [Topics Started](https://wordpress.org/support/users/4oo4/topics/)
 *   [Replies Created](https://wordpress.org/support/users/4oo4/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/4oo4/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/4oo4/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/4oo4/engagements/)
 *   [Favorites](https://wordpress.org/support/users/4oo4/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form & SMTP Plugin for WordPress by PirateForms] Nginx 405 Error when Submitting Form](https://wordpress.org/support/topic/nginx-405-error-when-submitting-form/)
 *  Thread Starter [4oo4](https://wordpress.org/support/users/4oo4/)
 * (@4oo4)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/nginx-405-error-when-submitting-form/#post-8272400)
 * I ended up finding a solution, turns out my memcached wasn’t set up to properly
   set up to handle 405 errors.
 * In nginx.conf, I changed `error_page 404 502 504 = @fallback;` to `error_page
   404 405 502 504 = @fallback;` and it started accepting the POST requests.
 * Thanks for looking!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [XML-RPC 500 Error – Ubuntu 16.04 (nginx/php-fpm)](https://wordpress.org/support/topic/xml-rpc-500-error-ubuntu-16-04-nginxphp-fpm/)
 *  Thread Starter [4oo4](https://wordpress.org/support/users/4oo4/)
 * (@4oo4)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/xml-rpc-500-error-ubuntu-16-04-nginxphp-fpm/#post-8170915)
 * Found my solution. It turns out that my `php7.0-xml` package wasn’t installed
   correctly, per this:
    [http://www.tecfused.com/2016/09/php-fatal-error-uncaught-error-call-undefined-function-xml_parser_create/](http://www.tecfused.com/2016/09/php-fatal-error-uncaught-error-call-undefined-function-xml_parser_create/)
 * `php7.0-xml` was “installed”, but not showing up under my php modules when I 
   ran `php -m`, so purging it and reinstalling it fixed it: `sudo apt-get purge
   php7.0-xml && sudo apt-get install php7.0-xml`
 * [@t-p](https://wordpress.org/support/users/t-p/), thanks again for the help!
    -  This reply was modified 9 years, 9 months ago by [4oo4](https://wordpress.org/support/users/4oo4/).
    -  This reply was modified 9 years, 9 months ago by [4oo4](https://wordpress.org/support/users/4oo4/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [XML-RPC 500 Error – Ubuntu 16.04 (nginx/php-fpm)](https://wordpress.org/support/topic/xml-rpc-500-error-ubuntu-16-04-nginxphp-fpm/)
 *  Thread Starter [4oo4](https://wordpress.org/support/users/4oo4/)
 * (@4oo4)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/xml-rpc-500-error-ubuntu-16-04-nginxphp-fpm/#post-8170730)
 * Thanks for the quick response.
 * I did test this again with all my plugins deactivated, and I’m getting this in
   my nginx error log whether the plugins are activated or deactivated:
 *     ```
       2016/09/11 13:40:02 [error] 2942#2942: *137 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /home/user/selfhost/html/wp-includes/class-IXR.php:264
       Stack trace:
       #0 /home/user/selfhost/html/wp-includes/class-IXR.php(464): IXR_Message->parse()
       #1 /home/user/selfhost/html/wp-includes/class-IXR.php(432): IXR_Server->serve('<?xml version='...')
       #2 /home/user/selfhost/html/wp-includes/class-IXR.php(440): IXR_Server->__construct(Array, false, false)
       #3 /home/user/selfhost/html/wp-includes/class-wp-xmlrpc-server.php(197): IXR_Server->IXR_Server(Array)
       #4 /home/user/selfhost/html/xmlrpc.php(84): wp_xmlrpc_server->serve_request()
       #5 {main}
         thrown in /home/user/selfhost/html/wp-includes/class-IXR.php on line 264" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: mysite.com, request: "POST /xmlrpc.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "mysite.com"
       ```
   
 * In response to your question about .htaccess files, I don’t use them since I’m
   using nginx and I have all my configuration in the pastebin links above.
 * I also tried the app login with a different theme but got the same result.
 * Let me know if there’s anything else for me to try or other info to grab.
 * Thanks!
    -  This reply was modified 9 years, 9 months ago by [4oo4](https://wordpress.org/support/users/4oo4/).

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