Jump to content

bondbloke

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

About bondbloke

  • Birthday 05/15/1951

Profile Information

  • Gender
    Male
  • Location
    Edinburgh - Scotland

bondbloke's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yes I sort of figured that from the PHP book I have, but still didn't notice that I got it arse about face, so to speak. A BIG THANKS
  2. Well bugger me backwards with a big stick!!!!! GENIUS I looked at that several times and had convinced myself that it was OK - a simple case of not seeing the wood for the trees! Looks like I don't need to throw myself under that bus after all - I might just open a bottle of cold white... Thanks everyone for the help, especially the genius that is wildteen88... ;D ;D
  3. PFMaBiSmAd: Have done all of those things with a net result of 0! Have attached the output of phpinfo() That passing bus is beginning to look more and more inviting... [attachment deleted by admin]
  4. Modified PATH did a restart - check Cleared browser cache - check Checked once more that I uncommented the right extensions in php.ini - check Installed php from zipped binaries package (as am aware installer is rubbish) - check Net Result = No Change PHPMyAdmin can be configured to work with either extension. How??? Just to check I have not made a booboo there... Or perhaps it would be as well to go back to the drawing board and begin from the beginning, wiping out all of the files in the process before re-installing everything... GRRRRRRRRRRRRRR!!!!!
  5. The one thing I had missed was adding my php folder to the path environment - is now done... Have made sure that the libmysql.dll is in the root of my php folder - it is... Have also checked for rogue .dll files and found none at all... Net Result = phpMyAdmin still returns:- Cannot load mysql extension. Please check your PHP configuration. Maybe I should just throw myself under a passing bus!
  6. I did say that the result was probably alcohol related, I didn't even spot the typo... I just tried again with this result:- Connecting to MySQL server... Fatal error: Call to undefined function mysql_connect() in C:\server\Apache2\htdocs\mysql.php on line 5 Which is :- mysql_connect('localhost', 'root', '******') or die(' FAILURE!<br />Error: ' . mysql_error()); So I assume that php is not making the connection due to not loading the extension. Loaded Configuration File = C:\server\php\php.ini and it is till in the php directory, I had read elswehere that moving it could cause problems, so I didn't Looking for a suitable brick wall to bang head against!
  7. Nice one, I hadn't thought of checking the it is possible to connect to MySQL... Unfortunately this does not seem to be the solution, the connection to My SQL seems fine all I get is the error|:- Parse error: syntax error, unexpected T_STRING in C:\server\Apache2\htdocs\mysql.php on line 10 which is this line:- mysql_select_db('mysql') r die(' FAILURE!<br />Error: ' . mysql_error()); still baffled (but at thisn time it may be alcohol, so I will trey again in the moprning)
  8. Ok, I checked the Apache error log and everything there seems to be fine, no mention of any mysql related errors at all... The php.ini file I am using is the one that came in the .zip file (php.ini.recommended) and which I duly renamed php.ini, then modified as per the instructions in the PHP Documentation... I have also just tried replacing the libmysql.dll as was suggested on one website I looked at, but this also has had no effect whatever. Baffled ??? ??? ???
  9. I am a relative newcomer to setting up a server, but I am by no means stupid and can follow instructions reasonably well, especially when written in an understandable form; and if I don't understand something then I google it to find the relevant information. I am trying to set up Apache, MySQL, PHP and PhpMyAdmin on my laptop in order to be able to work away with stuff whilst travelling. Now everything works well until it comes to the final stage - PhpMyAdmin... All I get from PhpMyAdmin is:- Cannot load mysql extension. Please check your PHP configuration. I have trawled many websites and forums looking for an answer and have found not one that doesn't tell me to do what I have already done: uncomment the relevant extensions, ensure the extension_dir is correctly entered in the php.ini file etc. etc. As I say I am not stupid and worked all of this out before I started, it's called forward planning; but still I get this bloody stupid error message and can't for the life of me work out what the hell is wrong... FYI I am using:- Apache 2.2_9 MySQL 5.0.5 PHP 5.2.6 PhpMyAdmin 2.11.7 HELP!!!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.