Wednesday, 30 September 2015

Secure Waaaaaaaaamp.....

Holy buckets, well at least finding solutions to dumb issues is good. As long as I document it all...

Having lost my WAMP server data as previously mentioned, the decision to completely freshly install Secure WAMP seemed logical.

Installed the package, which is a nice gui front end giving you options to install/control Apache/PHP and MySql. Needed things, yes..

Oh I had forgotten the problems of MySql, why I have always avoided it.. Upon attempting to log into PhpMyAdmin, I am greeted with the error that I cannot connect to the MySql Database using the root+password credentials. Why? Hmmm..

Check everywhere, no MySql installed, no Apache/PHP installed prior. So I uninstall Secure WANK and try again. Now I cannot even install or start Apache. And worse, the stupid GUI hangs on an error message partially hidden after scrolling on by, and I cannot check this as the GUI is hung. I need to force close the thing.. no Logs whatsoever.

Try again, different location. Same thing. Try MySql first this time, and then I see an error relating to the database. WHAT DATABASE?

I install MySql Workbench and lo and behold, the god damned database is still there, or referenced..... Ugh Bells ring, I remember this from over a decade ago.

Uninstalling MySql does not remove the databases. Ok, so i manually remove every trace.

Same error... Please for the love of god, this should not be this hard, I know I am not the best when it comes to this, but this is a self contained package that should be as simple as install and configure.. not trouble shoot the install...

Hmm, just for a laugh I check services.msc - holy flaming parrots, there is a dead MySql service AND a dead ApacheServer service.

Quickly dropping to an Admin command prompt :

sc delete MySql > suyccess
sc delete ApacheServer > success

I run crapcleaner just to make sure nothing is going to bother me. Its done.

Try the install once more.. Ha.. not an issue.

Install Apache/PHP > success.
Install MySql > success.

Log into PhpMyAdmin, and viola, I am in. an outdated PhpMyAdmin and PHP, however reveal to me that there are components disabled...

I retrieve and unarchive the latest PhyMyAdmin, rename the old PhpMyAdmin folder to .OLD and copy the new contents into PhpMyAdmin. I copy over the config.inc.php file, and on accessing PhpMyAdmin, I am greeted with :

Requires PHP 5.5.x

This is so damn tedious...

Rename PHP to PHP.OLD and download the latest PHP package for Windows 32bit stable, unarchive it into a new PHP folder and copy over the config file.

Now, running PhpMyAdmin, I am seeing it all, with the error, still, that some features are disabled.

I need to run the CreateTables.sql script in the PhpMyAdmin/SQL folder. I Import it using PhpMyAdmin, and it seems successful.

Fresh access of PhpMyAdmin, and holy buckets, it's working.

One thing to be said for WAMP - none of this was an issue.
Secure WAMP might be more secure, but I am not sure if I have broken anything by fixing outdated things. Ehhh. I dont give two flying poots...

:( Now to re-install AJAX Chat, wordpress is old hat on windows, at least getting a basic blog up.


No comments:

Post a Comment