Thursday, October 7, 2010

Install php oci8 on OSX

how to install oci8 for php:
refer to:

what not mention in the documtation is :::
after finished installation and i want to  use cli, I must define
the DYLIB_LIBRARY_PATH in my .bash_profile OR /etc/profiles if i want
ex: 
export DYLIB_LIBRARY_PATH=/usr/lib/oracle/10.2/lib:$DYLIB_LIBRARY_PATH       the instantclient library downloaded

this also goes to Linux installation but the export variable is different

for linux(s):
export LIBRARY_PATH=/path/to/instantclientlib:${LIBRARY_PATH}

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...