WordPress.org

Ready to get started?Download WordPress

Forums

Local installation of WordPress, PHP and MySQL errors. (5 posts)

  1. Opethian
    Member
    Posted 9 years ago #

    Good day to everyone!

    What I want is to setup a server locally to try work with WordPress, so I can develop my own themes, and possible customize it to my preference. Unfortunately, just setting up a working environment locally for WordPress to work on seems to be taking to long on my end, which is why I am here troubling anyone who would care to help me set it up.

    Also, I want to say that the documentations for all the programs have never been clearer, although even after following them thoroughly, I still have yet to run PHP "and" MySQL together locally.

    I do not have basic knowledge of PHP or even MySQL for that matter, and I only learn by trying and testing sample codes I get at resource sites.

    I installed the corresponding programs at:

    • * Apache 2.0 -> C:\apache\Apache2\
    • * PHP 5.0.4 -> C:\php\
    • * MySQL 4.1 -> C:\Program Files\MySQL\MySQL Server 4.1\
    • * ActivePerl -> c:\usr\

    I have been able to setup the wp-config values and just to be clear, I've been able to setup my own WordPress installation on an online server.

    I've set up my localhost directory at:

    • * c:\htdocs

    As I said earlier, I've followed every line of instruction for each program, although it still does not work. This is what I get when I try to run WordPress 1.5 by typing in "http://localhost/wordpress" in a browser:

    "Your PHP installation appears to be missing the MySQL which is required for WordPress."

    This occurs even if my PHP configuration has the necessary extensions uncommented and the corresponding files copied to the WINNT folders(system, system32, WINNT).

    I tried my luck with phpMyAdmin 2.6.2 also, and this is what I get:

    "Cannot load MySQL extension. Please check PHP configuration."

    Which to me means that it can't load it because either it can't see it, or it won't because of some other reason I should know of.

    There's a lot of reasons that I'm toying with around right now like say:

    • * I need to use an earlier version of PHP, MySQL and Apache.
    • * I need to install MySQL near the root C: directory(folder).
    • * I simply cannot make it to work unless I install something else.
    • * Buy a book(hah! I knew that would be easier, but hey, I'm short on cash...)

    I hope somebody else out there might be familiar with my situation and can get me on the right track here.

    Any help is most welcome!

  2. vkaryl
    Member
    Posted 9 years ago #

    If you go to http://www.apachefriends.org/en/xampp.html and download the current xampp distro, and get it installed, you'll find that they all play just fine together.

  3. Opethian
    Member
    Posted 9 years ago #

    Thank you so much! I will hope for the best to try and install this a bit later, this is greatly appreciated!

  4. vkaryl
    Member
    Posted 9 years ago #

    Believe me, if I can get xampp working first try, anyone can! The docs are pretty good.... they have a super support forum IN ENGLISH as well, at http://www.apachefriends.org/f/viewforum.php?f=16

  5. Opethian
    Member
    Posted 9 years ago #

    I just want to give feedback that I downloaded XAMPP, unzipped it at home, and was able to work with it within minutes! Thanks a lot vkaryl!

    I'd recommend this to anyone who wants to develop websites locally.

Topic Closed

This topic has been closed to new replies.

About this Topic