Php installation on windows server 2012 IIS 8 - php

I am trying to host a php website on windows server 2012 with IIS 8. I have installed php using the WPI and have followed the enitre installation process given at :http://www.rackspace.com/knowledge_center/article/installing-php-on-windows-server-2012
But even after succesfull installation when I am trying to run info.php the following error is shown:
Can anyone help me out with solving this error?

My first guess that you're missing to install "FastCGI module" or it is not activated in Handler Mappings for iis. That model is necessary for php.
Check this: http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis
Well, this guide using Windows Server 2008, but it's the same concept as Windows Server 2012.
After installing try to open Internet Explorer as administrator (if you're using other account instead of the administrator account)

Related

Mamp is not seeing localhost

In the MAMP menu bar>> Tools - I am seeing this:
phpMyAdmin(needs PHP5.5x to 7.0x)
SQLite Manager (needs PHP5.2.x or 5.3.x)
I have 8 sites on one shared database developed locally using MAMP. Never had a problem in the past. I cannot access any of the sites via localhost. - the last site I worked on required a newer version of PHP and I added V7.1.1 - the prior sites are run on earlier PHP versions, built full site using php 7.1.1 locally no problem. - That said, currently
none of the sites will open via localhost.
The only thing I can think of is that I may have upgraded to OS Sierra and maybe that threw off a file? I called Apple they recommend not touching the Apache settings. I reinstalled Mamp, no change.
OS Sierra 10.12.3
MAMP V.4.1.1
PHP V. 7.1.1
I can connect to the internet, and my firewall is off.
I checked my host file - everything is there that should be with the exception of : "sudo killall -HUP mDNSResponder" which I read in an earlier thread - do I need this?
localhost connection message:
"Unable to connect
Firefox can’t establish a connection to the server at localhost:8888."
I thought that by downloading the lastest version of MAMP I would be recieving the latest package of software such as apache,mysqyl and phpMyAdmin?
I humbly ask for any insight and thank you in advance!
I'm having this same issue and just found this on google:
After you run the servers on MAMP/MAMP PRO
TRY THIS:
localhost:8888/phpmyadmin

PHP Manager IIS fails to install on Windows Server 2016

I have recently installed Windows Server 2016 and I'm trying to get my IIS 10 set-up to create a site.
The PHP 5.6.30 installed just fine, but the PHP Manager 1.2, WinCache 1.3 for PHP 5.6 and CGI didn't install!
The dialog image:
The PHP Manager log: http://pastebin.com/Y9Ud1XUU
The WebPI log: http://pastebin.com/H13fJU0Z
I've tried setting the MajorVersion to 7 (and other values), but the installer still fails. I have .NET 4.5> installed.
as far as i know this addon/tool has not been working since the release of Windows Server 2012 R2.
i have still to find Another tool like it, but so far nothing has come up
though i have found this solution:
https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/php-manager-for-iis-on-windows-10/33ef32f0-6a86-4803-abc1-6de81110f9a8
(confirmed to work, just remember to restart the IIS manager)
PHP Manager requires .NET Framework 3.5 installed and may require a small hack in the registry as outlined here:
I was able to find a workaround at the PHP manager's site.
Just make sure you have .NET 3.5 installed and modify the following registry:
HKLM/System/CCS/Services/W3SVC/Parameters/MajorVersion
The value is 10 (Ax0). Just change the value to 9 (or 8), then try to install it again.
To avoid future issues with other IIS stuff, change back to 10 (Ax0). It seems that PHP Manager validates the value converting it into string or something related.
On my Windows Server 2016 machine for some reason the Web Platform Installer (downloaded from https://php.iis.net/) gave me a less recent PHP version (5.3.28) than yours, but all components were correctly installed, with the exception of PHP Manager (which I was expecting given it has been discontinued, and I didn't really care anyway...):
Also, if you want, you can install the components manually, by following this detailed post:
Steps to Install PHP manually on Windows 2016 server
It's really not complicated and it will give you a better understanding of what is not working, should that be the case.
With the help of above article I could also verify that the Web Platform Installer did not miss any important parts (modifying php.ini as required by extensions, setting environment variables, and so on).
Hope it helps.
We have several Windows Server 2012 R2 servers with PHP Manager running without problems (sorry Robert). I have just setup a new one and added PHP Manager and others by installing PHP 5.6 with Web Platform installer. The only thing needed extra was .NET 3.5. Have you tried to setup with .NET 3.5 installed?
When you try to install PHP Manager using the direct download link, the setup will ask you to install .NET 2.0. That isn't necessary :).

Issue in installing Wamp server 64 bit on IIS7

I have IIS7 server to host my websites. Earlier I used .net technology but now i want to make a website in PHP and for back end I will use Mysql server. But I am facing a problem in installing Wamp server on my server because when I installed the Wamp server it show me orange color. And not trun in green color. And I cannot stop IIS7. So, I want to run both server. Please Help me. Thanks in advance.
Do not install apache if you have already an IIS server.
You can install for IIS the php "plugin", it is described on the php.net and then you can install a standalone MySQL server you can find a "guide" here

Symfony set up in iis

I have a iis development server set up and i have just successfully downloaded and installed symfony2 which is placed in the web root of this server and im trying to create a bundle within my project and i seem to be getting this error message in the dos box:
the program cant start because of php5.dll is misisng from your computer. Try reinstalling the program to fix this problem
even though the dll is in the directory of the php folder on the C: drive on my computer.
and yes i entered php app/console generate:bundle into the cmd box.
Any suggestions would be very much appreciated
It seems the PHP was not installed successfully or IIS was not configured correctly for the available PHP.
I would recommend to unistall the previous PHP on IIS and install Microsoft Web Platform Installer first; then search for PHP 5.4> and PHP Manager for IIS in the productions list and add/install them.
This is much safe and reliable than installing php manually, specially that it will do IIS configuration for PHP automatically

PHP can't connect with Oracle Database

I have installed Vertrigo Server with [Apache 2.0] & [PHP 5.2.14] on Windows XP X32 but Vertrigo server doesn't includes OCI8.DLL extension for Oracle Database. When I tried to copy this DLL file from another version of PHP I got Apache error:
[v_apache.exe]: The application cannot start because php5.dll is
missing.
Without this DLL file everything is wokrking OK, but I need to connect with oracle Database. Have you any solutions how to add OCI8.DLL extension in that version of PHP and Apache?
Thanks.
Simpliest way is to use Zend Server CE.
It has latest stable apache with latest stable PHP stack, also with oci libraries (and much more).
Download for free (registration required).
After long time searching over the internet finaly I found soltion for it. Strange is that Apache doesn't alert error about real problem, it just says that problem is with 80 port, even when 80 port is free.
Solution is very simle: I just installed Microsoft Visual C++ 2010 Redistributable Package and after averithing was running correctly.

Categories