Change Java version on Debian

Type the following commands to change the default:

sudo update-alternatives --config java

You can also add a new java version if you would like by using the following commands:

sudo update-alternatives --install "/usr/bin/java" "java" "<java_binary_file_path>" 1
sudo update-alternatives --set java <java_binary_file_path>
Filed under: Linux No Comments

Setup Oracle for PHP on IIS

1.) Use the ZIP version of PHP as it has the "ext" folder with all extensions

2.) Download Oracle Instant Client

3.) Unzip the the Oracle Instant Client to "c:\instantclient_11_1"

4.) Append "c:\instantclient_11_1" to the system PATH environment variable

5.) Set and/or uncomment the following in your php.ini file:


6.) Restart IIS

net stop iisadmin
net start w3svc
net start smtp
Filed under: php No Comments