Gainers & Loosers

Thursday, November 20, 2014

Notes and screenshots related to installing PHP 5.6 on Windows 8.1

The Windows 8.1 Professional on my Toshiba Laptop Satellite Series S70 did not have any PHP to start with. I wanted to take a look at the SQL Server Driver for PHP in CTP. I decided to install PHP. Then make sure it works with IIS 8.0. IIS may not be activated by default. You can activate it from Control Panel (Turn Windows features on or off ).
------
More details regarding the SQL Driver here, http://hodentekmsss.blogspot.com/2014/11/php-driver-for-sql-server-released.html
SQL Server driver (SQLServer31.exe, 499KB, version 3.1.CTP) for PHP is now available as a CTP.

Now
PHP scripts can access Microsoft SQL Server and Microsoft Azure SQL Database.
You can download the CTP here:
http://www.microsoft.com/en-us/download/details.aspx?id=20098&WT.mc_id=Blog_SQL_Announce_DI

Details of this version:
•This version supports PHP Version 5.5 and requires Microsoft ODBC driver 11 (or higher)
•It supports SQL Server 2012; localDB abd AlwaysOn features
•Buffered Queries are included

All SQL Server users can get it at no extra cost including SQL Server Express.
------

If the IIS 8.0 is activated you should be able to see the following screen when you access  http://localhost in  browser on your computer.

For the current laptop the following is the response:

Assuming you had no problem activating IIS 8.0 we can move to the next step of installing PHP 5.x.

Downloading and installing PHP 5.X:

PHP can be downloaded (free) using the latest Web Platform Installer (WebPI) which happens to be WebPI version 5.0 from here:
http://www.microsoft.com/web/downloads/platform.aspx

The advantage of using the WebPI is that not only it installs the PHP engine but also configures it to work with IIS.



Launch WebPI (wpilauncher.exe 113 KB) which brings up the following page where you searched for PHP (there are many others):

 
There is no Version 5.5 which is supposed to pair with the SQL Server Driver for PHP in CTP mentioned earlier. Install version 5.6 by highlighting it, it first checks for prerequisites and then installs.
 

 
Accept and the install starts as shown.
 
 
When the installation is completed, you will be seeing the following in your Control Panel under Programs as shown.
 
Also under Program Files (x86) you would all the PHP files in two folders PHP: v5.3 and v5.6.
 
If you now access IIS 8 by typing in 'IIS' in the Search charm it will display the Internet Information Services (IIS) Manager link. If you click on this link you should be able to see the following when you look for Handler Mappings:
 
 
In the IIS 8's Home you would see both PHP Manager and FastCGI Settings as shown.
 
 
 
In order to complete the installation check if the CGI is enabled in the Control Panel as shown.
 

In order to test if the installation was successful you need to run a small PHP script in your localhost. In order to do this type out the following code in Notepad and save it with the extension php in the root folder of your computer.

 
The file is very simple as shown in the next paragraph.
 
<?php
phpinfo();
?>
 
If your PHP engine is working well you should see the following (only part of a very long page is shown) when you browse this file in your IIS or type the following in the address box of your browser.
 
This completes the installation of PHP 5.6 on Windows 8.1 Professional that works well with IIS 8.0
 
In a future post we take a look at accessing SQL Server 2012 from a PHP application.
 


 
 
 
 
 
 
 
 
 
 
 



 

2014 TechNet Asia Pacific Assured Interoperability event in Honolulu



Mark up December 9-11 for the 2014 TechNet Asia-Pacific conference (29th) in Honlulu, Hawaii. You can access all details from here: www.afcea.org/events/asiapacific

This is a premier event for this region covering defense and government related tecchnologies with thousands of defense perssonel and over 150 exhibitors. This is also a key learning event with lots of courses and panel discussions.

On this site, you can create your own 'My Exhibitors' list after filtering the 150 or so exhibitors as it is impossible to see them all.

 

Wednesday, November 19, 2014

Searching Elbert JJon who has infringed on my rights

My previous posts on copy write violation of my site by the said gentleman may be found here and here.
However, I have neither been able to locate Elbert JJon nor find anything more about him. I certainly have not given any permission to use the content. I will be taking all possible actions against him unless he removes the content. Here is his profile on Google+.



After searching for Elbert JJon on the Web,  I found this site where Elbert JJon has written his posts for the following URL. I am not sure he has JP Morgan Chase Investors' permission to author.
http://jpmorganchaseinvestors2.blogspot.com

It is for the site owners to check and verify if there has been an infringement before proceeding further.

Here is a screenshot of the above site:



He has also authored on the following sites/blogs:

 
 
 
I am not sure these are the only ones.
 
Since they are all on Blogspot, I do hope Blogger will help in closing these accounts.
 
 
 
DMCA.com Protection Status