Author |
|
Laurid
Joined: 27 May 2011 Posts: 2
|
Posted: Fri 27 May '11 14:09 Post subject: |
|
|
Hi!
I'm a little bit frustrated to get Apache and PHP 5.3.6 to works on Win 7 64 Bit. Your package looks really great. I followed the installation instruction, but I can't get PHP to work.
Can you post your Apache.ini? I'm not shure if I added the correct lines to the original Apache file:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\Program Files (x86)\Apache Software Foundation\Apache2.2"
LoadModule php5_module "php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
I renamed the index.html in the htdocs folder to index.php. But all I see is the html code, when I call it:
<html><body><h1>It works!</h1></body></html>
Althoug I can't start the server with the start.bat, but it works with the ApacheMonitor.
My Error file looks like this:
[Fri May 27 13:59:32 2011] [notice] Apache/2.2.19 (Win64) PHP/5.3.6-Win64 configured -- resuming normal operations
[Fri May 27 13:59:32 2011] [notice] Server built: May 23 2011 11:18:32
[Fri May 27 13:59:32 2011] [notice] Parent: Created child process 5232
httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::20fa:da26:2771:d3ea for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::20fa:da26:2771:d3ea for ServerName
[Fri May 27 13:59:32 2011] [notice] Child 5232: Child process is running
[Fri May 27 13:59:33 2011] [notice] Child 5232: Acquired the start mutex.
[Fri May 27 13:59:33 2011] [notice] Child 5232: Starting 64 worker threads.
[Fri May 27 13:59:34 2011] [notice] Child 5232: Starting thread to listen on port 80.
[Fri May 27 13:59:34 2011] [notice] Child 5232: Starting thread to listen on port 80.
Thanks a lot for your help!! |
|
Back to top |
|
Virsacer
Joined: 16 Jan 2010 Posts: 108 Location: Germany, Darmstadt
|
Posted: Sat 28 May '11 11:40 Post subject: |
|
|
Hi,
for PHP I have only this in my apache.ini:
Code: | AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php
LoadModule php5_module php5apache2_2.dll |
But your errorlog does not contain anything unusual...
Laurid wrote: | I renamed the index.html in the htdocs folder to index.php. But all I see is the html code, when I call it:
<html><body><h1>It works!</h1></body></html> | Have you tested a php file which actually includes php-code?
Laurid wrote: | Althoug I can't start the server with the start.bat, but it works with the ApacheMonitor. | Did you install the service using my bat file?
Becuse if not the service might have a different name... |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Sat 28 May '11 11:47 Post subject: |
|
|
I want to repeat: Please start a new Topic for each release of your downloads.
Steffen |
|
Back to top |
|
Virsacer
Joined: 16 Jan 2010 Posts: 108 Location: Germany, Darmstadt
|
Posted: Sat 28 May '11 13:25 Post subject: |
|
|
I did not release a new version since you said it the first time... |
|
Back to top |
|
Laurid
Joined: 27 May 2011 Posts: 2
|
Posted: Tue 31 May '11 10:19 Post subject: |
|
|
Wohoo it works! Yippie!
I simply added the "AddType" and the "AddHandler" and now everything works fine! ... btw: this really makes sence
Thanks a lot for your help and for your work!
The server is running really fast and stable. Thanks. |
|
Back to top |
|
BorkFrey
Joined: 08 Nov 2011 Posts: 1
|
Posted: Tue 08 Nov '11 9:00 Post subject: |
|
|
What`s difference in addtype and addhandler ?
Last edited by BorkFrey on Wed 20 Jun '12 8:27; edited 2 times in total |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 09 Nov '11 22:27 Post subject: |
|
|
BorkFrey wrote: | What`s difference in addtype and addhandler ? |
Addtype tells the server which kind of file with that extension. In this case application/x-httpd-php.
AddHandler tells that a predefined handler (module or cgi programm) should be executed before delivering the content. |
|
Back to top |
|
Ninj
Joined: 25 Apr 2012 Posts: 2 Location: France
|
Posted: Mon 05 Nov '12 18:22 Post subject: PHP 5.4.6 |
|
|
Hi,
Any chance to get your zip updated for PHP 5.4.6 ? I'm using another 64b package with Apache 2.4 and PHP 5.4.6, but i can't find a compatible APC module for these versions
Or do you know a topic with that module?
Thank you! |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
|
Back to top |
|
Ninj
Joined: 25 Apr 2012 Posts: 2 Location: France
|
Posted: Tue 06 Nov '12 10:32 Post subject: |
|
|
That's a sad news indeed. I red the whole topic there, and it looks like some motivated dudes will go on with these builds.
Still, can i, for the moment, find an x64 build of APC for PHP 5.4?
Thank you! |
|
Back to top |
|