Usually, we find System or Software that use Apache server, MySQL database and PHP programming language. All of them have been integrated into 1 package, that we knew as XAMPP. XAMPP is great, huh?
Then, I had a new experience to run system that used Apache server, PHP script and Oracle database. I've been using XAMPP 1.7.1, and I didn't want to install another Apache server. And I used Oracle Database 10g XE.
The problem was : how can we integrate XAMPP with Oracle database ?
These are some configurations you should set ::
- open php.ini
- set register_global ON
- set short_open_tag ON
- uncomment extension = php_oci8.dll
- uncomment extension = php_oracle.dll
- don't forget to save the change on php.ini
- then, rename these 3 files :: oci.dll, ociw32.dll and orannzsbb10.dll in \xampp\php and \xampp\apache\bin
- restart the server
Tadaaa, you have successfully set it..
I hope this could help others :D
In my opinion, set register global ON and short open tag ON is not recommended regarding security issue.
ReplyDelete@bay the way
ReplyDeleteas your comment..
when we set register_global ON and short_open_tag ON, then we set unsafe mode ON automatically :p
I used those configurations on Local only,
not in the Client-Server interest
so I ignore it..
Or maybe you wanna share with me,
what is the best way to connect XAMPP with Oracle database? :D
for local is OK...
ReplyDeletebut what if your site would go alive in the future? You want to re-code again?
what if it becomes a habit, and people always set that ON unintentionally?... :P
but it just my opinion anyway... :P
ReplyDelete@bay the way
ReplyDeletewe can call it "suicide"
kwkwkwkw
I don't want it happen to me
so, I always obey yours :D
how to open php.ini
ReplyDeleteYou can open it using any text editor.
ReplyDeleteFor example, "Notepad"
Thanks a lot.. this is working
ReplyDeleteglad to hear that :D
Deletewhich folder need to be rename to oci.ddl,ociw32.dll and orannzsbb10.dll?
ReplyDeleterename these 3 files :: oci.dll, ociw32.dll and orannzsbb10.dll
Deletein \xampp\php and \xampp\apache\bin