logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Error starting apache php5apache2_4.dll with zpanel stack
Author
jlane0



Joined: 20 Jul 2013
Posts: 5

PostPosted: Sat 20 Jul '13 22:17    Post subject: Error starting apache php5apache2_4.dll with zpanel stack Reply with quote

I am getting an error upon installation of the zpanel stack.

This is the error the stack gives me


Installing Apache HTTPd Service..
Installing the Apache service
The Apache service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd.exe: Syntax error on line 174 of C:/zpanel/bin/apache/conf/httpd.conf: Can
not load C:/zpanel/bin/php/php5apache2_4.dll into server: This application has f
ailed to start because the application configuration is incorrect. Reinstalling
the application may fix this problem.
Starting Apache HTTPd service..
The Apache service is starting.
The Apache service could not be started.

A service specific error occurred: 1.

More help is available by typing NET HELPMSG 3547.


I have tried to reinstall 4 times. Same Result.


Heres the windows event log error.


The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 174 of C:/zpanel/bin/apache/conf/httpd.conf: Cannot load C:/zpanel/bin/php/php5apache2_4.dll into server: This application has failed to start because the application configuration is incorrect. Reinstalling the application


Please help!


Thanks!
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 679

PostPosted: Sat 20 Jul '13 22:27    Post subject: Reply with quote

Moved your post to the correct forum.

Looks like you installed Apache 2.4

Sure you have the correct combination Apache and PHP, like Win32 and PHP TS.

You must have in your httpd.conf:

LoadModule php5_module "C:/zpanel/bin/php/php5apache2_4.dll"
AddHandler application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/zpanel/bin/php"

Check the above paths if they are correct, and first try to start with all PHP extensions disabled in your php.ini.
Back to top
jlane0



Joined: 20 Jul 2013
Posts: 5

PostPosted: Sun 21 Jul '13 0:07    Post subject: Reply with quote

LoadModule php5_module "C:/zpanel/bin/php/php5apache2_4.dll"
AddHandler application/x-httpd-php .php

I had to add the second one.

Path to php.ini GOOD.

Do not know how to disable extentions.

Still not working.
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 679

PostPosted: Sun 21 Jul '13 0:13    Post subject: Reply with quote

What Apache version you have and where downloaded ?

Is your Apache win32 ?

What version of PHP and is it the TS one ?

Is the dll there ?
Back to top
jlane0



Joined: 20 Jul 2013
Posts: 5

PostPosted: Sun 21 Jul '13 0:51    Post subject: Reply with quote

ok, the dll is there...

As for apache and PHP im not sure... Its what came with ZPanel Stack.

from here.
http://www.zpanelcp.com/download/
Back to top
jlane0



Joined: 20 Jul 2013
Posts: 5

PostPosted: Sun 21 Jul '13 1:05    Post subject: Reply with quote

Here is my netstat. Nothing on port 80

Active Connections

Proto Local Address Foreign Address State PID
TCP 0746cc-611a3153:ftp 0746cc-611a3153:0 LISTENING 1512
TCP 0746cc-611a3153:epmap 0746cc-611a3153:0 LISTENING 660
TCP 0746cc-611a3153:microsoft-ds 0746cc-611a3153:0 LISTENING 4
TCP 0746cc-611a3153:1025 0746cc-611a3153:0 LISTENING 416
TCP 0746cc-611a3153:3306 0746cc-611a3153:0 LISTENING 1420
TCP 0746cc-611a3153:ms-wbt-server 0746cc-611a3153:0 LISTENING 1
488
TCP 0746cc-611a3153:1026 0746cc-611a3153:0 LISTENING 1676
TCP 0746cc-611a3153:14147 0746cc-611a3153:0 LISTENING 1512
TCP 0746cc-611a3153:netbios-ssn 0746cc-611a3153:0 LISTENING 4
TCP 0746cc-611a3153:ms-wbt-server ss-14-80.pld.com:54391 ESTABLISHED
1488





TCP 0.0.0.0:21 0.0.0.0:0 LISTENING 1512
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 660
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 416
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 1420
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING 1488
TCP 127.0.0.1:1026 0.0.0.0:0 LISTENING 1676
TCP 127.0.0.1:14147 0.0.0.0:0 LISTENING 1512
TCP 205.234.153.146:139 0.0.0.0:0 LISTENING 4
TCP 205.234.153.146:3389 24.224.14.80:54391 ESTABLISHED 1488
TCP 205.234.153.146:3389 220.180.190.118:2019 ESTABLISHED 1488
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 416
UDP 0.0.0.0:4500 *:* 416
UDP 127.0.0.1:123 *:* 772
UDP 205.234.152.147:123 *:* 772
UDP 205.234.152.148:123 *:* 772
UDP 205.234.152.149:123 *:* 772
UDP 205.234.152.150:123 *:* 772
UDP 205.234.153.146:123 *:* 772
UDP 205.234.153.146:137 *:* 4
UDP 205.234.153.146:138 *:* 4
Back to top
jlane0



Joined: 20 Jul 2013
Posts: 5

PostPosted: Sun 21 Jul '13 8:26    Post subject: Reply with quote

Anyone?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Mon 22 Jul '13 12:20    Post subject: Reply with quote

jlane0 wrote:


Do not know how to disable extentions.



it is about the php extension on the php.ini
Back to top


Reply to topic   Topic: Error starting apache php5apache2_4.dll with zpanel stack View previous topic :: View next topic
Post new topic   Forum Index -> Other Software