Cannot redeclare class Config in /Applications/XAMPP/xampfiles/lib/php/Config.ph
-
I am trying to install a local version of a wordpress site that is hosted at Bluehost.
1. I start fresh with a brand new installation of XAMPP.
2. I make sure Apache and MySQL are running, but leave ProFTPD not running
3. I use phpMyAdmin to create a new user with a database of the same name as the user. I remember the password and set it to have access from localhost.
4. I create a directory at htdocs called “local_installation”
5. I run chmod 777 on the htdocs/local_installation directory so that read/write/execute access is available.
6. I download the installer.php and the package.zip files
7. I unzip package.zip and move the files into htdocs/local_installation
8. I place installer.zip in htdocs/local_installation
9. I make sure I get rid of the .htaccess file, which causes problems for wordpress sites coming from Bluehost.
10. I edit wp_config.php and make sure that the username, database name, and password are correct.
11. I navigate to localhost/local_installation and I see a page prompting me to set up a new wordpress site – this is expected since I have unzipped package.zip into that directory.
12. I navigate to localhost/local_installation/installer.php and I am presented with the page for the installer to run. I am informed that my system requirements pass.
13. I set the username, database name, and password and check the connection. It passes.
14. I click on Advanced Options and select manual package extraction and then agree to the conditions. I also check “Table Removal”, although that shouldn’t matter at this juncture.
15. I click on “Run Deployment” and everything proceeds as expected – the installer moves to step 2.
16. From the 2nd page of the installer I click on “Run Update”. It runs as expected and tells me that there are 0 deploy errors, 0 update errors, and 0 warnings.
17. I am presented with a couple of “final steps” from page 3 of the installer, the first of which is “resave permalinks”.
18. I click on “resave permalinks” and I get the following error:Fatal error: Cannot redeclare class Config in /Applications/XAMPP/xamppfiles/lib/php/Config.php on line 44
I have been unable to proceed past this point.
- The topic ‘Cannot redeclare class Config in /Applications/XAMPP/xampfiles/lib/php/Config.ph’ is closed to new replies.