Can Apache 2.2.27 (win 64) truly work with php x64?

Discussion in 'Web Hosting' started by Yshua, Apr 22, 2014.

  1. #1
    Dear Analysts:

    Have Windows 8 pc x64 with php-5.5.11-Win32-VC11-x64, httpd-2.2.27-win64, but all php5apache2_2.dll files loaded from various php downloads give the error,

    httpd: Syntax error on line 131 of C:/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2_2.dll into server: %1 is not a valid Win32 application."

    Seemingly the httpd-2.2.27-win64 is incompatible with php x64 module. Is this true or false. This answer determines whether all my programs have to be reworked for the 2.4 level Apache.

    Thank you so much,
    Yshua
     
    Yshua, Apr 22, 2014 IP
  2. Yshua

    Yshua Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Dear Forum Members:

    Now the same error is given after complete removal of Apache2.2.27 and install. of Apache2.4.9!! Wow. The nearest explanation may be the:eek:
    Enable32bitAppOnWin64 value which on a search on the internet is set to either true or false. The internet showed an exact program sequence of a few lines to set or reset this IF YOU HAVE an IIS 6.0 or IIS7 server! Surely we can set this simple value ourselves, if someone can suggest how....
    Am currently puzzled.

    Thanks for any and all input,
    Yshua:eek:
     
    Yshua, Apr 22, 2014 IP
  3. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #3
    Here's the relevant part of your post, which answers your query when you cut our the irrelevant information.....
    From what I remember that setting is an IIS setting, and since you're attempting to install Apache (a WEB server) then you're not using IIS (a WEB server).

    Also, Windows 8 would run IIS8 if you enabled it, not IIS6 or IIS7.

    As for why you're attempting to install Apache when a superior web server (IIS8) is available natively, I have no idea. IIS8 will run your php applications much faster on your PC than the Apache server you're attempting to install. You should also install PHP Wincache for even better performance if using IIS8.
     
    RonBrown, Apr 24, 2014 IP
  4. Yshua

    Yshua Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    Solved!
    Thanks always for your all's awesome patience. Had put all main packages, php, MySQL, Apache, etc., in C: directory because a visiting programmer cajoled me over two or three extra steps to change a file! But any x86 packages must now be run from within Program Files (x86), and the rest is a breeze. At least we know one possible source of confusion for Windows 7, 8 migrators in the future!

    Thanks, and please stay positive?
    Yshua
     
    Yshua, Apr 27, 2014 IP