![]() ![]() Select port 80 or port 8080 (if you are installing a test).In the Administrator's email address box, enter a valid email address.If you are running Moodle locally, just enter the name of the server. In the Server Name box, enter the Fully Qualified Domain Name of the server, e.g.If you are intending to run Moodle locally without internet access, leave this blank. In the Network Domain box, enter the domain that the server will run on (e.g.At the Server Information box, enter the details as follows:.Run the installer program and accept the licence agreement.The apache installer will create a sample configuration file (nf) as well as installing apache as a service. Find the Win32 Binary (MSI Installer) link and save the file to a temporary folder. Slow Chat with the Microsoft Visual Basic team.Universal Windows Platform and Modern Windows Experience.Quick Navigation UtilityBank - Tutorials Top I've been doing it this way for 10 years and have never had a problem with this set up. Yes, I agree that all the advice out there keeps telling people to install on the root and put documents in c:/Apache/docs but that's because most advice seems to come from Linux users. Unlikely because most people are behind firewalls these days but just an additional precaution. If you are just using the webserver to test PHP scripts locally before sending them off to your host, I suggest setting the "listen" directive to localhost:80, so that you don't inadvertently start up a webserver that listens to the world outside. In other words, store your web documents.where else but under Documents? Again, this is normal Windows practice but it also makes the files easier to access and to backup. First, change the Document Root to something like C:/Users//Documents/Websites. There are two changes I'd make to Apache's nf. NB You will of course have to change some directives within these config files. Windows 7 is very protective of files and folders under Program Files and it is a royal pain trying to edit files once they are copied to Program Files. However, to do this in Windows 7 you should first do everything suggested above, including editing the config files (nf and php.ini), in temporary folders, say c:/Users//Documents/Apache and (ditto root)/PHP and then copy these two folders to Program Files. These should be installed in c:/Program Files. Installing binaries on the root directory may be normal in Linux but in Windows 7 is not good practice. Nice, detailed description but I have a couple of suggestions: Edit the file conf\nf under the Apache directory.Īdd the following to the bottom of the file:.The file you are seeing is index.html, under htdocs in the Apache directory. Run httpd -k start to start the server. ![]() ![]() Ignore the message about the domain name, if it appears. Using your terminal window, change into the bin directory under the Apache directory, and run httpd -k install to install Apache as a service.(If you want to extract it elsewhere, look for that path in the nf file and change it to the path which you used.) Get the first link under the heading "Apache 2.2 win32 binary". You should see rather a lot of output.Īt the time of writing, the latest stable version is 2.2.19. Change into the directory where you extracted the files and run php -i. (For example, all error messages and warnings will be shown.) This will give you a configuration which is suitable for development work. Navigate into this directory and rename the file php.ini-development to php.ini.Extract the archive into a suitable directory - usually C:\php\.Get the latest thread-safe VC9 binary in zip archive format. If you just want to install Apache and aren't bothered about PHP, read Installing Apache HTTP Server on Windows 7.Īt the time of writing, the latest stable version is 5.3.6. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |