Monday, 12 November 2018

I moved to AMD Platform part 5

I have my AMD computer up and running with all the drives connected, fresh, and ready to work. Except the graphics card driver that had been released the same day as my installation I did not install any other drivers.

I did not use the DVD of drivers that  came with my ASUS mother board. I did not need it. Windows 10 had taken care of everything. Why should I stuff my smoothly silent working computer with things. I closed both sides of the computer case (the habit that I never had, being used to leave them open) I put all the noise dampers back on their places and look when you enter the room you cannot recognise a computer is working there.

My phone immediately was found by the Windows, no waiting for the drivers to be installed and trying to find your ways through the forums and manufacturer sites, etc.

They have made things easy these days! Of course out of bad intention! Why? There was a time that as the user of a PC gradually you would become a nerd that could understand what was going under the hood. Then you could find ways around the ad ware spy ware and puffery promises and so on. When you feel you do not need to learn then gradually you become a sheeple that sits and consumes every rubbish like the golden time of TV. TV and news papers with loads of rubbish are back but now on computers with much more power turning the society into a more individualistic way. and at last we have smart TVs. They are actually computers that cannot be tweaked even by most committed nerds.

Now it was the time for installing the Oracle Virtual Box where after adding my Windows 7 x64 I found a new problem. I had no problems with my Linux virtual boxes, though.

I need this Windows 7 virtual as I do my Visual Studio on it.and it is full of my codes. I kept my Windows 7 RTM DVDs when I moved to the Windows 8. But used them to create two virtual boxes one for 32 bits and one for 64 bits Windows 7.

I also use these virtual boxes when some dodgy producers offer free software etc. I download them on virtual boxes and test if suddenly on  using them they act as bait and switch and solicit you to buy a key to see the miracles of the software or when I found them bloatware or other unwanted undesirable behaviours.

Now on first turn on of Windows 7 64 this message came out:

"Your PC uses a processor that is designed for the latest version of

Windows. Because the processor is not supported together with the

Windows version that you are currently using, your system will miss

important security updates."


AMD (and also Intel and Qualcom)  have decided that to leave the support for the Windows 7 and also Windows 8.x in favour of Windows 10. This is consistent with the Microsoft model described earlier; supposedly not releasing a new version of Windows.

If you are interested you can read about this policy change here: Windows 10 Embracing Silicon Innovation.

As we know, Microsoft will push this model forward and individual resists for a while and gradually market will accept it. It is not bad or evil. It is planned by scores or even hundreds of highly skilled, and experienced programmers and operating system developers. (Well, with cues from marketing people and perhaps other layers behind the scene.)


If I had a Windows 7 on my AMD platform as the main (host) operating system and insisted to keep it due to certain reasons, then it could be a great problem. But for me it is just a guest on the virtual box. I can close the warning, ignore it and continue work until the next booting of the machine.

As I will explain under another title on a virtual machine I am not concerned about the security threats. I always have a clone of the machine and if something bad happens I delete the infected machine and reboot in the cloned machine. Virtualisation is partly for this.

I did not want to throw away my Windows 7 DVD's and buy a Windows 10 for my virtual machines.

Happily, more enthusiast people have found a solution. You can delete the file that does not support the new hardware for the security update and use the patch that has been created by this bright enthusiast computer expert at GitHub here:  Disables the "Unsupported Hardware" message in Windows Update, and allows you to continue installing updates on Windows 7 and 8.1 systems with Intel Kaby Lake, AMD Ryzen, or other unsupported processors. 

I used the patch and updated my virtual Windows 7.

Conclusion: As I do not play games and do not develope them and also do not edit videos routinely my AMD Rayzen 7 2600 and X470 platform with its stock cooler is enough for me. I have thrown away all the stupid extra fans and all the home made led lighting that I had. I have a silent well behaving computer with enough power for my C/Java coding, maintenance of my websites and other works. My powerful Graphics card is also beyond the power necessary for watching even in 4k. As I already had case PSU and graphics card it also did not bring much expenses. (I gave my older parts still with a good life time remaining to the charity of cats to sell on eBay). I might buy a glass window for my Thermaltake case to enjoy RGB of motherboard.

Friday, 2 November 2018

I moved to AMD Platform part 4


Then I turned the computer and disconnected it physically from the main. I connected Blu ray and two of the hard disk drives.

I did  not attach all hard drives then, out of being cautious. I have seen things. We all are sleeping at night and when we wake up in the morning there are new realities and new idea in place without being notified. We have to sign and accept at the bottom of small fonts without understanding what is going on and we like to be amused by toys we have bought from them.

“For God’s sake, let us be men
not monkeys minding machines
or sitting with our tails curled
while the machine amuses us, the radio or film or gramophone.

Monkeys with a bland grin on our faces.” 

D.H. Lawrence, Selected Letters

Hence, we might enter into the unchartered waters and we need some patience.

I powered the computer and immediately right click on  the start button and selected the disk manager utility to open it.

But lo and behold! Panic seized me: one of the most important partitions of newly attached disks was labelled as "Recovery healthy partition" a total of 1 TB. It contained all my codes, backup of my websites and many other goodies. It did not also appear on the My Computer" Windows

Many thoughts came to  my mind. For instance I am used to label partitions with Greek alphabets instead of Latin and I load my costume made icons with them - such as lambda theta etc. The lost partition had a combined name "PsiPhi" to be pronounced as Sci-Fi. and its icon was also combined letters, ψφ.  Perhaps this was the reason.

I also change letters Windows uses for enumerating partitions. I do not like when Windows start from the letter 'D' and then 'E', 'F', 'G' etc. I use X, Y, Z, U, v, W and so on. the lost partition was always labelled as X. As Windows installation has its own use of letter X and Z I became suspicious that this could be the cause. (These letters are something related to the OS and are not engrave into the hard drives. so no worries about this)

Well, happily it is a rule that when Windows become confused and label a partition it is just a label and should be corrected.

I opened a command prompt as administrator and typed "diskpart" (without quotation marks, of course - to the end of this article) to open the application for examining the partitions.

On the diskpart prompt I typed  "list disk" and tapped the  "enter" key. A list of my drives (now two of them) came.

Next I typed "select disk 1" and entered. Disk 1 is the disk that contains my ψφ partition. 

Then I typed "list partition" and entered. A list of partitions come on the command. Voila! here is my lost partition It is not primary as it should it is described as the "Recovery"

I select the "Recovery" partition to examine it by typing "select partition 1" and enter.

After selecting the desired partion I examine its properties by typing "determine partition", or briefly, "det par"  nd enter.  You can see that a description of the lost partition comes in the next lines. 

For the first time label of the partition is shown correctly as "psiphi." But there are differences between this and a primary partition first its type id is "27" instead of "07" second, there is no letter attributed to it and at last under the "info" column it is described as "hidden."

please note that you might find hexadecimal numbers for the recovery type de94bba4-06d1-4d40-a16a-bfd50179d6ac that could be changed or set to the primary type ebd0a0a2-b9e5-4433-87c0-68b6b72699c7. 




(As I had to go back and forth between OS and BIOS and I was a bit in an uneasy state due to disappearance of the partition I did not take snapshots and used the camera on my mobile phone to take the pictures, so the previous picture is patched with the mobile phone pictures.)

I need to chang the "type : 27"  id to "type : 07" id, everything then will be back to normal. Even if you delete a partition you can undelete it easily but you should not be tempted to fiddle with things on your own such as formatting the deleted partition or writing things on it that make reversing the situation more difficult.

Now as the partition is already selected, I type "set id=07" and enter. To check if the partition is back to primary I type "det par" again and enter.  I can see the changes have been done.



No letter is attributed, but the volume number is also has changed from "12" to "3". It does not appear in "My Computer" until you attribute a letter to it. I opened the "Disk Management" utility and find it as the "primary" partition with no letter. I select a letter for it (my favourite X) and see that now it appears in "My Computer" too.


Thursday, 25 October 2018

I moved to AMD Platform part 3

Besides other preparations I downloaded the latest driver for my graphic card (ASUS Strix). By Chance it had been released a few days before my download.

Having everything prepared, I connected power and fans to the motherboard. I connect all SATAs before installing graphic card. It is possible to connect them after but it is a bit difficult with the big graphic cards on your way. I disconnected SATAs from all SATA devices.

Also I disconnected Power from PSU to SATA's. I do not like to have power on the devices when they are not connected. I have this habit from the ancient time when we would not turn on HiFi devices when no speakers were connected to the audio outputs. It could be an obsession but sometimes gut feeling cautiousness is what one needs to follow rather than promises of other engineers.

There is a new mistake regarding recent on board graphics output on AMD boards. One can use them when he has installed the right, graphic supporting AMD CPU's are installed. As far as I know none has come to the market yet. Some people on the idea that there is such a facility available do not attach any graphics card and voila: three beeps from the BIOS as the sign of "no graphic cards!"

Even with those processors the video does not enjoy what you might love to have. Perhaps they are good for the organisations computers and workstations. They use a share part of your RAM's for graphic processing - some 2GB. Right now I have not any judgement about those builds and how far they are useful for Video editing or watching HD, 4K etc. For gaming definitely they do not satisfy those gamers who use two cards each with 11 GB DDR5.

Then I connected graphic card, keyboard, and mouse, and broadband. I turned on the computer and entered BIOS by pressing "Delete" key. In BIOS I checked that CPU, memories, and above all the WD M2 SSD and mouse and broadband were fully recognised.

In BIOS upgrade menu you can see the option to upgrade it through the internet but I prefer to use the memory stick for that job.

I turned off the computer and connected the flash memory stick that contained the BIOS upgrade to its latest version. I turned it on again and followed the procedure for upgrade. Happily, BIOS had recognised the existence of the memory stick with upgrade and did it smoothly through it.

I turned off the computer again removed the BIOS update memory stick and attached the Windows 10 memory stick and turned the computer again. I entered the BIOS and asked it to boot through the memory stick.

Windows 10 installation software on the flash memory without any error recognised the WD Green M2 and completely installed Windows 10.

This is the latest version of Windows 10 with all updates and everything. I can be sure that it dos not need any driver or software accompanied on the DVD of your motherboard. This is the new policy of Microsoft. No future version of Windows is promised. Windows 10 is the last version of Windows and Microsoft will only updates it constantly and all previous versions will become obsolete similar to DOS and Windows 3 and so on.

Most people know how to follow from this point on. You can skip the activation key and password setting etc. But a new idea as the PIN has been introduced in expectation of uniformity with portable devices such as Surface, mobile phones, BYODs and such. You have to do that. Do not disturb smooth installation by trying to avoid this. Later after logging to your Windows and checking everything you can remove it if you like.

After I opened my Windows for the first time, I ejected the memory stick and removed it from the USB. Immediately I connected the graphics card USB and installed "just drivers". I do not like that at this stage, to install software that later constantly ask me things or producing hurdles that I should search forums for their answers and solutions.

I went to the activation in control panel and activated my Windows through the key that I had acquired from Microsoft.

I restarted my Windows. I did a thorough clean up. and disk optimisation and again restart (after clean up some temp files will only be deleted through the restart at the reboot stage.

Then I followed the procedure to create an image backup of the entire activated  but yet untouched Windows. This job needs a 32GB memory stick which is now under £8.





Wednesday, 24 October 2018

I moved to AMD Platform part 2



In new build I got rid of the Corsair H115i liquid cooler that I had and also all the decorating LED's etc. I did not need to cool down my Intel 2011 6 cores extreme with 150 watts TDP.

I also removed my Sandisk 512 GB SSD. I noticed that maximum I use 140 GB on the main hard drive of my computer so 512 GB was always almost empty. I save everything on a set of HDD which are in excess of 10 TB and arranged for different tasks.

I cannot put my pictures and documents next to operating system that always is subject to different issues. I also every now and then save my things on Blu rays. That I cannot find things on these things later is another issue that still has not been solved. I like other consumers of new technologies cannot hire a personal private IT person, and we know that even them are lost among the huge flood of data.

The highest usage of my main drive is for LaTex that I use MikTex and I am used to complete install of their packegs. I also have some in-house apache webserver, a Microsoft office and such.

I installed the Rayzen CPU, WD Green M2 SSD and the stock cooler that came with the processor on the bench. I used the antistatic bag of the motherboard as the anti static surface under the mother board during these installations.

I also installed four pieces of Crucial DDR4 2666 MHz (4x8GB the most expensive item in this build) at this stage.

Then I put the whole build in the case (Thermaltake suppressor F51). I already had attached the back plate. on doing the screws I noticed one screw was under the M2 SSD and left undone which was not important. Eight screws are enough. I paid attention on tightening the screws to prevent counter torques that can damage the motherboard.

I liked a fresh install with all the sufferings that I experienced when tried to use images of pf Windows that I had on previous hardware builds. I did not connect any HDD. Windows should be installed on the WD Green alone both for cations and also ease of    installation.

Windows ISO on the DVD's these days won't go easily with the M2 SSD's. So from the official Microsoft Windows 10 I downloaded a flash memory stick version of the Windows 10. I used my laptop for that job. When the download software asked me if it should add some details of the laptop I un-checked the box. I did not need it for the laptop, obviously. I used an 8 GB memory stick for the Windows image.

I also downloaded the latest version of the motherboards BIOS from the ASUS site. I have a separte dedicated marked memory stick just for updating BIOS.



Monday, 22 October 2018

I moved to AMD Platform part 1

Few years ago I decided to move to more powerful platforms at home to serve me longer and easily can be upgraded. Reason was that until that time I only used to use Intel motherboards. Well, before that I had IBM motherboards until IBM stopped to build those hardware and so I switched to Intel motherboards.

Actually my story goes back to Z80 and 8080 and these things. From that time there were people who spontaneously had selected Motorola 6800 instead of 8080. IBM took 4004 and then next generations of Intel's and developed DOS instead of CP/M. IBM made these two the winners but itself gradually left the arena.

When I noticed Intel would not build any motherboards of its own for non-server computers, still I could not use AMD. I was not familiar with their CPU's.

Then I wondered which socket of Intel was more promising than the others. Intel vastly was promoting socket 1366, but suddenly announced that there was an error in creating that socket and no further development would be possible

At the same time Intel marketed socket 2011. I found the idea of having 2011 pins on a microprocessor very stable and promising and also very exciting. I could remember there was a time, an ancient time, that we called a TTL with 24 pins a millipede.

As Intel did not build any motherboard for this socket, after some search I decided to move to ASUS. Well, Gigabyte and MSI and others are also good enough, but ASUS has some reputation I liked to test. When I bought my (Intel chipset) X79 motherboard from ASUS, immediately I noticed that its accompanying CD was outdated in terms of Windows.
True, they had all updates on the motherboard site. But, as I also sent an email to them, it was better if instead of that or on the side of that they put an updated ISO image. Then you can burn  it and use it as the motherboard accompanying DVD. That could make me happy; having the latest ISO

It is still advisable if they do that for their new boards with so many fuss that they have about their Republic of Gamers, etc., etc. They can put also an image of the sticker that you need to put on the DVD such that you download and print it make a DVD  similar to what was with the motherboard.

Immediately after I finished my build, Intel announced that they would discontinue socket 2011 and marketed a 2011 v3 instead, not compatible with 2011. So my new build fell in the blind end.

I, like many other IT power users/enthusiasts who had chosen socket 2011, continued using my build. The important point was the front side speed that was almost similar on all sockets. For example, my G.Skill 2400MHz memory cards worked on 1333MHz, not even nominal 1600 MHz of X79.

From 2016, front side speed witnessed a new upgrade. DDR4 memories with new specs replaced DDR3 and we know that they create a new realm not compatible with DDR3 memories. They can push fsb further. Now they talk of 5000 MHz and above for memory (though most of the people who buy those high end memories cannot tune them and memories roll back to 2400 and so). Chipsets need to run faster fsb and these chipsets are still working around 2400-2666 MHz.

With these in mind, and considering that Intel does not have a clear roadmap to be economically feasible for average users (who pays £1800 for a CPU and after a year found it obsolete), I suddenly decided to move to AMD platform. I focused on new low price low power consuming Rayzen platform completely unlocked for overclocking.

I found two platform X370 and X470 accommodating these CPU's.
First I bought an ASUS X370 with a Rayzen 1600 CPU. Unfortunately, with my 512 GB SSD the system randomly would go to the hibernate state and would not wake up, with freezing shut down and reset button. I had to turn off the PSU externally and turn it on back to reboot the system.

Before it becomes late I returned them to seller and refunded my money (I paid £9 for shipping via Parcel Force).

ASUS X370 was flimsy and cheapie and could not be compared with my ASUS Sabertooth I had

X470 boards have a better promise for future upgrades of Rayzen. So I ordered one of them and a better specs Rayzen 2600. I also got a WD Green M2 240GB SSD.

Friday, 6 January 2017

NetBeans Gets a New Life—or Does It?

(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.)
From the time that Sun Microsystem created Java Café and Java One for developing Java Applications and then acquired NetBeans first as parallel with those and later as consolidating and replacing them until it included further features to develop Fortran and C and C++ and other languages  I was an avid user of this easy to use IDE. NetBeans evolved and evolved and for the goals that it had it was much better than Visual Studio, for instance being Intelligent Sense not only in showing the code but also showing the documentation with hyper texting to move around the documents.

NetBeans was acquired by Oracle at the time that Sun Microsystem was acquired by Oracle. There were speculations that support for the NetBeans will be stopped and the IDE will be scrapped. Some people hastily switched to JDeveloper and Eclipse but most Java programmers kept the hope and Oracle also showed sensibility in continuing funding the NetBeans IDE as its own product and NetBeans improved to its present 8.2 Version.


In November/December 2016 digital edition of Java Magazine editor gives some news that NetBeans has been moved from its Oracle home to Apache Foundation. I did not find this depressing as some might speculate. I know Apache a better place for such thing. Hence, I leave the whole story to the powerful pen of him. 

NetBeans Gets a New Life—or Does It?

The transition from Oracle to the Apache Software Foundation marks the beginning of an uncertain new era for the Java IDE.

At JavaOne this year, the NetBeans community announced that the project was moving from its long-time home at Oracle to the Apache Software Foundation (ASF). In a history that dates back some 20 years, this will be NetBeans’ fifth new home, showing the product’s remarkable power of endurance. An important question is whether working under the aegis of the ASF will bring NetBeans new life and new aficionados, or whether it signals the final chapter of a storied lifeline.

As many readers know, NetBeans is one of the four principal Java IDEs. The others are the open source Eclipse from the Eclipse Foundation, IntelliJ IDEA from JetBrains (consisting of an open source version and a higher-end closed source version), and JDeveloper (a free, closed source IDE from Oracle). What few readers might know is that NetBeans was the first of these products— beating Borland’s JBuilder by a year. (JDeveloper, which was based on JBuilder, was next, followed years later by Eclipse and IntelliJ.)

NetBeans became a popular Java IDE because of several features, most especially the lightness of its use. While competing products had a long setup cycle for new projects and a comparatively “heavy” feel, NetBeans was great for coding on the fly and always felt light and responsive. While it lacked some of its competitors’ code management features, it was the first to offer a built-in execution profiler and, if I recall correctly, the only one to include a small-scale J2EE server, OC4J, to quickly test web projects locally. It was also the first IDE to offer a top-quality Swing based GUI-development tool, called Matisse.

That’s a lot of quality to come from what was originally a student project at Charles University in Prague. (The core development team for NetBeans has remained primarily based in Prague, although marketing and other functions have been based at various times in the United States and elsewhere.)
Eventually, NetBeans was acquired by Sun, where it was open sourced. And through the 2011 acquisition of Sun, NetBeans became part of Oracle. At that point, I was quite surprised to read of Oracle’s commitment to continue developing NetBeans. After all, the company already offered JDeveloper for free and sponsored Oracle-specific packages and extensions for Eclipse. But actually, Oracle did more than just commit to supporting the platform’s development and promotion; it also began using portions of NetBeans in its own products, specifically JDeveloper and VisualVM, and eventually a variety of other development tools. For this reason, even with the move to the ASF, NetBeans has secured a commitment from Oracle to underwrite its development for two more releases: the upcoming 8.x version and the 9.0 release.
If you were to view NetBeans purely as a programming environment, its fate after Oracle’s commitment expires would be most uncertain. Although many projects under the ASF aegis have flourished (Maven, Hadoop, Spark, and others), more than a few projects have migrated to the ASF only to die there. (See the Apache Attic for a list of defunct projects.) However, over the years, NetBeans evolved from an IDE into a platform consisting of large-scale components that can be assembled in different ways to form desktop applications. This architecture uses a rather different approach than Eclipse’s OSGi-based system of modules and bundles. (This page compares the Eclipse and NetBeans architectures.) Numerous companies— including Oracle—have exploited the benefits of NetBeans’ architecture and built applications whose runtime includes the platform components.
These companies have an interest in continuing the forward direction of NetBeans, and some have committed to work on NetBeans in its new home. I expect—but obviously I don’t know—that they will contribute either directly or by engaging NetBeans’ current cohort of developers to continue developing the platform. In addition, the community of users, many of whom are truly dedicated to NetBeans, might well step up and begin contributing. It’s difficult to project the extent of participation because very few projects with so large a user base have been migrated to the ASF, and so there is little history to provide guidance.
For users of NetBeans, though, nothing need be done for now or in the near term. The 9.0 release is scheduled for August 2017 and will cover Java 9. By that time, we will surely have more insight into the transition of NetBeans, the level of activity, and the level of support from both commercial users and the developer community.
Andrew Binstock, Editor in Chief javamag_us@oracle.com @platypusguy   
November/December 2016 digital edition of Java Magazine


Java: Number One Development Platform:

13 Billion Devices Run Java

ATMs, Smartcards, POS Terminals, Blu-ray Players, Set Top Boxes, Multifunction Printers, PCs, Servers, Routers, Switches, Parking Meters, Smart Meters, Lottery Systems, Airplane Systems, IoT Gateways, Programmable Logic Controllers, Optical Sensors, Wireless M2M Modules, Access Control Systems, Medical Devices, Building Controls, Automobiles…

Thursday, 8 October 2015

Web Hosting at Your Home : PHP and Port Forwarding Conflicts

(For the latest PDF files Merger Software please have a look at the top of the left margin, inside the red box.)
From the time that I wrote Web Hosting at Your Home (Revisited) Apache httpd server has seen many revisions. Also people might like to have PHP installed on their web server to be able to load PHP pages.

Assume your web serving computer is clean of any Apache httpd sever of previous versions such as Apache httpd server 2.2. The latest version for Windows operating system is not in the form of an exe file to be run by double clicking and automated install; it even is not compiled for Windows. It is a source file in C programming language that needs compilation.

If you know how to use MinGw or NetBeans IDE or Visual Studio then you need to compile the source and then follow other steps, you even can build an automated EXE file for execution.

The good news is that some people, Apache Lounge, already have done the compilation but still no executable GUI for installation exists. You do not need this far. You can get the compiled server, most likely a zip file, from those people and install it in your comfort.

Create an Apache server folder as near as possible to the root; that is, C:\; for instance, C:\ApacheWeb.

Then download the compiled folder. Mine is httpd-2.4.16-x86-vc11.zip. Note vc11 inside the name of the file. It shows the Visual C distribution version. You need to have your PHP to be of the same flavour, which you can download from PHP download site. Mine is php-5.6.14-Win32-VC11-x86.zip, the same vc11 again. Note please that your PHP is the thread safe. Please, even if your Windows is x64 bits, do not use httpd server x64 or PHP x64 or non thread safe version if you do not like to struggle with forums and their moderators. Also use short names without dot, dash, space and such things for the folders. Behind the scene of software still we are in many aspects at 1999.

Unzip these folders one by one. Bring two unzipped folders into C:\ApacheWeb. Cut Apache24 folder from inside the httpd-2.4.16-win32-VC11 folder nd paste it in C:\ApacheWeb Rename it as Apache. Rename php-5.6.14-Win32-VC11-x86 as just Php, such that now you have two folders as C:\ApacheWeb\Apache, and C:\ApacheWeb\Php. Create a notepad txt file as MyReminder.txt and write in it, "My Apache version is httpd-2.4.16-x86-vc11.zip and my PHP is  php-5.6.14-Win32-VC11-x86.zip (thread safe version)." This helps you to remember later what software you have used. Delete every other thing, but these three.

Put your folders and files of your website into C:\ApacheWeb\Apache\htdocs such that your home page to be naked there; that is C:\ApacheWeb\Apache\htdocs\home.html. Change the existing index.htm that comes as default with the Apache httpd server to indexOld.html. Copy and paste your home.html as index.html there, such that now you have both of them.

Now go to the C:\ApacheWeb\Apache\conf. Open httpd.conf file. Add three lines at the bottom

#Following  3 lines have been added by the webserver designer.
LoadModule php5_module "C:/ApacheWeb/Php/php5apache2_4.dll"
PHPIniDir "C:/ApacheWeb/Php"
AddHandler application/x-httpd-php .php

Please note that in the last line there is a space before .php

Change line 37 of the file from ServerRoot "c:/Apache24" to ServerRoot "c:/ApacheWeb/Apache"
Change line 242 of the file from DocumentRoot "c:/Apache24/htdocs" to DocumentRoot "c:/ApacheWeb/Apache/htdocs"
Change line 243 of the file from <Directory "c:/ApacheWeb/Apache/htdocs"> to <Directory "c:/ApacheWeb/Apache/htdocs">

Now you are ready to go. Open a command prompt "As Admin." Change directory to C:/ApacheWeb/Apache/bin and then type httpd.exe -t and run it, where in response you should get "syntax OK;" otherwise, correct the errors that are mentioned. If your config file becomes accepted in this way, then from the same command line run httpd.exe -k install that creates Windows service to run automatically your webserver every time that you turn on your computer. This service is named as Apache2.4 and can be checked for its properties and specifications inside the Windows management for Services. You can see that the "Description" of service comes as Apache/2.4.16 (Win32) PHP/5.6.14. This completes installation of Apache httpd server and PHP.

As in the previous post ( Web Hosting at Your Home (Revisited) ) mentioned you need to do port forwarding and inbound rule for firewall and other things mentioned in previous post.

Problem : Apache default port 80  may conflict with Skype.

Before running the install command, you might like to change the port that listens to inbound traffic. It is due to the fact that in Windows most of the people have Skype installed. Skype allows using default listening ports 80 which is also default for your Apache. Many believe that they should remove Skype to solve the conflict. This is not necessary.

Change your httpd.conf file listening port wherever you find in the text to, say, 8085, or 9191 and such. Then log into your router and change the port forwarding to 8085; also rename this rule to something else from HTTP to, say, MyWeb in the router. Go to your Windows firewall rule, too, and check if you have configured it with port 80, then change it to the new figure.

If you want to test your local host instead of http://localhost/ type it as http://localhost:8085/ .

Additionally you need to change the free dynamic host IP forwarding from the IP of your home to the new assigned port; for example if your redirecting IP is 188.165.15.29 change it to 188.165.15.29:8085. All such hosts have certain helpful facility to implement this.

Problem : Visitor browser shows IP and does not show the domain name URL (IP address is shown in address bar instead of domain).

Regretfully, this shows your IP in the address bar of the visitors' browsers. For instance, you have acquired free dynamic mysite1.somefree.org and pointed it to 188.165.15.29:8085, then visitors' browsers never show mysite1.somefree.org; but shows 188.165.15.29:8085 and you do not like your IP becomes revealed for security reasons.

Most of the free dynamic dns providers, like the one I use, NoIP, allow acquiring more than one free host name. If allowed you can solve the problem by getting a second name, e.g.,  mysite2.somefree.org. Now, go and configure your free domain names in the dashboard of free provider in the following way.
  • redirect  mysite1.somefree.org to  mysite2.somefree.org:8085
  • redirect  mysite2.somefree.org to your dynamic IP, say, to 188.165.15.29
Now visitor's browser shows  mysite2.somefree.org:8085 which is secure.

Please click on my first free domain name, and notice that you'll be redirected to my second domain name on port 8085.
Please note: this is my hobby home server and might be shut down or under my constant tweaking. Mostly it is up between 7.00 AM to 10.00PM (GMT)