richarduk
Member
Posted 5 years ago #
Perhaps this would be better in a Xampp forum but I thought I'd try here first.
When I go to the install.php I get this (and more besides)
wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file."); require_once('../wp-config.php')
I have completely different database names and directory structures to my previous version of WP (I had to uninstall it all before updating XAMPP) - I have the feeling that somehow something is going on in the background still but I can't think what it could logically be ...
If you don't have a wp-config.php file you will see that message.
See:
http://codex.wordpress.org/Editing_wp-config.php
richarduk
Member
Posted 5 years ago #
But I DO have a wp-config file, that's the problem!
wp-config.php usually resides in the same directory level as wp-admin, wp-content, and wp-includes folders.
Is that how you are seeing it?
richarduk
Member
Posted 5 years ago #
Yep.
I wish I hadn't upgraded XAMPP now :-)
Is it possible to have databases running in the background that I don't know of? No, scratch that question, it sounds too stupid
Just for grins sake, can you use phpMyAdmin that comes with xampp to look at your database(s)?
That may be a stupid question but at least it takes WordPress out of the equation and makes sure that PHP and MYSQL are functioning correctly.
richarduk
Member
Posted 5 years ago #
Yep, no problem there. Obviously they're all blank at the moment
richarduk
Member
Posted 5 years ago #
When I uninstalled XAMPP I didn't turn off Apache correctly - I reckon it must be something to do with that, but I have no idea what to do now.
Does this XAMPP distro have some 5.+ versions of php and mysql? There was another post here a day or so back about wp not playing nicely with a 5.+ version of mysql, I think....
richarduk
Member
Posted 5 years ago #
Yes, it does - it's the latest and greatest
The XAMPP 1.5.4a is available!
New:
* Apache 2.2.3
* MySQL 5.0.24a
* PHP 5.1.6 & PHP 4.4.4
* phpMyAdmin 2.9.0.1
* FileZilla FTP Server 0.9.18
* OpenSSL 0.9.8d
richarduk
Member
Posted 5 years ago #
I haven't read this in great detail yet but I've found a thread over at the XAMPP forums that seems to detail my problem so that could be it, it doesn't play nicely.
Got to read it all though and see if there's any other stuff
http://www.apachefriends.org/f/viewtopic.php?t=20278&highlight=wordpress
Try reading this thread: http://wordpress.org/support/topic/52753 - and also search for mysql 5 using the search box.... various topics which may clarify the situation, not sure they'll help.
richarduk
Member
Posted 5 years ago #
Thankx!
This stuff should have been fixed a while ago looking at that post and others, so either my installation has been buggy or the October 5th 2006 version of Xampp has introduced something new and nasty (and I don't mean that like it sounds, I mean something unknown) that WP doesn't like.
Oh well.
I hear easyPHP is a good alternative to XAMPP? Any ideas ? Is this true?
Don't know, never used anything but XAMPP (since about beta .5 or so....) - I never upgrade until there's something I REALLY need, so now that I know this, I won't bother.
I would assume that the reason this isn't "mission critical" to the wp dev cycle is that most server hosting hasn't upgraded mysql to anything that new yet. For instance, my host provider isn't doing mysql 5 for a while yet, since they're fully aware there may be critical problems with the php scripts we all use if they do so.
richarduk
Member
Posted 5 years ago #
Ditto, I wasn't going to upgrade but then I wanted Drupal on my machine as well plus lots of other things and the thing with Xampp is that upgrading means uninstalling and reinstalling (at least it used to) so I thought it was better to do it now ...
My host hasn't got mysql5, php5 yet because of issues etc. etc.
I'm going to have a look at WAMP to start with
I never uninstall/reinstall - just overwrite the in-place install, and make any needed changes to httpd.conf; never had a problem.
richarduk
Member
Posted 5 years ago #
For users coming across this thread in the next year, there are identical problems when using WAMP
[11/02/2006] - WAMP5 1.6.6 : with PHP 5.2.0
Live from the Zend/PHP conference in San Jose CA I propose you a new release of WAMP5 including the very lastest version of PHP 5.2.0. This release also includes MySQL 5.0.27 and the latest version of phpmyadmin.]
So it seems to be a PHP/MYSQL thing.
Fortunately I have an old version of XAMPP that I've rescued from the recycle bin
richarduk
Member
Posted 5 years ago #
Addendum: I might have dropped a clanger.
In reinstalling Xampp there's the facility to start mysql and apache running in the control panel.
Which I probably didn't.
Oops.
I probably had it running on atuo previously, if I can find that control again
Yeah that's real confusing. Earlier I asked if you could use phpMyAdmin to see your databases and I didn't think you could do that if the xampp (in particular Apache and MySql) weren't running.
So are you saying it now DOES work?
richarduk - there's two batch files to set apache and mysql to start as services. You should find them in the apache folder: apache_installservice.bat; and in the mysql folder: mysql_installservice.bat