when I run a php command in command line it alerts that "the program can't start because OCI.dll is missing from your computer".
and then it can't find 'libcs.dll' too.
I have no problem in running php in localhost.(I have IIS)
I appreciate if you help me.
It sounds as if you are describing a problem with a computer other than your localhost, perhaps a hosted site?
If so pass this error onto your site administrators, maybe they will be willing to enable the extension(s) you need.
Take a close look at the diffs between the output of a page from each server containing just this
When developing for deployment on a live server this is usually the step you take first.