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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: After upgrading to 2.4, does not get Php output in browser
Author
albeit



Joined: 20 Dec 2013
Posts: 2

PostPosted: Fri 20 Dec '13 19:47    Post subject: After upgrading to 2.4, does not get Php output in browser Reply with quote

Hi,

I have upgraded to Apache 2.4 and Php 5.5.7. I am not able to get any php script to show output in the browser. Html and text files work fine.

phpinfo works fine and shows output.

Phpmyadmin gives "No data received" in chrome and "The connection was reset" in Firefox.

In command line php -f filename gives me output.

Last lines of my Apache error log:

[mpm_winnt:notice] [pid 2028:tid 376] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Fri Dec 20 2013] [core:notice] [pid 2028:tid 376] AH00094: Command line: 'C:\\Program Files\\Apache Software Foundation\\Apache24\\bin\\httpd.exe -d C:/Program Files/Apache Software Foundation/Apache24'
[Fri Dec 20 2013] [mpm_winnt:notice] [pid 2028:tid 376] AH00418: Parent: Created child process 2628
[Fri Dec 20 2013] [mpm_winnt:notice] [pid 2628:tid 276] AH00354: Child: Starting 64 worker threads.

In Php log it is giving no error.

httpd -t shows: Syntax ok

php -v shows:

PHP 5.5.7 (cli) (built: Dec 11 2013 13:48:27)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies

Regards
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Fri 20 Dec '13 22:15    Post subject: Reply with quote

All looks fine.

You can try in your httpd.conf:


AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off
Back to top
albeit



Joined: 20 Dec 2013
Posts: 2

PostPosted: Sat 21 Dec '13 6:40    Post subject: Reply with quote

Thank you for your help.

I have tried it but it does not work.

I changed my Php from module to fcgi and it worked.

I think Php as module is not working.
Back to top


Reply to topic   Topic: After upgrading to 2.4, does not get Php output in browser View previous topic :: View next topic
Post new topic   Forum Index -> Apache