Apache Php Syntax Error Cannot Load Into Server
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 About Us
"cannot Load C:\\php\\php5apache2_4.dll Into Server: The Specified Module Could Not Be Found"
Learn more about Stack Overflow the company Business Learn more about hiring developers cannot load php5apache2_4.dll into server %1 is not a valid win32 application or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack php5apache2_4.dll 64 bit download 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 php dll cannot be loaded into server
Cannot Load C:/php/php7apache2_4.dll Into Server: The Specified Module Could Not Be Found.
when using apachelounge VC14 build and php.net VC11 build up vote 2 down vote favorite I am following this great post Version details; Apache 2.4.16 php 5.6.11 mysql community installer 5.6.25 Directory structure: C: server Every setup goes here Windows System - 7 - 64 bit. Error httpd.exe: Syntax error on line 178 of C:/server/httpd/Apache24 /conf/httpd.conf: Cannot load C:\\server\\php\\php5apache2_4.dll into server: The specified module could not be
Cannot Load C:/php/php5apache2_4.dll Into Server: %1 Is Not A Valid Win32 Application.
found. code which causes LoadModule php5_module C:\server\php\php5apache2_4.dll ----> This Line
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings cannot load php7apache2_4.dll into server the specified module could not be found and policies of this site About Us Learn more about Stack Overflow
Php7apache2_4.dll Download
the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation php5apache2_2.dll 64 bit download Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it http://stackoverflow.com/questions/31450970/php-dll-cannot-be-loaded-into-server-when-using-apachelounge-vc14-build-and-php only takes a minute: Sign up Apache fails to restart after PHP installation up vote 3 down vote favorite 1 I've installed Apache2 on port 81 since IIS7 uses port 80. It loads fine and show me the directory when I load it through the browser but after installing PHP5 with msi installer Apache fails to restart because of an http://stackoverflow.com/questions/14433994/apache-fails-to-restart-after-php-installation error in httpd.conf it says it can't load the php5apache2_2.dll I get this error after doing a repair on Apache httpd.conf #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:\Webserver\php\" LoadModule php5_module "C:\Webserver\php\php5apache2_2.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL Here is what the error is. cmd line error: Syntax error on line 970 of C:/Webserver/apache/Apache2/conf/httpd.conf": Cannot load C:/Webserver/php/php5apache2_2.dll into server %1 is not a valid Win32 application php apache share|improve this question edited Mar 5 at 18:14 Mogsdad 24.4k955123 asked Jan 21 '13 at 7:18 ONYX 1,84974287 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote I had the same issue. I googled and found a 64bit version of the PHP binary for Windows here: http://www.anindya.com/php-5-3-2-x64-64-bit-windows-binary/ share|improve this answer answered Feb 5 '13 at 22:20 GMARS 312 add a comment| up vote 0 down vote Are you sure the PHP image matches your PC - ie 32/64 bit? share|improve this answer answered Jan 21 '13 at 7:25 Brett Freer 1362 i downloaded the 86x but my os
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the http://stackoverflow.com/questions/21999052/cannot-start-apache-c-php-php5apache2-4-dll-into-server-the-specified-module workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions http://superuser.com/questions/485790/apache-2-4-php-5-4-7-cannot-load-php5apache2-4-dll Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. cannot load Join them; it only takes a minute: Sign up Cannot start Apache (c:/php/php5apache2_4.dll into server: The specified module could not be found) up vote 2 down vote favorite Well I tried to install PHP 5.5.9 and I followed the procedure in this video exactly: http://www.youtube.com/watch?v=6Y6lOHov3Bk Basically I pasted these lines in the httpd.conf file, saved and restarted my computer. the specified module # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2_4.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" And now when I try to start Apache it does not work, and the last line in the error log is the following. (Cannot start Apache (c:/php/php5apache2_4.dll into server: The specified module could not be found) The only thing I can think is that when I downloaded the PHP 5.5.9 zip file and unpacked it, it did not have the php5apache2_4.dll file so I had to download it from a 3rd party website: http://download12.mediafire.com/9ory5zibr0zg/ncwlddm9cclwc99/php5apache2_4.dll php apache dll share|improve this question edited Feb 24 '14 at 21:29 AbraCadaver 34.3k42044 asked Feb 24 '14 at 21:09 Gaven 73229 The lines "For PHP 5 do something like this:", "configure the path to php.ini" are meant to be comments but when you put the # symbol next to a line of code it makes it bold when you post it instead. –Gaven Feb 24 '14 at 21:11 By the way, when I comment
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 About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top apache 2.4 + php 5.4.7 cannot load php5apache2_4.dll up vote 2 down vote favorite I am trying to make Apache (httpd-2.4.3-win32) to work with PHP 5.4.7 (VC9 x86 Thread Safe) on Windows 7. Apaches default page is working and proudly says: "It works". PHP CLI is working and reports version 5.4.7 I downloaded php5apache2_4.dll-php-5.4-win32.zip from apachelounge and extracted the dll for 5.4.7 it to ~/php/ext/ When I add LoadModule php5_module "...../php/ext/php5apache2_4.dll" AddHandler application/x-httpd-php .php the apache service refuses to start and Event Viewer says: The Apache service named reported the following error: httpd.exe: Syntax error on line 526 of C:/.../bin/Apache24/conf/httpd.conf: Cannot load c:/.../bin/php/ext/php5apache2_4.dll into server: The specified procedure could not be found. I used php thread safe version, both php and apache 32 bit. What am I missing ? Any ideas how to fix this ? windows-7 apache-http-server php share|improve this question edited Aug 16 '15 at 8:33 duskwuff 61838 asked Oct 10 '12 at 10:51 gotha 135115 Give us more information about the system being used. This sounds like your trying to load a 32-bit dll into a 64-bit Apache process. I base that statement on the error your getting. –Ramhound Oct 10 '12 at 11:28 I am positive ( I just rechecked ) that both are 32 bit versions. –gotha Oct 10 '12 at 12:08 I have the same issue and i don't know how to fix it –Terix Feb 14 '13 at 14:47 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote The correc