Tag: change

Apache, XAMPP

Change Apache Ports in XAMPP

Change port for Apache 1. Open x:xamppapacheconfhttpd.conf file for edit. 2. Find Listen 80 and change it to Listen 8081. 3. Find ServerName localhost:80 and change it to ServerName localhost:8081. 4. Save the file. 5. Restart Apache.   Change port for SSL 1. Open x:xamppapacheconfextrahttpd-ssl.conf file for edit. 2. Find Listen 443 and change it …

Microsoft SQL Server, Microsoft Windows

How do I fix “Cannot connect to WMI Provider” error?

Error Message: Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid Namespace. This error is caused when the .mof files are damaged during the MS SQL Server 2005 installation. This error typically occurs …

Javascript & Ajax

Change HTML class attribute using javascript

To change an element’s class attribute using javascript do the following: document.getElementById("id").setAttribute("class", "myclassname");document.getElementById("id").setAttribute("class", "myclassname"); or document.getElementById("id").className = "myclassname";document.getElementById("id").className = "myclassname";

Windows 7

Change user password from the command line – Win7

If you would like to quickly change user password without having to enter the control panel: 1. Open command line with administrative rights 2. Issue the following command: net user username password examples: net user akarpouzas 12345678 do not use so simple passwords, this is just an example and, net user “Thanos Karpouzas” 12345678 if …