From: "Viktor S. Grishchenko" <gritzko@dcn.ru> To: community@altlinux.ru Subject: [Comm] Micro HOWTO: PHP и Oracle (oci8) Date: Fri, 24 Jan 2003 16:24:37 +0500 Message-ID: <200301241624.37542.gritzko@dcn.ru> (raw) Удалось красиво собрать поддержку OCI8 для PHP RPM'ом. 1. Берем php-pgsql.spec, как удобный шаблон, переназываем php-oci8.spec 2. Внутри правим: "%define package_name oci8" 3. Добавляем в spec или просто export SHLIB_SUFFIX_NAME=so export ORACLE_HOME=/home/oracle/OraHome1/ (или как есть) 4. Доставляем пакеты методом проб и ошибок (rpm -ba ./php-oci8.spec) 5. RPM готов, ставим. 6. В /etc/init.d/httpd добавляем export ORACLE_HOME=..., в /etc/httpd/conf/php.ini (именно в этом php.ini) добавляем extension oci8.so 7. Вуаля. Спасибо Александру Боковому и разработчикам PHP за механизм PHP extensions. -- В.С.Г.
reply other threads:[~2003-01-24 11:24 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200301241624.37542.gritzko@dcn.ru \ --to=gritzko@dcn.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git