Apache won't start with ColdFusion 10: mod_jk.conf procedure not found - apache

I'm trying to install ColdFusion 10 on Apache 2.4.4 with Windows 7. I set up Apache et al with WAMP Server (I needed PHP as well), made sure everything was working great there, and then ran the ColdFusion installation after. ColdFusion installation seemed to complete successfully, but Apache was not able to restart with ColdFusion enabled.
Windows Event Viewer reports the following error with Apache Service:
httpd.exe: Syntax error on line 548 of C:/wamp/bin/apache/Apache2.4.4/conf/httpd.conf: Syntax error on line 2 of C:/wamp/bin/apache/Apache2.4.4/conf/mod_jk.conf: Cannot load c:/ColdFusion10/config/wsconfig/1/mod_jk.so into server: The specified procedure could not be found.
That's referencing this line from mod_jk.conf:
LoadModule jk_module "c:/ColdFusion10/config/wsconfig/1/mod_jk.so"
I copied+pasted, and there doesn't seem to be a problem with that path. mod_jk.so is there.
Any suggestions? Thanks.

Officially CF 10 requires Apache 2.2.xx. It won't work with Apache 2.4.

It will still fire the same error with Apache 2.2 in XAMP - and Apache won't start. If you comment out the call to the module in your httpd.conf - Apache will start.
I have the same issue. I have tried CF 9 and CF 10 with various Apache builds on Windows 7 with the same problem.
Update - I found this page http://forums.adobe.com/thread/764843 - similar issue, I downloaded the 32bit version and re ran a clean install and everything works as expected.
Scott

Related

XAMPP tomcat service is not starting with error as "Tomcat Started/Stopped with errors, return code: 1"

I have installed XAMPP 7.2.10 on my Win 10 and other services like Apache and MySQL are working fine.
But the Tomcat service is not starting and is throwing an error as:
"Tomcat Started/Stopped with errors, return code: 1,
Make sure you have Java JDK or JRE installed and the required ports are free,
Check the "/xampp/tomcat/logs" folder for more information"
XAMPP Tomcat error image
I have installed Java JDK in "C:\Program Files\Java" and have set the environment variables path.
I have set the "JAVA_HOME" variable path as "C:\Program Files\Java\jdk-10.0.2"
Also, no other program is using the required ports.
When I run the "catalina_start.bat", I get error as:
"ERROR: The system was unable to find the specified registry key or value.
. [XAMPP]: Cannot find current JDK installation!
. [XAMPP]: Cannot set JAVA_HOME. Aborting ..."
What mistakes have I made here?
I had the same problem (XAMPP 7.3.0 / Windows Server 2016 / Java 11). I first checked the environment variables, the java installation - all seemed to be fine.
Sadly the XAMPP error message is not very meaningful, so i looked inside of tomcat installation. To my surprise XAMPP 7.3.0 uses a very old version of Apache Tomcat (7.0.56 from 2014!), that don’t work well with Java 9+. The reason is Tomcat 7.0.56 uses the "-Djava.endorsed.dirs" option, that is no longer supported in Java 9+. Up-to-date Tomcat versions have no problem with java 9+. To solve this you can just stay with Java 8 (if possible for you) or try to fix this on your own by modify Tomcat start-up: Go to your \xampp\tomcat\ folder and see this fix in Tomcat 7.0.73 doesn't work with java 9.
But i would recommend you to install a up-to-date version of tomcat and don’t use the XAMPP one (what i finally did) - at least until XAMPP updates there tomcat version .

XAMPP Can't Start Apache After Upgrading to PHP7.1.17 "Attempting to start Apache service..."

I have XAMPP installed on Windows 7 virtual machine. My old PHP version was 7.0.9 with Apache 2.4
I needed to upgrade the PHP version to 7.1.x and I set out reading about how to best to this. In end, I settled with the simple plan:
Stop Apache service
Downloaded new PHP version from official php website. For PHP 7 the 7.1.17 version was listed. I downloaded the thread safe version, as my Apache has thread safety enabled.
I extracted the contents of the downloaded archive to a folder.
I copied and replaced all files in the appropriate folders from C:/Server/php with the new php version files from the extracted archive.
I attempted to start Apache from the XAMPP control panel and the server will not start.
The message "Attempting to start Apache service..." just hangs and nothing happens.
The last entry in the error.log file in C:\Server\apache\logs shows the event when the server was stopped and that's it.
When I check the php version from CLI with the command php -v, the console returns installed php version 7.1.17
I tried different suggestions I read from similar questions, like changing ServerName localhost:80 to ServerName localhost:8080 and copying php7apache2.dll to apache/bin ( as suggested here: Upgrading PHP in XAMPP for Windows? ), alas the issue is not fixed and Apache does not start.
Of course, I also restarted the virtual machine, all the same.
At this point, I'm dumbfounded. Don't know what to do.
I need to get Apache running with php 7.1, as it is required by Magento 2.2.4. I do not want to reinstall XAMPP, as this will be a lenghty process with a lot of risk for more things to go wrong.
Any help is much appreciated!
Alright, so after checking Windows Logs > Application in Event Viewer I saw the error ".. the Apache service named is not a valid win32 application". I downloaded the x86 version of PHP from official website PHP for Windows
Then copied and replaced files as described above, and Apache started successfully.
To see if your Apache version is x64 or x86 open command prompt and cd to your Apache bin directory, in my case C:/Server/apache/bin , then run:
file httpd

Error installing xampp on windows 7

For Screenshot
http://imgur.com/a/PRzun
I have problem, so before I got these error i have installed xampp v.5.6.30 / PHP 5.6.30 and i want to update to xampp v.7.0.18 / PHP 7.0.18 and i uninstall the old version and install the latest version.
Before I get the error I have error on api-ms-"...".dll but i finished to this error with download the .dll files and the error(1) is show up.
I try to fix this problem so I change the port, but not take effect.
This for screenshot port list/netstat.
http://imgur.com/a/RVfoD
I change the httpd.conf port 80 to 8080, and httpd-ssl.conf port 443 to 4433. But didn't take effect.
So what solution to install xamp on my windows 7? Thanks in advance.
Extra : I don't install skype on my windows
Try checking on your 32 system file located on the windows file (C) if you have msvcr100.dll
If it is missing go to a dll.com site and download it and insert it on your system 32 file.
Another dll that might be missing is the API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
This video explain how to fix this if this is due to a crash like in your print.
https://www.youtube.com/watch?v=gmtV1Xew9o4
I hope it helps.
Wish you the best of luck.

Apache error when installing mod_wsgi on windows: specified module could not be found

I am getting the apache error:
Cannot load C:/ms4w/Apache/modules/mod_wsgi.so into server: The specified module could not be found
I searched on the web already, and found this link and I think I tried most of what is described in here, and my installation is still not working, so I think I need a bit of help.
I run windows XP 32bit pro SP3, freshly installed on a VM
I am running python 2.6 which I downloaded here
I am trying to install mod_wsgi 3.3 for python 2.6, which I downloaded here
Python is installed for all users
I run apache 2.2.22, as part of ms4w package
My file name is correct ( mod_wsgi.so )
My LoadModule entry is: LoadModule wsgi_module modules/mod_wsgi.so
If I comment my LoadModule line apache is running great. Python is working too.
However, I am not sure how to verify that apache's user is able to read the module on windows XP.
I don't know what else to try, thanks in advance to anyone who helps.
hope you might have got your issue resolved. if not there's a very easy tutorial I'd like to suggest, however this is using wampserver.
some points that needs to be considered:
download mod_wsgi version compatible to the wampserver's apache & python version
I've installed the latest wamp with apache 2.4 & python 2.7 32 bit so I got the mod_wsgi from here.
hope it helps.

easyphp apache error 87

I recently installed EasyPHP 13.1. Configured it to start with the computer but Apache refuses to do it. Looking into the log file the last 3 lines are:
29/09 12:24:21 EasyPHP EasyPHP Check version
29/09 12:24:25 EasyPHP ServerBase::TimerProc : GetProcessVersion Apache (pid: 6132) error 87
29/09 12:24:25 EasyPHP Apache Unexpected end of Apache !
Manually starting Apache after this will always work. Searched for the error online but found nothing useful. Any ideas?
I had the same issue while in a windows environment. To avoid it I would right click EasyPHP and run as administrator.