SitePoint Sponsor

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 57
  1. #26
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks a lot for the help so far!

    I'm sure Kevin will chime in soon. Mine and CMW's cases are probably not the first about this!
    I build WordPress with the Volatyl Framework.

  2. #27
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Going to move you over to the main PHP forum where you should get more answers
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #28
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks a lot. I was wondering about that but it's now my thread lol.
    I build WordPress with the Volatyl Framework.

  4. #29
    SitePoint Enthusiast
    Join Date
    May 2009
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think your php.ini is not configured properly.

  5. #30
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you give us more info? Two of us have posted our php.ini files. What seems wrong to make you say that?

    Thanks
    I build WordPress with the Volatyl Framework.

  6. #31
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ScallioXTX,
    First, thank you, very much, for your help.
    Just one more question, however.
    Are you able to get this set of instructions to work on your computer?
    For that matter, has anyone? If so, what is the difference between their working environment and ours? OS, browser, configuration, what?
    We are missing something, here.
    Thanks, again.
    CMW

  7. #32
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,097
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    I haven't tried it on my computer, since I don't run PHP on my windows machine.
    I run it on a linux machine and I'm pretty sure that the linux machine and the windows php.ini don't agree
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  8. #33
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,097
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    Well, I was reading through the PHP manual just now and I think I found your problem. It seems PHP is not able to find the libmysql.dll file (should be somewhere in your php directory).

    Long explanation
    In order to make PHP find this file you need put it in a directory that it is in your windows PATH.
    If you don't know what the windows PATH is you can read the section "Installation on Windows systems" on this page, where there is an explanation on the windows PATH.

    Short explanation
    Throw libmysql.dll in your c:\windows\system directory and restart apache (however as the php website points out this is not the recommend approach.)
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  9. #34
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ScallioXTX,
    I approached this suggestion with caution and copied the libmysql.dll file into the C:/Windows as opposed to the C:\Windows\system and IT WORKED!!!
    Hey, SDavis, maybe you should try this.

    Thank you, ScallioXTX. You are great and greatly appreciated.

  10. #35
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CMW what version of PHP are you running?
    I build WordPress with the Volatyl Framework.

  11. #36
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sdavis,

    Version 5.2.10

    Can you get it working?

  12. #37
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    Join Date
    Feb 2004
    Location
    Tampa, FL (US)
    Posts
    9,854
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    instead of copying the libmysql.dll file to c:\windows, you can instead copy it to the apache\bin directory. this keeps your windows directory clean.
    Check out our new Industry News forum!
    Keep up-to-date with the latest SP news in the Community Crier

    I edit the SitePoint Podcast

  13. #38
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CMW It's really late here (I'm in Iraq right now) and as I read, I fall asleep lol. I will have to try the suggestions out tomorrow. I also appreciate everyone's help, though!
    I build WordPress with the Volatyl Framework.

  14. #39
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good luck,sdavis. That is not the best place to be right now. My thoughts are with you.
    Hope things work out (on all levels).
    CMW

  15. #40
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks a lot man I appreciate it. Still no luck though.
    I build WordPress with the Volatyl Framework.

  16. #41
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm good to go now. I uninstalled Apache and MySQL and installed WAMP. Though the book says not too (suggests not to atleast), you can still function. Thanks for the help!
    I build WordPress with the Volatyl Framework.

  17. #42
    SitePoint Enthusiast
    Join Date
    Aug 2009
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    MySQL must not be running, or you are using the wrong username/password, or wrong port or something.

    Download and install HeidiSQL. This is a free GUI front-end to MySQL for Windows.

    http://www.heidisql.com/

    Once you get it installed, connect. If it connects, you know MySQL is working.

    If you haven't changed the password, use username "root", and password blank.

  18. #43
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Kronso, is this in response to the most recent posts or a response to the problems CMW and I were having before?
    I build WordPress with the Volatyl Framework.

  19. #44
    SitePoint Enthusiast
    Join Date
    Aug 2009
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello! Sorry about that. My response was to CMW. It just seems to me that's a good way to test a database connection.

    Regards,
    kronso

  20. #45
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Kronso,
    Thank you. Whether Mysql was running could have been and was a key factor. Checking the php.ini as advised by ScallioXTX was also excellent and finally moving libmysql.dll file to an accessable directory resolved the issue. Long necks suggestion to move it to apache\bin directory was appeciated and followed. Sounds like sdavis is running now and that is good.
    Thanks to all of you for a rewarding and enlightening experience.

    Is there some protocol I should be following now that this issue has been resolved?

    Thanks again,
    CMW

  21. #46
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I read all the posts. The suggestions did not work. I reinstalled MySQL and Apache. Now I don't even get a error message anymore although the index.php file was opened: I put in an extra message, and the source code confirmed the opening of the file.
    I installed phpMyAdmin (p. 314) to find out if I can connect with the mysql database. The phpMyAdmin window (figure 10.1) reported aside form the warning about the mcrypt extension also a message 'cannot load the mysql-extension'.
    Can sombody help me please?
    Thanks Antoon.

  22. #47
    SitePoint Enthusiast
    Join Date
    Aug 2009
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Antoon, you didn't say what OS you are running. If it is Windows, your PHP directory should have a subdirectory called 'ext'. That subdirectory should contain a DLL that has the driver that allows PHP to connect to MySQL. For example: php_mysql.dll.

    If in doubt, use the PHP installer EXE file for Windows. As you go through the installation process, make sure to check the items for MySQL and PDO. That way they will be installed.

  23. #48
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problem Kronso... it looks like you can still help someone though.
    I build WordPress with the Volatyl Framework.

  24. #49
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello kronso and sdavis,
    Thanks for the responses.

    I spent a couple of hours checking everything, and going through all Kevin wrote in his book. And then, when no warnings appeared I discovered a spelling error in my php-file (ouput in stead of output, and ijbd in stead of ijdb). So I could connect with mysql and the joke database.
    As for the problem I encountered with phpMyAdmin, I leave that for the appropriate moment.
    Right now, I'll cary on with p. 123.
    Tahnks again and geretnigs form Antoon.

    PS I suppose there is a time difference. As far as I know, I mailed the above respons sometime late at night. At this moment it is 6 pm (18.00) in Holland.

  25. #50
    SitePoint Zealot sdavis2702's Avatar
    Join Date
    Sep 2007
    Location
    Austin, TX
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm in Iraq. There are plenty of time differences in this one thread lol.

    Congrats on getting everything straightened out. I'm currently on page 197... the start of Chapter 7. I don't know if this book could have been written any better... seriously.
    I build WordPress with the Volatyl Framework.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •