With the default installation of XAMPP for Windows, we don’t get PHPOracle connectivity enabled. This can be enabled easily when you need to connect to a Oracle Database from your PHP application/script. PHP has got the OCI8 extension, which provides Oracle connectivity to PHP application, and OCI8 uses Oracle Instant Client Package to get Oracle specific functions.
I had the need to connect to a Oracle Database from a PHP script in one of my recent projects, the following is what I did to enable Oracle connectivity in XAMPP for Windows.
In your XAMPP Start Page, go to phpinfo, look for string oci8. If string found it indicate that connection to oracle is available, otherwise to activate connection do the following steps:
Open the currently used php.ini file by looking at the phpinfo, from the XAMPP folder.
Find string ;extension=php_oci8.dll. Remove the semicolon (;) ahead of the string to activate the oracle extension.
Save the php.ini file.
Download the “Instant Client Package – Basic” for Windows from the OTN Instant Client page. Unzip it to c:\instantclient_11_1
Edit the PATH environment setting and add c:\instantclient_11_1 before any other Oracle directories. For example, on Windows XP, follow Start -> Control Panel -> System -> Advanced -> Environment Variables and edit PATH in the System variables list.
The popular multiplatform media player VLC Media Player says Merry Christmas to all users this festive season by putting a red Christmas hat icon. This is an Easter egg in the latest version of VLC media player, and those who have the updated version will notice this at use.
Most of my friends know me as a person advocating for Linux and FOSS . But most of them get surpurised to see me using Vista half the time. There are few reason I have for that, but this post is not about that.
While I’m on Linux I really enjoy the text editors such as Kate and gedit , (I’m not a big fan of vi and vim ). But when it comes to Windows I missed them with the default Notepad. Then only I found Notepad++. A cool feature to Notepad++ that was available not in the Windows Notepad is a spell checker feature. This feature is not automatically installed with the initial installation of Notepad++, but we just have to install GNU Aspell , a pre-compiled dictionary. Once you download and install the latest version of Aspell, and a dictionary from for your language of choice (English in my case), from the GNU ASpell site you are ready to use this is a cool feature, and this helps me a lot for sure.
Notepad++ also has many more plug-ins, which make it more like a full fledged IDE, specially FTP browser, Syntax highlighting, Auto-completion and others will help any developer have a great time coding. Here are some of the features it offers with the default install of Notepad++:
Syntax highlighting (and brace and indent highlighting)
Regular expression find and replace
Split screen editing
Spell checker (built in but requires Aspell)
Tabbed document interface
FTP Browser (plug-in included in standard installation)
Support for various file formats including Unicode.
File Status Auto-detection
Zoom in and zoom out
Auto-completion (language and file)
Notepad++ is available only for the Microsoft Windows operating system. However, users can still get Notepad++ to work on other platforms, like Linux and Mac OS X, using software such as Wine .