PHP installation issue on a Windows Server hosted in the Azure cloud

Posted on

PHP installation issue on a Windows Server hosted in the Azure cloud – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about windows, mysql, php, azure, .

I am trying to setup PHP and MySQL on a Windows Server that is currently in Azure cloud using the information from this blog post
[http://blogs.msdn.com/b/africaapps/archive/2013/11/05/creating-a-wimp-stack-windows-server-iis-mysql-php-on-windows-azure.aspx]

Now I am testing the PHP installation using the methods specified in that tutorial.
Here are the steps:

1.Open C:inetpubwwwroot and add an index.php.

2.Save the file then go to xxxx.cloudapp.net/index.php

But when I do that I will get:

404 file or directory not found error

I can see the default page at xxx.cloudapp.net in the browser, but can’t see the PHP file in browser.

Solution :

Please make sure you have mapped Php-cgi.exe in IIS properly.

Check the following resource for more information:

http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/

Thanks,

Leave a Reply

Your email address will not be published.