otuatail Posted October 27, 2011 Share Posted October 27, 2011 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. Quote Link to comment Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 27, 2011 Share Posted October 27, 2011 did you install PHP on the server? Quote Link to comment Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 27, 2011 Share Posted October 27, 2011 dude, anyway its apache not apcahie. hopefully you didn't install it at the wrong destination or something. Quote Link to comment Share on other sites More sharing options...
otuatail Posted October 27, 2011 Author Share Posted October 27, 2011 No everything has been installed on my home stand alone PC It is Apache and it was installed into E:\Apache2.2 AND E:\MySQL E:\PHP5-3-6 Nothing in C: Quote Link to comment Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 27, 2011 Share Posted October 27, 2011 So, have you link apache to php? Quote Link to comment Share on other sites More sharing options...
otuatail Posted October 27, 2011 Author Share Posted October 27, 2011 No The php books and the on-line tutorials do not mention that as far as they are conserned. Install Apache then MySQL then PHP. JOB DONE. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 27, 2011 Share Posted October 27, 2011 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. Quote Link to comment Share on other sites More sharing options...
otuatail Posted October 27, 2011 Author Share Posted October 27, 2011 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 Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 27, 2011 Share Posted October 27, 2011 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.) Quote Link to comment Share on other sites More sharing options...
otuatail Posted October 27, 2011 Author Share Posted October 27, 2011 I am using my desktop PC for development purposes not for a live website. I can transfer PHP to a sever afterwards or during development. Is this still an issue? Quote Link to comment Share on other sites More sharing options...
otuatail Posted October 27, 2011 Author Share Posted October 27, 2011 This is safe php-5.2.17-Win32-VC6-x86.zip Will it work with my original apache_2.0.63-win32-x86-no_ssl.msi Quote Link to comment Share on other sites More sharing options...
otuatail Posted October 28, 2011 Author Share Posted October 28, 2011 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? Quote Link to comment Share on other sites More sharing options...
trq Posted October 28, 2011 Share Posted October 28, 2011 Those exe's aren't meant to be executed directly. They are php's cli. Have you tried reading the install instructions that come in the zip? Quote Link to comment Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 28, 2011 Share Posted October 28, 2011 If you were using xp,i could have guided you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.