sysop1911 wrote:Ok, so I deleted the Apache folder and uninstalled the service. Then I installed the Apache 2.2.13 MSI file (with OpenSSL) into the old location (the XAMPP\apache folder). I finally got Apache working, but now the CMS doesn't work, which means the web site won't come up. None of the CMS settings were changed and I think I configured everything as it was in the Apache conf files.
So, no one here has ever upgraded one component of XAMPP before?
I wish I had visited sooner to advise you on this. . .
By upgrading ONLY Apache in this manner, several variables will be different. The configurations of Apache, PHP, and MySQL are all pre-configured to work together in a certain way in the XAMPP package and they also make references to certain settings that aren't set that way when doing a default install with any individual package.
Also, there are certain modules and each module has a particular version number that works with that particular version of Apache, meaning the new Apache has a whole different set (for the most part) of modules that the old one may or may not have had.
Newer versions of any software also has modifications to it's core functions to improve performance, security, and offer new functions and get rid of inefficient ones or vulnerable ones.
There's plenty of explanations I could go on giving about this, but the bottom line is, that is NOT the way to upgrade. Your best bet would've been backing up your Apache settings, your PHP settings, and your MySQL databases, then just doing an upgrade. I'm not even sure what version MySQL, PHP, etc 1.6.7 had, but more than likely there are even compatibility issues with the newest version of Apache. Where to go from here?
Install the latest version of XAMPP in a separate folder, then copy over your CMS files. If you're lucky, you should be able to copy your database files over to the new MySQL database that XAMPP installs by going to your old xampp folder and copying the mysql data folders over to the new one.
Example:THE OLD DIRECTORY
- Code: Select all
Let's say it contains phpmyadmin, mysql, cdcol, joomla
We DO NOT want to copy over phpmyadmin, mysql
, OR cdcol.
Nor do we copy any of the files in the data directory.
This will screw your new install up almost certainly.
Now since the joomla
folder really is the only one we need, we're going to copy only that folder and place it in the new mysql data directory.
Leave any of them you don't ABSOLUTELY have to have.
Now you can log into phpmyadmin and you should see your database now, if you got lucky and it worked fine.
Next copy your website's directory over to the new htdocs folder. Make sure the old XAMPP isn't running and then start up the new XAMPP.
Your site should be close to up and running again, minus any other configurations you may have to make, such as updating database passwords, etc. in your configuration files.
And from now on, NEVER update something like this unless you really know what you're doing, because people knowing far more than myself have spent many hours making it all work and function near-flawlessly by doing some extensive modifications to each component so it would work the way they've packaged it.