Php Error Accessing Httpd.conf File
contribution towards the costs, the time and effort that's going in this site and building. Thank You! 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. PHP Installation problem Apache Forum Index -> Other Software View previous topic :: View next topic Author Message prem1preJoined: 04 May 2012Posts: 7 Posted: Sat 05 May '12 0:03 Post subject: PHP Installation problem Hi, I installed Apache & PHP in my machine but when I try to configure PHP to the webserver. I get the below error, httpd.exe: Syntax error on line 494 of C:/Program Files/Apache Software Foundati on/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/php5apache.dll into server: The specified module could not be found. I see lot many suggestion in the forum but it does not work. I have php5apache.all under my C:/PHP folder but not sure why I get this error. What is the difference between php5apache.dll & php5apache2.dll..Where can I download the 2 version..Any help would be greatly appreciated. I have given the following commands in my apache config file, LoadModule php5_module "c:/php/php5apache.dll" PHPIniDir "c:/php" Also, let me know if you need any additional information. The apache version that I have installed is Apache2.2 Back to top DnvrSysEngrJoined: 15 Apr 2012Posts: 141Location: Denver, CO USA Posted: Sat 05 May '12 3:52 Post subject: instead of LoadModule php5_module "c:/php/php5apache.dll Type in LoadModule php5_module "c:/php/php5apache2_2.dll" Back to top prem1preJoined: 04 May 2012Posts: 7 Posted: Sun 06 May '12 3:21 Post subject: I tried "c:/php/php5apache2.dll" and still I get the same problem..That file is not under the php folder, where can I get that file. Back to top DnvrSysEngrJoined: 15 Apr 2012Posts: 141Location: Denver, CO USA Posted: Sun 06 May '12 7:53 Post subject: Do you have the file php5apache2_2.dll in your php directory? Back to top prem1preJoined: 04 May 2012Posts: 7 Posted: Tue 08 May '12 0:13 Post subject: Nope, I dont have it. Back to top glsmithModeratorJoined: 16 Oct 2007Posts: 2024 Posted: Tue 08 May '12 1:11 Post subject:
Technology > When you got the error message "Error trying to access httpd.conf file" after installing PHP After installing PHP to Windows Server, creating a *.php file and input "" and open the link "http://localhost/*.php", if https://www.apachelounge.com/viewtopic.php?p=21483 you get a error message "Error trying to access httpd.conf file. You will need to manually configure the web server.", if is because you probably choose all the extensions when https://sites.google.com/site/danmiaoaustralia/WebTechnology/httpdconf-file-error you install PHP, actually each of the extension has a bunch of dependencies, when you choose it and install it, the installation process will check if the dependencies are satisfied, if there is one of the required dependencies is not matched, then you will get the above problem. The way to resolve it is easy, just reinstall PHP and reselect all the extensions which you are not sure if they have been installed. The problem will be resolved. Comments Sign in|Recent Site Activity|Report Abuse|Print Page|Powered By Google Sites
Configuration → Installation in Windows Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. ERROR: MANUALLY CONFIGURE THE WEBSERVER Started by https://forums.phpfreaks.com/topic/67408-error-manually-configure-the-webserver/ taurus5_6, Aug 31 2007 07:00 AM Please log in to reply 3 replies to https://bbs.archlinux.org/viewtopic.php?id=83481 this topic #1 taurus5_6 taurus5_6 Newbie New Members 2 posts Posted 31 August 2007 - 07:00 AM I am trying to install php 5.2 on my box, i am using windows xp. During the process, an error occured error trying access httpd.conf file. You will need to manually configure the webserver. What does it mean? What should php error I do? Thanks Back to top #2 wildteen88 wildteen88 Advanced Member Staff Alumni 10,482 posts LocationUK, Bournemouth Posted 31 August 2007 - 04:40 PM I guess you are using the installer to install PHP. Before installing PHP make sure you have Apache installed and that is running. When using the installer it'll try to configure Apache automatically for you.I generally don't use the installer. I prefer a manual install myself. It is php error accessing really a simple procedure to configure Apache with PHP. Back to top #3 surot526 surot526 Member Members 16 posts Posted 28 October 2010 - 12:11 PM if you installed the PHP and Apache and just click next... next.... next... Check this:http://news.softpedi...he2-62975.shtml Back to top #4 Maq Maq Advanced Member Administrators 9,406 posts LocationPennsylvania, USA Posted 28 October 2010 - 12:36 PM Just FYI, this post was from over 3 years ago, please don't resurrect. tjmothy ini_set ("display_errors", "1"); error_reporting(E_ALL); Back to top Back to Installation in Windows · Next Unread Topic → 0 user(s) are reading this topic 0 members, 0 guests, 0 anonymous users Reply to quoted postsClear PHP Freaks → Web Server Administration → PHP Installation & Configuration → Installation in Windows Privacy Policy Forum Rules & Terms of Service · Change Theme IP.Board Mobile PHP Freaks PHP Freaks - English (USA) English (USA) PHP Freaks - English (USA) Mark Community Read Forums Members Pages Mark all as read Help Community Forum Software by IP.BoardLicensed to: PHP Freaks Sign In Use Facebook Use Twitter Need an account? Register now! Username Password I've forgotten my password Remember me This is not recommended for shared computers Sign in anonymously Don't add me to the active users list Privacy Policy
1 Topic closed #1 2009-10-29 06:01:44 iopo Member Registered: 2009-10-26 Posts: 31 [SOLVED] Apache Access forbidden Error 403 localhost Hello,I believe this should be some thing very stupid, but I can't find it... so here I am.I have just installed apache (# pacman -S apache)Configured httpd.comf, and created 2 virtual hosts with extra/httpd-vhosts.confWhen I believed every thing was ok, I have started Apache as root (# apachectl start)Started ok, no errors (also tried start it as user with sudo, and /etc/init.d/httpd start)So when I go to http://localhos (or the virtual host) I allways get Access forbidden Error 403I have set 777 permissions to /srv/http and the virtual host (/home/username/local-web/site1.dev)I have tried every thing , changed dir owners to "http:http" ...At the Apache error log I get: "[Thu Oct 29 02:39:48 2009] [error] [client 127.0.0.1] (13)Permission denied: access to / denied" There is a very simple plain index.html file at /srv/http and the virtual host, all file/dir permissions very permisive... so that can't be the problem.Am I missing some thing? Do I need to manually create the "http" user and/or add it to some group? Last edited by iopo (2009-10-29 22:06:59) Offline #2 2009-10-29 08:20:04 wuischke Member From: Suisse Romande Registered: 2007-01-06 Posts: 630 Re: [SOLVED] Apache Access forbidden Error 403 localhost Please check your http.conf and see if "Options Indexes" is set for your apache root to allow directory listings. Offline #3 2009-10-29 08:31:03 iopo Member Registered: 2009-10-26 Posts: 31 Re: [SOLVED] Apache Access forbidden Error 403 localhost Yes, I have set Options Indexes "All" to /srv/httpDocumentRoot "/srv/http"....