WordPress.org

Ready to get started?Download WordPress

Forums

Help with XAMPP. (8 posts)

  1. CaptainSEO
    Member
    Posted 1 year ago #

    I have no internet at the moment, so need to use XAMPP.

    I've installed it, but when double clicking a php file, the browser tries to download the file rather than execute it.

    I've known online servers to do this before, but tech support have always fixed it, so I don't know what the problem is.

    Any ideas?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You need to ask about this on a forum dedicated to your particular server software.

  3. CaptainSEO
    Member
    Posted 1 year ago #

    I did, localhost with XAMPP

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    I don't think there's a forum called "localhost with XAMPP". What dedicated XAMPP forums did you try?

  5. ClaytonJames
    Member
    Posted 1 year ago #

    I've installed it, but when double clicking a php file, the browser tries to download the file rather than execute it.

    You cannot double-click on a .php file and expect it to run in a browser. The expected behavior for that action would probably be to either open a download dialog in your defualt browser, or open the file in any editor that might be installed on your system that is capable of editing .php files.

    You need to run the install routine per the WordPress installation instructions. Installing WordPress

  6. Praveencox
    Member
    Posted 1 year ago #

    I am also going to use XAMPP.. but i want to know is it safe ...

  7. miloaikido
    Member
    Posted 1 year ago #

    the problem is about your setting in the xampp. plz check php configuration. maybe there is some problems with it.

  8. ClaytonJames
    Member
    Posted 1 year ago #

    @Praveencox

    If you mean "safe" to open to the WAN and let everyone on the internet access your site, then the short and sensible answer is no. In it's default configuration, it is not safe and should not be opened to the WAN.

    XAMPP is intended for development purposes, not for a production environment.

    Read some of the documentation:

    http://www.apachefriends.org/en/xampp.html

    http://www.apachefriends.org/en/faq-xampp.html

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags