Title: Apache errors on migration
Last modified: March 4, 2026

---

# Apache errors on migration

 *  Resolved [ete](https://wordpress.org/support/users/ete/)
 * (@ete)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/apache-errors-on-migration/)
 * After migrating hosting, AIOS is exhibiting Apache errors related to wrong paths
   not being found.
 * In other words, AIOS still tries to look on paths of old hosting which are different
   than on new hosting; like /home or /public_html

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

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/apache-errors-on-migration/#post-18841018)
 * Hi [@ete](https://wordpress.org/support/users/ete/),
 * Can you please downgrade the firewall using AIOS > Firewall > Advanced settings?
   It may be related to firewall settings using an old path in the aios-bootstrap.
   php file at the root of the WordPress install.
 * If it’s still an issue, can you please provide details of the error here or on
   [https://pastebin.com/](https://pastebin.com/), so I can cross-check in detail.
 * Regards
 *  Thread Starter [ete](https://wordpress.org/support/users/ete/)
 * (@ete)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/apache-errors-on-migration/#post-18841056)
 * Hi,
 * Thank you very much for the quick reply.
 * Here is a detail of the errors (for privacy here the pasted paths errors have
   been edited with YOURDOMAIN.COM and XXXXXX):
   AH01071: Got error ‘PHP message:
   PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/XXXXXX/
   public_html/wp-config.php) is not within the allowed path(s): (/var/www/vhosts/
   YOURDOMAIN.COM/:/tmp/) in /var/www/vhosts/YOURDOMAIN.COM/httpdocs/wp-content/
   plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-
   utility.php on line 80; PHP message: PHP Warning: file_exists(): open_basedir
   restriction in effect. File(/home/XXXXXX/wp-config.php) is not within the allowed
   path(s): (/var/www/vhosts/YOURDOMAIN.COM/:/tmp/) in /var/www/vhosts/YOURDOMAIN.
   COM/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/
   wp-security-firewall-utility.php on line 82; PHP message: PHP Warning: file_exists():
   open_basedir restriction in effect. File(/home/XXXXXX/public_html/wp-config.php)
   is not within the allowed path(s): (/var/www/vhosts/YOURDOMAIN.COM/:/tmp/) in/
   var/www/vhosts/YOURDOMAIN.COM/httpdocs/wp-content/plugins/all-in-one-wp-security-
   and-firewall/classes/firewall/libs/wp-security-firewall-constants.php on line
   66’, referer: [https://www.YOURDOMAIN.COM](https://www.YOURDOMAIN.COM)
    -  This reply was modified 3 months, 1 week ago by [ete](https://wordpress.org/support/users/ete/).
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/apache-errors-on-migration/#post-18841860)
 * Hi [@ete](https://wordpress.org/support/users/ete/)
 * As you have migrated from another site please cross check the **aios-bootstrap.
   php** file in root of the WordPress install
 * It will have the **ABSPATH**, which might be of the old server /home/XXXXXX/public_html/
   instead var/www/vhosts/YOURDOMAIN.COM/httpdocs/
 * downgrade then activate the firewall using AIOS > Firewall > Advanced settings,
   tried? It should rewrite that **ABSPATH** and solve this issue.
 *  Thread Starter [ete](https://wordpress.org/support/users/ete/)
 * (@ete)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/apache-errors-on-migration/#post-18842179)
 * Hi,
 * Impressive! That seems to have completely solved the errors. So far so good not
   a single further Apache error.
   Thank you!

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fapache-errors-on-migration%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ete](https://wordpress.org/support/users/ete/)
 * Last activity: [3 months, 1 week ago](https://wordpress.org/support/topic/apache-errors-on-migration/#post-18842179)
 * Status: resolved