Title: PHP Error
Last modified: April 8, 2025

---

# PHP Error

 *  Resolved [Toygar Niron](https://wordpress.org/support/users/tniron/)
 * (@tniron)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-error-686/)
 * Hello,
 * I am going to do maintenance on my client’s website but I could not start working
   because I could not get a backup. I am sending the error message I received as
   an attachment. I request your support or guidance on this matter.
 * SplFileInfo::isFile(): open_basedir restriction in effect. File(/home/premionly.
   com/public_html/wp-content/db.php) is not within the allowed path(s): (/tmp:/
   home/premionly.com/)
 * Tank you,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-686%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Yani](https://wordpress.org/support/users/yaniiliev/)
 * (@yaniiliev)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/php-error-686/#post-18417477)
 * Hi there 👋
 * Thanks for reaching out, and great job trying to back up before starting maintenance–
   that’s a smart move!
 * The error you’re seeing is related to your server’s open_basedir restriction,
   which limits file access to certain directories for security reasons. In this
   case, the plugin is trying to access a file (db.php) that’s located outside the
   allowed paths.
 * Here’s how you can move forward:
    1. If you have access to your hosting panel(
   like cPanel or Plesk), look for open_basedir settings in PHP configuration and
   try adding /home/premionly.com/public_html/ to the allowed paths – if you’re 
   allowed to. 2. If you can’t change the open_basedir setting yourself, your hosting
   provider should be able to do it for you. Just let them know the plugin needs
   access to /home/premionly.com/public_html/wp-content/db.php. 3. If db.php was
   added by a plugin (like a database manager or cache tool), you can try temporarily
   renaming or removing it to see if the backup completes — but only do this if 
   you’re sure it’s not critical or you have a copy.
 * Let me know how it goes or if you need help with the next steps! 😊
 *  Thread Starter [Toygar Niron](https://wordpress.org/support/users/tniron/)
 * (@tniron)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/php-error-686/#post-18419200)
 * Hello Yani,
 * Thank you for the instructions. I have solved the problem and can now take backups.
 * Thank you for your support,

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

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-migration/assets/icon-256x256.png?rev=2458334)
 * [All-in-One WP Migration and Backup](https://wordpress.org/plugins/all-in-one-wp-migration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-migration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-migration/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-migration/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Toygar Niron](https://wordpress.org/support/users/tniron/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/php-error-686/#post-18419200)
 * Status: resolved