> Cannot Save
> Cannot Save Httpd.conf File Vista
Cannot Save Httpd.conf File Vista
If all goes well, you should see a pageful of information about your PHP setup. If you get Syntax error on line XX then you need to correct the problematic syntax on that line number2. Hopefully you enjoy this quick guide and of course if i missed / forgot something, please do let me know in the comment area below :)Note: Updated because this guide can Uncheck "user user account control (UAC) to protect your computer". click site
It should be empty. I would just like to point out that I still get that error message after the 'fix' but Apache works fine anyway. Cannot Save httpd.conf File. the my.ini file is C:\Program Files\MySQl\my.ini (note this is just an example).
Configuring PHP Go to the c:\php folder and make a copy of the file "php.ini-recommended". more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Note that you should always use an ASCII or programmer's text editor to edit this file. To those who are yet to try it, when you launch Apache or start windows (when apache automatically launches itself) you get a little box with a red cross in the
Most of the articles are now in the Adobe archive because they refer to old versions of Dreamweaver. You can upload this same file, test.php, to your web host and run it there to see how your web host has set up his PHP, so that you can mimic Did a thief think he could conceal his identity from security cameras by putting lemon juice on his face? It's in the Apache conf folder.
remove, alter or replace?pls help me as you canReplyReaper-X says:May 6, 2012 at 9:24 AMphp.ini commented that line by default (by placing semicolon ; in front of it). I have made sure that the process wasn't running, and its not. How to Find Out If What Service or Program is Listening on Port 80 There are probably many ways to discover if there is any program monitoring port 80. https://www.sitepoint.com/community/t/apache-on-windows-vista-problem/2727 But the following articles are not Dreamweaver-specific and are still relevant.
To open a command prompt in Vista, click the Windows button (ie, the Start menu, although it's no longer labelled as such), type "cmd" into the empty field, and hit the The second is to configure it to run the interpreter as a CGI binary. Name the new file "php.ini". As such, things that you frequently need to modify, like the configuration file and the web server files, are located in the "c:\Program Files\Apache Software Foundation\Apache 2.2\" folder.
dklynn 2007-02-06 21:04:59 UTC #8 THANKS to HiVisDiver for this! http://serverfault.com/questions/161646/cant-edit-apache2-2-httpd-conf-on-windows-7 or try opening the error.log file in your “Apache Installation Directory\logs”. Not the answer you're looking for? I am really grateful.ReplyReaper-X says:April 24, 2012 at 12:27 PMYou’re welcome Kimby :)Deyan Ivanov says:April 20, 2012 at 3:07 AMAwesome guide !
By default, Notepad shows only files with a .txt file name extension, so you need to select the option to view All Files (*.*) in the Open dialog box. get redirected here A black command prompt window will open. If you don't know how to do the latter, just move the php.ini file to the "c:\windows" folder. At the risk of stating the obvious, clicking the "Stop" button will stop the Apache web server service.
Related Articles How to Make / Create a Website: The Beginner's A-Z Guide How to Redirect from Your Root Domain to the WWW Subdomain and Vice Versa Using mod_rewrite How to The pathname must use forward slashes in place of the Windows convention of backward slashes. Which Web Hosting Package / Plan Should You Choose? http://fortecrm.net/cannot-save/cannot-save-httpd-conf-file-windows.html To get around this restriction, open Notepad or your script editor from the Start menu by right-clicking the program name and selecting "Run as Administrator" from the context menu.
I hope they can be resolved so I can continue my project.First, from the guide on how to compile mangos and scriptdev2: I do exactly the same as you, however when Mr. Again, I don’t think that’s what supposed to happen.Finally, in the end it indeed errors: he can’t find localhost/test.php, even though all my configuration is the same as yours.
For example, if the line used to be: DirectoryIndex index.html change it to: DirectoryIndex index.php index.html The next time you access your web server with just a directory name, like "localhost"
This is needed because Apache only checks the configuration file once, when it loads. Steffen Apache Lounge is not sponsored by anyone.Your donations will help to keep this site alive and well, and continuing the building of the binaries. That is, if your visitors enter an inverted comma (single quote) into your web form, the script will receive that unadorned inverted comma (single quote). What’s so wrong about it?Reaper-X says:November 18, 2011 at 8:06 AMActually it is written like below in the guide :) (using slash only)LoadModule php5_module "c:/php5/php5apache2_2.dll"But i’m suspecting that you’re using the
Is there any way to disable it without affecting Apache? Zanjo 2006-08-03 19:58:06 UTC #3 I wish i had another option, but i dont really want to buy XP at this point, and i find linux infuriating. Shame it doesn’t for 64, but oh well.When attempting to start the apache server, it errors with: ‘the requested operation has failed’. http://fortecrm.net/cannot-save/cannot-save-httpd-conf-windows.html Basically, it's in the "conf" folder of wherever you installed Apache.
This is needed because Apache needs to read the new configuration directives for PHP that you have placed into the httpd.conf file. If you still have difficulty accessing your virtual hosts, make sure that you have added index.php to the DirectoryIndex directive in httpd.conf. Did a thief think he could conceal his identity from security cameras by putting lemon juice on his face? Why is Professor Lewin correct regarding dimensional analysis, and I'm not?
You are here: Top > Apache Configuration and .htaccess Articles > How to Install Apache 2.2 on Windows Vista Other articles on: Apache, PHP, Perl thesitewizard™ News Feed (RSS Site Feed) How can I declare independence from the United States and start my own micro nation? asked 3 years ago viewed 3625 times active 3 years ago Visit Chat Related 0How to change group to files stored on an NTFS partition from ubuntu?1Django/Apache/mod_wsgi: how to avoid 403 If you are using Apache 1.3.x, see the guide How to Install the Apache Web Server 1.x on Windows.
I wonder, if you are still helping with your guide, if I could post you images of my configurations, both from Apache and PHP.