• dinonet

    (@dinonet)


    Hi, I wanted to install wordpress locally and I already have apache and php installed on my pc. Is there a tutorial for doing this manually? I can install wordpress on my web host using fantastico online but i wanted to be able to modify the design. Does anyone have any suggestions for this? Is there a point in installing wordpress with database locally just to work on design stuff and then upload to the live site? Any input would be greatly appreciated. Thanks!

Viewing 10 replies - 61 through 70 (of 70 total)
  • vkaryl

    (@vkaryl)

    First: insure that neither apache nor mysql services are started/running under windows. Control Panel/Administrative Tools/Services. Highlight apache, if started, stop it; ditto mysql.

    Open httpd.conf in a PLAIN TEXT EDITOR, like notepad2 from https://flos-freeware.ch/.

    Find ServerRoot. Change the info shown there to the full path to the apache folder. Don’t put a slash at the end of apache, and make sure you retain the double-quotes.

    Find ServerName. Make sure it says localhost, no caps, no quotes.

    Find DocumentRoot. This should be (probably, in your case) the full path to htdocs (a folder at the same level as apache in the xampp folder). Don’t put a slash, keep the double-quotes.

    Find the second instance of Directory (don’t mess with the first one!) Make the path the same as the one in DocumentRoot.

    That should be enough to get you started. Don’t just arbitrarily change things inside that file…. Once you save the file after the changes, go back to Control Panel or the xampp control widget and restart apache. Then see if you can get a browser to open https://localhost.

    marginwalker

    (@marginwalker)

    Thats all whats on the file already

    localhost:80

    vkaryl

    (@vkaryl)

    Then have you tried to start the apache service using the installservice.bat?

    marginwalker

    (@marginwalker)

    Yes

    vkaryl

    (@vkaryl)

    Well, I’m out of ideas then…. you might try posting to the English-language forum at https://www.apachefriends.org/f/index.php?c=7. They don’t answer immediately, and you need to be very specific about what you’ve done, versions, types of install, machine specs, and what sort of troubleshooting you’ve tried.

    No one seems to be able to help.. ??

    Is it possibly a host file problem??

    Hi sorry to be a pain.

    Im running WP on my localhost again..

    Trying to install, I get this:

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampplite\htdocs\wordpress\wp-config.php on line 6

    Config file is:

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘root’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘,”); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    I bet this is line 6:

    define('DB_PASSWORD', ',''); // ...and password

    Something doesn’t look right for that second parm.

    Shouldn’t it be more like:

    define('DB_PASSWORD', ''); // ...and password

    Questions all.

    I followed the guidelines for setting up local server on my computer for Windows XP. Everything installs fine, but when I get to the last step and put in that install address: https://localhost/wordpress/wp-admin/install.php i get an ‘Object not found’ error 404, requested URL not found on this server. In the manual it says everything should run smoothly, help what have i done!!!!

    Thanks

Viewing 10 replies - 61 through 70 (of 70 total)
  • The topic ‘Local install on personal machine’ is closed to new replies.