Jump to content

installing Apcahie, MySQL & PHP (Neary there)


Recommended Posts

I installed Apachie webserver on my windows 7/64 PC.

apache_2.0.63-win32-x86-no_ssl.msi

This tested ok.

 

I installed MySQL mysql-installer-5.5.14.0.msi. This required the .net 4 framework but that was ok. Not tested it yet.

 

I installed pho php-5.3.6-nts-Win32-VC9-x86.msi. This installed up to a point. According to my books and on line tutorials, I should have ended up with a page WebServer setup with options like

Apachie 1.3 Module

Apachie 2.0 Module

Apachie 2.2 Module

IIS CGI

Other CGI

Do not set up a web server

 

 

I only get the last three. It doesn’t seem to accept Apachie. When I create a test php page

<?php

Phpinfo();

?>

 

As info.php, I get exactly that, php is not recognised. What has gone wrong here.

Any help on this please

 

Desmond.

 

Link to comment
Share on other sites

The latest php windows binary is NOT compatible with the Apache windows binary when running php as an Apache Module. You would either need to install the latest php as a CGI application or obtain a windows binary build of Apache that is compatible for use with php as an Apache Module (you can get such a build of Apache at http://www.apachelounge.com/download/ )

 

Edit: From the php.net page where you got the php package -

Which version do I choose?

 

If you are using PHP with Apache 1 or Apache2 from apache.org you need to use the VC6 versions of PHP

 

If you are using PHP with IIS you should use the VC9 versions of PHP

 

VC6 Versions are compiled with the legacy Visual Studio 6 compiler

 

VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and stability. The VC9 versions require you to have the Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed

Do NOT use VC9 version with apache.org binaries

 

VC9 versions of Apache can be fetched at Apache Lounge. We use their binaries to build the Apache SAPIs.

Link to comment
Share on other sites

I have gone to apache Lounge and downloaded

httpd-2.2.21-win32-x86-ssl.zip // this is 1.0.0e+nasm zlib-1.2.5+asm

httpd-2.2.21-win32-x86-ssl_0.9.8r // This is 0.9.8r+nasm zlib-1.2.5+asm

 

Don't know which to us with

php-5.2.6-win32-installer.msi

 

or this

VC6 x86 Non Thread Safe (2011-Mar-22 13:28:39)

php-5.2.17-nts-Win32-VC6-x86.zip

 

PLEASE HELP

 

 

Link to comment
Share on other sites

php-5.3.6-nts-Win32-VC9-x86.msi

 

Here is another issue with the php package you tried. nts stands for non thread safe, meaning it cannot be used in a multi-threaded web server configuration (i.e. cannot be used as a server module. Can only be used as a CGI application.)

Link to comment
Share on other sites

I have taken all this advice as a novice to instalation. I have downloaded

http://windows.php.net/downloads/releases/php-5.2.17-Win32-VC6-x86.zip

This is VC6 and Thread safe. Problem it doesn't install.

There are 3 EXEs

php.exe Opens up a doss command window and stops

php-cgi.exe Opens up a doss command window and stops

php-win.exe Just stops dead nothing

 

I am running Windows 7 64 bit. Is this a problem?

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.