Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > Bugs > Topic : Apache fails to start on MS Server 2003/WinXP



Threaded Mode | Print  

 Apache fails to start on MS Server 2003/WinXP, Ampps\apache\bin\httpd.exe is not a valid Win32 application (6 Replies, Read 12759 times)
greznica
Group: Member
Post Group: Newbie
Posts: 3
Status:
Hi!

I installed AMPPS 3.0 on Windows XP SP3 and Windows Server 2003 SP2. Apache failed to start so I manually ran it from "C:\Program Files\Ampps\apache\bin\httpd.exe".

I got error:
Quote

C:\Program Files\Ampps\apache\bin\httpd.exe is not a valid Win32 application.


I googled a bit and I couldn't find anything relevant. Thanks for any possible solutions.
IP: --   

Apache fails to start on MS Server 2003/WinXP
Rishi_P
Group: AMPPS Team
Post Group: Elite Member
Posts: 310
Status:
Hi greznica,

We have uploaded Patch for Windows XP:
Download Link: http://files.ampps.com/Apache_Patch_windowsXP.rar

First Rename your Apache folder to _Apache.
Download Patch, extract it in your Ampps folder.
Now Replace conf Folder from _Apache to Apache

Please let me know if you are still facing the problem.


Edited by Rishi_P : April 6, 2015, 2:00 pm
IP: --   

Apache fails to start on MS Server 2003/WinXP
greznica
Group: Member
Post Group: Newbie
Posts: 3
Status:
At first I got this error:
Quote
httpd.exe: Syntax error on line 572 of C:/Program Files/Ampps/apache/conf/httpd.conf: Syntax error on line 1 of C:/Program Files/Ampps/python/python.conf: Cannot load modules/mod_wsgi.so into server: The specified module could not be found.

So I just commented line 572 in httpd.conf. Then it ran but I got some warning messages:
Quote

PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_bz2.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_curl.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_gd2.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_mbstring.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_mysql.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_mysqli.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_openssl.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_pdo_mysql.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_pdo_sqlite.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_soap.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_sqlite3.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_xmlrpc.dll' - The specified module could not be found.
PHP Startup: Unable to load dynamic library 'C:/Ampps/php/ext\php_com_dotnet.dll' - The specified module could not be found.


Apache is running, I can also see  some of my webpages, but these warnings are periodically popping up. Do I have to install anything else besides AMPPS? Otherwise how can I suppress these warnings?
So far I have installed just AMPPS and your patch.
IP: --   

Apache fails to start on MS Server 2003/WinXP
Rishi_P
Group: AMPPS Team
Post Group: Elite Member
Posts: 310
Status:
Hi greznica,

In Which directory did you installed your Ampps ?


IP: --   

Apache fails to start on MS Server 2003/WinXP
greznica
Group: Member
Post Group: Newbie
Posts: 3
Status:
C:\Program Files\Ampps
IP: --   

Apache fails to start on MS Server 2003/WinXP
Rishi_P
Group: AMPPS Team
Post Group: Elite Member
Posts: 310
Status:
Hi greznica,

Please Open Support Ticket.
https://www.softaculous.com/support/

IP: --   

Apache fails to start on MS Server 2003/WinXP
Navee
Group: Member
Post Group: Newbie
Posts: 7
Status:

The worst installation to support is when a user installs the application to the Desktop!
Hello, have not actually installed the software yet, but highly interested because I have been using WAMP for my PC and obviously MAMP for my MAC. Just going through the forum to investigate any problems beforehand. Nonetheless it appears to be an excellent stack and it seems many users are being a bit creative during the installation process.

So would the resolve of this particular issue have anything to do with the installation directory? Normally these type type of stacks install natively on the C: drive. As the DLL error stack points. Again seems like a lot of user creativity going on without the knowledge of knowing the paths need to be set in the config and/or ini files of each (Apache, PHP and MySQL) ...at least that is the case for WAMP ...however I leave the installation as the original programmer intended and leave outside creativeness to updating phpMyAdmin if applicable (that involves changing paths to the new version) and/or vhost configurations with paths to the www to a drive or its own sole partition. (I.e. E:\www)

Regardless it involves known path setting, and maybe you have done this since this is version 3.3 and I have 3.6 prepared to install to replace WAMP and MAMP...maybe enforce the native installation dir and rename the change directory button to advanced (with a JS alert stating "not recommended unless you know what you are doing and how to edit the files...") dialog...unless there is a script that edits and registers the directory based on custom install path during installation OR at least checks for an argument that considers known paths such as:
Drive:\Ampps
Drive:\Program Files (older OS)\Ampps ...or the same as older OS for x64
Drive:\Program Files (x86 newer OS)\Ampps
&& reject installation or disable folders if (user sets Desktop, or system folders such as Windows or System32...*you'd be surprised about this one and a couple of YouTube vids on how to know your system--especially editing the host file: a process for setting up virtual host domains can do to a person*)

It just seems like developers taking on this software should be path-oriented because making a website is solely based on it, and should be able to identify an error like C:\Ampps and C:\Program Files\Ampps are two different creatures and clearly pointing out the issue. I guess it is the programmer in me outside of also being a web developer which are two different creatures as well.

I was attracted to this post because "Apache failing to start..." is a noteworthy issue to gaze at, but I see no issues here other than the obvious. *sips tea*  :-x


-----------------------
The worst installation to support is when a user installs the application to the Desktop!
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is September 25, 2018, 9:37 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.394