https://en.opensuse.org/api.php?action=feedcontributions&user=Dorancemc&feedformat=atom
openSUSE Wiki - User contributions [en]
2024-03-29T07:12:58Z
User contributions
MediaWiki 1.37.6
https://en.opensuse.org/index.php?title=SDB:Howto_build_oci8_extension_module_for_php&diff=14430
SDB:Howto build oci8 extension module for php
2010-07-13T19:48:07Z
<p>Dorancemc: </p>
<hr />
<div>Howto build oci8 extension module for php <br><br />
<br />
openSUSE 11.2 (x86_64) <br><br />
Linux 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux <br><br />
<br />
# get the instant client for oracle site: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html<br />
In this case get the 10.2.0.4 Version <br><br />
[oracle-instantclient-basic-10.2.0.4-1.x86_64.rpm (34,654,975 bytes) (cksum - 2995184583)] <br><br />
[oracle-instantclient-devel-10.2.0.4-1.x86_64.rpm (289,838 bytes) (cksum - 2347152071)]<br />
<br />
# Install package<br />
> rpm -iv oracle-instantclient-basic-10.2.0.4-1.i386.rpm <br><br />
> rpm -iv oracle-instantclient-devel-10.2.0.4-1.i386.rpm<br />
<br />
# list the install files <br />
> rpm -ql oracle-instantclient-basic-10.2.0.4-1.x86_64 <br><br />
/usr/lib/oracle/10.2.0.4/client64/bin/genezi <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libclntsh.so.10.1 <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libocci.so.10.1 <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libociei.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libocijdbc10.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/ojdbc14.jar <br><br />
<br />
# install the php5-devel rpm from yast and other devel tools<br />
> yast -i php5-devel gcc make <br />
<br />
# download the PECL OCI8 package,<br />
> wget http://pecl.php.net/get/oci8-1.4.1.tgz<br />
<br />
# Extract the package: <br />
> tar -zxvf oci8-1.4.1.tgz <br><br />
> cd oci8-1.4.1<br />
<br />
# Prepare the package: <br />
> phpize<br />
<br />
# Configure the package, either using path Instant Client <br />
> ./configure -with-oci8=shared,instantclient,/usr/lib/oracle/10.2.0.4/client/lib<br />
<br />
# Install the package: <br />
> make install<br />
<br />
# Verify installation<br />
"Installing shared extensions: /usr/lib64/php5/extensions/" <br><br />
> ll /usr/lib64/php5/extensions/ <br><br />
-rwxr-xr-x 1 root root 486841 Jul 13 11:56 oci8.so<br />
<br />
# Make a symbolic link<br />
> ln -s /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so /usr/lib64/libnnz10.so<br />
<br />
# After either an manual install, edit your php.ini file and add the line: <br />
extension=oci8.so<br />
<br />
# Restart apache server<br />
> /etc/init.d/apache2 restart<br />
<br />
# check logs files; <br />
> cat /var/log/apache2/error_log | grep 'oci8.so'<br />
<br />
# And check the phpinfo();<br />
"OCI8 Support enabled " <br><br />
<br />
If don't have any error, the installation is ok <br><br />
<br />
dorancemc[AT]yahoo.com <br><br />
<br />
============================================================<br />
http://www.oracle.com/technology/pub/notes/technote_php_instant.html <br><br />
http://co.php.net/manual/en/oci8.installation.php <br><br />
http://rpmfind.net/linux/RPM/opensuse/11.2/x86_64/php5-devel-5.3.0-2.4.3.x86_64.html <br><br />
http://www.alionet.org/index.php?showtopic=20998 <br><br />
http://download.opensuse.org/repositories/server:/php/server_apache_openSUSE_11.0/ <br><br />
============================================================</div>
Dorancemc
https://en.opensuse.org/index.php?title=SDB:Howto_build_oci8_extension_module_for_php&diff=14400
SDB:Howto build oci8 extension module for php
2010-07-13T17:42:30Z
<p>Dorancemc: </p>
<hr />
<div>Howto build oci8 extension module for php<br />
<br />
<br />
# get the instant client for oracle site: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html<br />
In this case get the 10.2.0.4 Version <br><br />
[oracle-instantclient-basic-10.2.0.4-1.x86_64.rpm (34,654,975 bytes) (cksum - 2995184583)] <br><br />
[oracle-instantclient-devel-10.2.0.4-1.x86_64.rpm (289,838 bytes) (cksum - 2347152071)]<br />
<br />
# Install package<br />
> rpm -iv oracle-instantclient-basic-10.2.0.4-1.i386.rpm <br><br />
> rpm -iv oracle-instantclient-devel-10.2.0.4-1.i386.rpm<br />
<br />
# list the install files <br />
> rpm -ql oracle-instantclient-basic-10.2.0.4-1.x86_64 <br><br />
/usr/lib/oracle/10.2.0.4/client64/bin/genezi <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libclntsh.so.10.1 <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libocci.so.10.1 <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libociei.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libocijdbc10.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/ojdbc14.jar <br><br />
<br />
# install the php5-devel rpm from yast and other devel tools<br />
> yast -i php5-devel gcc make <br />
<br />
# download the PECL OCI8 package,<br />
> wget http://pecl.php.net/get/oci8-1.4.1.tgz<br />
<br />
# Extract the package: <br />
> tar -zxvf oci8-1.4.1.tgz <br><br />
> cd oci8-1.4.1<br />
<br />
# Prepare the package: <br />
> phpize<br />
<br />
# Configure the package, either using path Instant Client <br />
> ./configure -with-oci8=shared,instantclient,/usr/lib/oracle/10.2.0.4/client/lib<br />
<br />
# Install the package: <br />
> make install<br />
<br />
# Verify installation<br />
"Installing shared extensions: /usr/lib64/php5/extensions/" <br><br />
> ll /usr/lib64/php5/extensions/ <br><br />
-rwxr-xr-x 1 root root 486841 Jul 13 11:56 oci8.so<br />
<br />
# Make a symbolic link<br />
> ln -s /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so /usr/lib64/libnnz10.so<br />
<br />
# After either an manual install, edit your php.ini file and add the line: <br />
extension=oci8.so<br />
<br />
# Restart apache server<br />
> /etc/init.d/apache2 restart<br />
<br />
# check logs files; <br />
> cat /var/log/apache2/error_log | grep 'oci8.so'<br />
<br />
# And check the phpinfo();<br />
"OCI8 Support enabled " <br><br />
<br />
If don't have any error, the installation is ok <br><br />
<br />
dorancemc@yahoo.com <br><br />
<br />
============================================================<br />
http://www.oracle.com/technology/pub/notes/technote_php_instant.html <br><br />
http://co.php.net/manual/en/oci8.installation.php <br><br />
http://rpmfind.net/linux/RPM/opensuse/11.2/x86_64/php5-devel-5.3.0-2.4.3.x86_64.html <br><br />
http://www.alionet.org/index.php?showtopic=20998 <br><br />
http://download.opensuse.org/repositories/server:/php/server_apache_openSUSE_11.0/ <br><br />
============================================================</div>
Dorancemc
https://en.opensuse.org/index.php?title=SDB:Howto_build_oci8_extension_module_for_php&diff=14399
SDB:Howto build oci8 extension module for php
2010-07-13T17:41:54Z
<p>Dorancemc: oci8 oracle linux dorancemc</p>
<hr />
<div>Howto build oci8 extension module for php<br />
<br />
<br />
# get the instant client for oracle site: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html<br />
In this case get the 10.2.0.4 Version <br><br />
[oracle-instantclient-basic-10.2.0.4-1.x86_64.rpm (34,654,975 bytes) (cksum - 2995184583)] <br><br />
[oracle-instantclient-devel-10.2.0.4-1.x86_64.rpm (289,838 bytes) (cksum - 2347152071)]<br />
<br />
# Install package<br />
> rpm -iv oracle-instantclient-basic-10.2.0.4-1.i386.rpm <br><br />
> rpm -iv oracle-instantclient-devel-10.2.0.4-1.i386.rpm<br />
<br />
# list the install files <br />
> rpm -ql oracle-instantclient-basic-10.2.0.4-1.x86_64 <br><br />
/usr/lib/oracle/10.2.0.4/client64/bin/genezi <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libclntsh.so.10.1 <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libocci.so.10.1 <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libociei.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/libocijdbc10.so <br><br />
/usr/lib/oracle/10.2.0.4/client64/lib/ojdbc14.jar <br><br />
<br />
# install the php5-devel rpm from yast and other devel tools<br />
> yast -i php5-devel gcc make <br />
<br />
# download the PECL OCI8 package,<br />
> wget http://pecl.php.net/get/oci8-1.4.1.tgz<br />
<br />
# Extract the package: <br />
> tar -zxvf oci8-1.4.1.tgz <br><br />
> cd oci8-1.4.1<br />
<br />
# Prepare the package: <br />
> phpize<br />
<br />
# Configure the package, either using path Instant Client <br />
> ./configure -with-oci8=shared,instantclient,/usr/lib/oracle/10.2.0.4/client/lib<br />
<br />
# Install the package: <br />
> make install<br />
<br />
# Verify installation<br />
"Installing shared extensions: /usr/lib64/php5/extensions/" <br><br />
> ll /usr/lib64/php5/extensions/ <br><br />
-rwxr-xr-x 1 root root 486841 Jul 13 11:56 oci8.so<br />
<br />
# Make a symbolic link<br />
> ln -s /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so /usr/lib64/libnnz10.so<br />
<br />
# After either an manual install, edit your php.ini file and add the line: <br />
extension=oci8.so<br />
<br />
# Restart apache server<br />
> /etc/init.d/apache2 restart<br />
<br />
# check logs files; <br />
> cat /var/log/apache2/error_log | grep 'oci8.so'<br />
<br />
# And check the phpinfo();<br />
"OCI8 Support enabled " <br><br />
<br />
If don't have any error, the installation is ok <br><br />
<br />
dorancemc@yahoo.com <br><br />
<br />
============================================================<br />
http://www.oracle.com/technology/pub/notes/technote_php_instant.html <br><br />
http://co.php.net/manual/en/oci8.installation.php <br><br />
http://rpmfind.net/linux/RPM/opensuse/11.2/x86_64/php5-devel-5.3.0-2.4.3.x86_64.html <br><br />
http://www.alionet.org/index.php?showtopic=20998 <br><br />
http://download.opensuse.org/repositories/server:/php/server_apache_openSUSE_11.0/ <br><br />
============================================================<br />
[[File:Example.jpg]]</div>
Dorancemc