Apache Syntax Error Php5apache2 2 Dll
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site
Php5apache2_2.dll Download
About Us Learn more about Stack Overflow the company Business Learn more about cannot load c /php/php5apache2_2.dll into server the specified module could not be found hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss
Cannot Load Php5apache2_4.dll Into Server The Specified Module Could Not Be Found
Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error setting up php php5apache2_4.dll 64 bit download and apache - .dll file could not be found up vote 0 down vote favorite I'm setting up php and apache on my computer. I have modified my httpd.conf file like my book says (so add these lines: LoadModule php5_module C:/WebSite/PHP//php5apache2.dll AddType application/x-httpd-php .phtml .php ) But when I try to start apache, I get this error: Syntax error on line 129 of httpd.conf Cannot cannot load php5apache2_2.dll into server load C:/WebSite/PHP/php5apache2.dll onto server. The specified module could not be found. The file is definitely in the specified directory. I am new to this, have I done something wrong? Help appreciated :) EDIT: I actually got the "tumbleweed" badge for this question. Is anyone going to bother looking at it? php apache dll share|improve this question edited Apr 3 '13 at 18:01 asked Aug 27 '12 at 10:29 imulsion 3,72493268 1 I would try to change it like this: LoadModule php5_module "C:/WebSite/PHP/php5apache2.dll"Also, you need to ensure that apache user has an access to that file. –Viktor S. Apr 3 '13 at 18:05 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted I've just had the same error on windows 7 with PHP 5.5 (5.5.0) VC11 and Apache 2.2.22. The offending line was LoadModule php5_module "C:/php/php5apache2_4.dll" and the error was "... line 129 ... The specified module could not be found." (Yes - I checked that this file existed and all users had access to it!) I downgraded the PHP to PHP 5.4 (5.4.16) VC9 - making only one change [see below - they seem to have
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
Php5apache2_2.dll 64 Bit Download
alive and well, and continuing the building of the binaries. Syntax error cannot php5apache2_2.dll is not a valid win32 application load php5apache2_2.dll into server Apache Forum Index -> Other Software View previous topic :: View next topic Author
Cannot Load Php5apache2_4.dll Into Server %1 Is Not A Valid Win32 Application
Message zacherytaylorsmithJoined: 25 Oct 2011Posts: 2 Posted: Tue 25 Oct '11 22:09 Post subject: Syntax error cannot load php5apache2_2.dll into server Hello I need help please with php running on Vista . I receive http://stackoverflow.com/questions/12140248/error-setting-up-php-and-apache-dll-file-could-not-be-found the following error when starting or reloading Apache: Syntax error on line 969 of C:/Dev/Progs/Apache/Apache2/config/httpd.conf: Cannot load C:/Dev/Progs/php/php5apache2_2.dll into server: The specified module could not be found. I installed the latest version of Apache and it worked fine before installing PHP VC9x86 Thread Safe. My httpd.config has following lines: #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:/Dev/Progs/php/" LoadModule php5_module "C:/Dev/Progs/php/php5apache2_2.dll" #END PHP INSTALLER EDITS - REMOVE https://www.apachelounge.com/viewtopic.php?p=19626 ONLY ON UNINSTALL and the php5apache2_2.dll file is located in the correct folder, C:/Dev/Progs/php. Attempted fixes with no success : 1. uninstalled and reinstalled VC9x86 Thread Safe 2. uninstalled VC9x86 Thread Save and installed VC6x86 Thread Safe 3. uninstalled VC6x86 Thread Save and installed VC9x86 Thread Safe removing Curl, OpenSSL and PostgreSQL extensions. 4. Extracted php5apache2_2.dll from zip file and replaced file in php folder. 5. Reran the installer and selected the option to repair. What do I need to do to get Apache working with php module? Thanks Back to top James BlondModeratorJoined: 19 Jan 2006Posts: 6006Location: Germany, Next to Hamburg Posted: Thu 27 Oct '11 16:37 Post subject: where did you download your apache? AFAIK there is no VC6 version from PHP 5.3 or do you still use 5.2? Back to top zacherytaylorsmithJoined: 25 Oct 2011Posts: 2 Posted: Thu 27 Oct '11 21:35 Post subject: Hello James Blond. I downloaded apache from the official site: http://httpd.apache.org/download.cgi version •2.2.21 (released 2011-09-13). Php was downloaded from the official site also: http://windows.php.net/download/ and you are right VC9 is 5.3 and VC6 is 5.2. I tried using both and had the exact same error with each. I currently have 5.3 VC9x86 Thread Safe installed. P.S. wh
php5_module c: /php/php5apache2.dllAddType application/x-httpd-php .phpAddType application/x-httpd-php-source .phps This is the error message that was returned when I used https://www.sitepoint.com/community/t/apache-loadmodule-configuration-problem/3466 the function that tests the configuration file (Line 486 is the https://www.sitepoint.com/community/t/help-apache-cannot-find-php-i-have-error-log-info/14127 line that starts "LoadModule..."). httpd.exe: Syntax error on line 486 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: LoadModule takes two arguments, a module and the name of a shared object file to load from I'm pretty sure the solution is easy but i can't see it. Can cannot load anyone help please? HTTPbit 2007-09-08 15:21:26 UTC #2 I can clearly guess that you are using Windows OS. Can you please tell me which version of Windows you are using so that I can check it accordingly and help you out if I can. Thanks. teckyhead 2007-09-08 15:22:35 UTC #3 bastywebb said: Im trying to configure apache into server the 2.2.4 so that it will work with PHP. This is what i typed at the very bottom of the configuration file. LoadModule php5_module c: /php/php5apache2.dllAddType application/x-httpd-php .phpAddType application/x-httpd-php-source .phps This is the error message that was returned when I used the function that tests the configuration file (Line 486 is the line that starts "LoadModule..."). httpd.exe: Syntax error on line 486 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: LoadModule takes two arguments, a module and the name of a shared object file to load from I'm pretty sure the solution is easy but i can't see it. Can anyone help please? The error message is telling you the problem, though it isn't always obvious. The problem is most likely the space after c: on the first line. It's effectively splitting the path parameter into 2 parameters .. meaning that apache thinks you are trying to pass three parameters to the loadmodule command. Change this: LoadModule php5_module c: /php/php5apache2.dll ...to this: LoadModule php5_module c:/php/php5apache2.dll ...and it should fix the problem. bastywebb 2007-0
Using PHP & MySQL. The status bar of the Apache Service Monitor window does not show the version of PHP that I've got. Apache has a neat little option: an error log. In it, I found the following two messages:1. httpd.exe: Syntax error on line 492 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/php5apache2_2.dll into server: The specified module could not be found.2. [Fri Mar 30 14:11:15 2012] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed. With this, can you tell me how to correct my problem? Thank you. Rolandgeiger.roland@yahoo.com or I'll check the Inbox of this site. Mike_GoDaddy 2012-04-03 21:04:48 UTC #2 Where did you install PHP to on the server? TimIgoe 2012-04-04 22:10:59 UTC #3 It CAN find php, however it can't LOAD php. You are using Apache on Windows, which version of PHP did you download from php.net? There are a few that aren't compatible with Apache. http://windows.php.net/download/ See the note in the left hand column, "If you are using PHP with Apache 1 or Apache2 from apache.org you need to use the VC6 versions of PHP" RGeiger 2012-04-05 20:49:38 UTC #4 Mike_GoDaddy said: Where did you install PHP to on the server? I am loading everything on a laptop that I'm using to go back and forth to a college class. Specifically, I downloaded the PHP folder directly to the C: drive as Kevin Yank's book suggests. I thought that it should go into the Program Files folder of the C: drive, but that's not what his book said to do. I clicked on the PHP folder, and some of the files say php5 (php5.dll, php5apache2_2.dll, php5apache2.dll, and so on), and underneath they say 5.2.17.17, so I guess I have version 5.2. I clicked on the Zip link and extracted the files, but I'm