Am running centos5 , I want to compile my apache with php to support the following
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes' '--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar' '--with-config-file-path=/etc' '--with-oci8=/u01/app/oracle/product/10g/db' '--enable-soap' '--with-gd' '--enable-xml' '--with-xml' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png' '--with-ttf=/usr/lib' '--with-freetype=/usr/lib' '--enable-sigchild' '--with-openssl' '--with-iconv'
My current Config:
'./configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'
How can I add the support of OCI8 to bind it with Oracle10g? since my Apache server run with Oracle10g DB...
On Mon, Jul 21, 2008 at 5:37 AM, Mad Unix madunix@gmail.com wrote:
Am running centos5 , I want to compile my apache with php to support the following
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes' '--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar' '--with-config-file-path=/etc' '--with-oci8=/u01/app/oracle/product/10g/db' '--enable-soap' '--with-gd' '--enable-xml' '--with-xml' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png' '--with-ttf=/usr/lib' '--with-freetype=/usr/lib' '--enable-sigchild' '--with-openssl' '--with-iconv'
Okay, If I'm reading this right, you built a separate apache apart from the one shipped in the distro, as well as a separate mysql. Is this correct? Why did you do this? Also, why install mysql at all if you're using oracle?
We do have 2xDB on the System One for the Core based on Oracle10g and the rivate one based for MySQL normally I do Apache Install and php from the source and bind it Oracle10g OCI This time i installed Apache/MySQL through yum install <package>
Thanks
On Mon, Jul 21, 2008 at 1:01 PM, Jim Perrin jperrin@gmail.com wrote:
On Mon, Jul 21, 2008 at 5:37 AM, Mad Unix madunix@gmail.com wrote:
Am running centos5 , I want to compile my apache with php to support the following
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes' '--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar' '--with-config-file-path=/etc'
'--with-oci8=/u01/app/oracle/product/10g/db'
'--enable-soap' '--with-gd' '--enable-xml' '--with-xml'
'--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png' '--with-ttf=/usr/lib' '--with-freetype=/usr/lib' '--enable-sigchild' '--with-openssl' '--with-iconv'
Okay, If I'm reading this right, you built a separate apache apart from the one shipped in the distro, as well as a separate mysql. Is this correct? Why did you do this? Also, why install mysql at all if you're using oracle?
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
My Question is: How to build the OCI8 extension module for php5 under CentOS5?
Thanks On Mon, Jul 21, 2008 at 1:47 PM, Mad Unix madunix@gmail.com wrote:
We do have 2xDB on the System One for the Core based on Oracle10g and the rivate one based for MySQL normally I do Apache Install and php from the source and bind it Oracle10g OCI This time i installed Apache/MySQL through yum install <package>
Thanks
On Mon, Jul 21, 2008 at 1:01 PM, Jim Perrin jperrin@gmail.com wrote:
On Mon, Jul 21, 2008 at 5:37 AM, Mad Unix madunix@gmail.com wrote:
Am running centos5 , I want to compile my apache with php to support
the
following
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes' '--with-gettext' '--enable-mbstring' '--enable-ftp' '--enable-calendar' '--with-config-file-path=/etc'
'--with-oci8=/u01/app/oracle/product/10g/db'
'--enable-soap' '--with-gd' '--enable-xml' '--with-xml'
'--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--with-regex=system' '--with-png' '--with-ttf=/usr/lib' '--with-freetype=/usr/lib' '--enable-sigchild' '--with-openssl' '--with-iconv'
Okay, If I'm reading this right, you built a separate apache apart from the one shipped in the distro, as well as a separate mysql. Is this correct? Why did you do this? Also, why install mysql at all if you're using oracle?
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Your search - madunix - did not match any documents.
Mad Unix wrote:
My Question is: How to build the OCI8 extension module for php5 under CentOS5?
You will need to rebuild the RPM with ociheaders installed and with the --with-oci8 switch ...
http://www.2question.com/demo/install_php_on_redhat_linux_with_10g.html
<snip>
Mad Unix wrote:
My Question is: How to build the OCI8 extension module for php5 under CentOS5?
I've had some success using these instructions / rpms / srpms: http://freshrpms.net/docs/oracle/
Jacob Leaver Sr Systems Administrator ReachONE Internet
I am a bit hesitant to suggest this, but Oracle has already built RHEL-compatible php packages, including php-OCI8. You can find the files at http://oss.oracle.com/projects/php/, built for both RHEL 4u6 and RHEL 5u1. The php-oci8 package depend on the Oracle Instant Client (also available as RPMs), which means you don't have to do a full Oracle install unless you need the actual database server.
I have used them under CentOS 5u2 with good results, but be warned, they will be NOT supported by Red Hat, Oracle, or CentOS.
any one used this method on CenTOS5 64bit
http://pecl.php.net/package/oci8 #pecl install oci8
On Mon, Jul 21, 2008 at 8:59 PM, Jay Leafey jay.leafey@mindless.com wrote:
I am a bit hesitant to suggest this, but Oracle has already built RHEL-compatible php packages, including php-OCI8. You can find the files at http://oss.oracle.com/projects/php/, built for both RHEL 4u6 and RHEL 5u1. The php-oci8 package depend on the Oracle Instant Client (also available as RPMs), which means you don't have to do a full Oracle install unless you need the actual database server.
I have used them under CentOS 5u2 with good results, but be warned, they will be NOT supported by Red Hat, Oracle, or CentOS. -- Jay Leafey - Memphis, TN jay.leafey@mindless.com
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Tuesday 22 July 2008 06:51:33 Mad Unix napisał(a):
any one used this method on CenTOS5 64bit
Yes, we are using it on many servers with no problems. We are also using custom made RPMs with oracle-client and oci - the same story there, no problems.
Regards,
what about this link (its for SuSE) http://en.opensuse.org/Howto_build_oci8_extension_module_for_php
On Tue, Jul 22, 2008 at 10:16 AM, Tomasz 'Zen' Napierala zen@allegro.pl wrote:
Tuesday 22 July 2008 06:51:33 Mad Unix napisał(a):
any one used this method on CenTOS5 64bit
Yes, we are using it on many servers with no problems. We are also using custom made RPMs with oracle-client and oci - the same story there, no problems.
Regards,
Tomasz 'Zen' Napierala Systems Architecture Engineer IT Infrastructure Department Allegro Team http://www.allegro.pl/ _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos