How to upgrade PHP version 5.XX to 7.XX version in XAMPP for Windows Server

There is always an open issue on the older version of tool, so it is best to upgrade your tool if it is going to be compatible. Similarly in PHP also, the older version that I had was 5.5.15 and  figure out that it might breach our security with SQL Injection. Thus, I was forced to upgrade our XAMPP server with the latest PHP version 7.1.

The following resolution also solves the issue of “The program can’t start because php5ts.dll is missing from your computer“.

While working on it, I took the reference from many blog while looking around the solution and indeed those sites helped me. So I thought to blog with all the problem I faced in one place and which might help you in future.

1. First, download the required PHP version for Windows. I strongly recommend to use x86 Thread safe version. In many blog, it suggests for x64 version and it didn’t worked for me.

2. Once you unzip it, simply copy paste the whole php files under PHP folder to your XAMPP installation directory.

Note: I would recommend to make the backup copy of your older PHP folder. You might need .ini file later. 

3. Next, open httpd-xampp.conf from XAMPP configuration.

xampp

And modify the PHP location in it. You can comment out the line of php5ts.dll and php5apache2_4 or simply delete it.

LoadFile "C:/xx/xx/server/php/php7ts.dll"
LoadFile "C:/xx/xx/server/php/libpq.dll"
LoadModule php7_module "C:/xx/xx/server/php/php7apache2_4.dll"
#LoadFile "C:/xx/xx/server/php/php5ts.dll"
#LoadModule php5_module "C:/xx/xx/server/php/php5apache2_4.dll"

Then, copy php.ini from your old PHP folder which you back up as in my case, it was asking me that php.ini is missing from your PHP folder. It might not be needed in your case but it is good to have backup in any case.

After this, kindly restart your XAMPP server and it will work with the newer version of PHP.

phpversion

 

 

Thank you

Cheers,

Udhy

 

Advertisements

Enable Terminal Server/Multiple RDP Sessions on Windows 10

I got up a requirement to setup Windows 10 in a cloud from where we want to have concurrent users on it at the same time. It is an easy step for System Administrator on Windows Server, however, as being the normal operating system,  it wasn’t easy to fulfill this requirement on Windows 10.

I googled and tried to come up with a solution. I have seen few tools on internet too but they are not working properly with latest Windows update too.

In the end, I manage to get it done and thought to share my step on my blog. Hereby, I modify the termsrv.dll file from the System32 folder to get it done. Continue reading “Enable Terminal Server/Multiple RDP Sessions on Windows 10”

[Solved] .Net Framework Data Provider. It may not be installed. (MySQL Database)

While I was upgrading .Net Framework in our IIS server which was connected to MySQL Database, I started getting an issue:

“Unable to find the requested .Net Framework Data Provider. It may not be installed.”

.NetError

Solution:

Continue reading “[Solved] .Net Framework Data Provider. It may not be installed. (MySQL Database)”

[Solved] Couldn’t verify Office 365 Subscription.

I have faced a quite weird issue where Office package (O365) gives an error as “Couldn’t verify subscription Excel/Word couldn’t verify your Office 365 subscription. Please make sure that you’re connected to the Internet.”, even though I have an appropriate license for Office 365.

Capture

I got some solution on it and fixed my issue. So I thought to share this info in my blog.

Solution: Continue reading “[Solved] Couldn’t verify Office 365 Subscription.”

[Solved] Unable to Access Mapped Network Drives in Windows 10.

I have a script in my Windows which helps me to mapped different shared locations as a drive.

net use G: \\server1\shared_folder /PERSISTENT:YES

On each logon, it used to mapped successfully (shared a blog on this too), however after upgrading my system to Windows 10 , it doesn’t work. So, I figured out one quick solution which might also be helpful for you guys.

Solution:

Continue reading “[Solved] Unable to Access Mapped Network Drives in Windows 10.”

[Solved] .Net 3.5 framework issue in Windows 10

I have faced an issue while setting up a tool that requires .Net 3.5 Framework in my Windows 10 machine. I managed it and thus thought to write a blog on, as it might help other also who are facing such type of issues.

I have posted similar type of blog but that doesn’t work for me in Windows 10 even it works like a charm for Windows 7. You can explore it too from here.  However, I suggest you to try this step first and if this doesn’t help, then please try the following solution.

In Windows 10, you have to install .Net 3.5 framework by exploring via “Turn Windows Features on or off”. However, once you start setting up, it pops up with following error message:

Finaldotnet35error

Continue reading “[Solved] .Net 3.5 framework issue in Windows 10”

[Solved] How to resolve “System Error 67 has occurred” while mapping website basically in Windows Server 2008/2012.

Hi,

Many of your IT Administrator would have faced this issue known as “System Error 67 has occurred. The network name cannot be found”.

There are lots of solution for this. However, it might depends on your root cause for this. Last time, I was trying to map the website as network drive, it keep on showing me the following mentioned error.

CaptureI have try all the alternatives. Adding the website on Trusted site, running the script as administrator and soon. However, I was able to resolve this issue so easily even it took me for a whole day to figure out. Thus, I thought to share my idea with you which could help you in your work later on.

Continue reading “[Solved] How to resolve “System Error 67 has occurred” while mapping website basically in Windows Server 2008/2012.”