B.Mossavari & F.Sedighian

Daily WEB [ PHP & Oracle ]

xampp 1.7.2, oracle configuration

January24

If you need to configure your xampp installation (on winXP) to connect to the oracle

- first you need to download oracle basic instant client for windows

- After unzipping the instant client on a selected directory (i.e. c:/instantclient_11_1) you need to copy all dlls from this directory to “xampp/apache/bin/”

- Add instant client directory to windows system variable’s path : follow Start -> Control Panel -> System -> Advanced -> Environment Variables and edit PATH in the System variables list

- now open up php.ini from “xampp/php” and remove semicolon from this line “;extension=php_oci8.dll”

all you have to do is restarting apache and you’re all set

here is a nice document with more general detail about installing php and the oracle instant client for linux and windows

posted under PHP5, xampp | 1 Comment »

APC (Alternative PHP Cache)

December22

As of php5.2 you can use APC to create progress bar for your file upload

here is a nice document from IBM:

http://www.ibm.com/developerworks/library/os-php-v525/index.html

and if you are using php on windows environment you can download php_apc.dll from here:

http://downloads.php.net/pierre/

posted under PHP5 | 1 Comment »