Title: error 500 with php7
Last modified: September 1, 2016

---

# error 500 with php7

 *  [ivanomino](https://wordpress.org/support/users/ivanomino/)
 * (@ivanomino)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/)
 * Hi, when i try to use your plugin with PHP7, after login credentials i am getting
   error 500. It seems that your plugin is not compatible with php7.
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

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

 *  [José](https://wordpress.org/support/users/alquimia/)
 * (@alquimia)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717316)
 * Olá,
    I have the same problem to.
 * Please fix
 * Thank You
 *  [José](https://wordpress.org/support/users/alquimia/)
 * (@alquimia)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717318)
 * in PHP 5.6 i have the same problem to.
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717321)
 * @ivanomio & [@jos](https://wordpress.org/support/users/jos/)é
 * Check your web server error_log for any errors.
 * Oh and what web server and what version of that web server are you using ?
 * dwinden
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717322)
 * **[@jos](https://wordpress.org/support/users/jos/)é**: This is not your topic.
   If you require assistance then, as per the [Forum Welcome](https://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please [post your own topic](https://wordpress.org/support/plugin/better-wp-security).
 *  [José](https://wordpress.org/support/users/alquimia/)
 * (@alquimia)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717328)
 * Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate
   48235552 bytes) in /home/…/public_html/domain.com/directory/plugins/better-wp-
   security/core/modules/backup/class-itsec-backup.php on line 153
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717329)
 * [@jos](https://wordpress.org/support/users/jos/)é
 * Disable the **Database Backups** module.
 * dwinden
 *  [José](https://wordpress.org/support/users/alquimia/)
 * (@alquimia)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717330)
 * [@dwinden](https://wordpress.org/support/users/dwinden/)
    Thank You
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717331)
 * FWIW, this is usually a site/hosting issue – not a plugin one.
 * There are three ways to increase PHP’s memory allocation:
 * 1. If you can edit or override the system `php.ini` file, increase the memory
   limit. For example, `memory_limit = 256M`
 * 2. If you cannot edit or override the system `php.ini` file, add `php_value memory_limit
   256M` to your `.htaccess` file.
 * 3. If neither of these work, it’s time to ask your hosting provider to temporarily
   increase PHP’s memory allocation on your account.
 *  [José](https://wordpress.org/support/users/alquimia/)
 * (@alquimia)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717332)
 * [@esmi](https://wordpress.org/support/users/esmi/)
 * I have put memory_limit = 512M
 *  Thread Starter [ivanomino](https://wordpress.org/support/users/ivanomino/)
 * (@ivanomino)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717336)
 * There is an offtopic post here.
    However, is your plugin compatible with PHP7
   or not ? I am getting error 500 when using php7 on backend
 *  [mykeyasar](https://wordpress.org/support/users/mykeyasar/)
 * (@mykeyasar)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717401)
 * >  **José** – Fatal error: Allowed memory size of 536870912 bytes exhausted (
   > tried to allocate 48235552 bytes) in /home/…/public_html/domain.com/directory/
   > plugins/better-wp-security/core/modules/backup/class-itsec-backup.php on line
   > 153
 * Same error has occurred on my site also.
    and there will be a 0.5% of downtime
   on my server. While accessing the website, it shows 500 error, but it will be
   ok after a refresh.
 * Disabled the ‘Backup module’ like **dwinden** mentioned. Seems its resolved now.
   
   Thanks.

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

The topic ‘error 500 with php7’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 11 replies
 * 5 participants
 * Last reply from: [mykeyasar](https://wordpress.org/support/users/mykeyasar/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/error-500-with-php7/#post-7717401)
 * Status: not resolved