[PHP] How to compile PHP-4.1.0 or 4.0.6 with Oracle-9i ?

2001-12-11 Thread Somsak RAKTHAI

Dear sir,
  Now I install "Oracle-9i" running on RedHat-7.2.

  In php-4.0.6 and php-4.1.0 have option for Oracle-7 or 8 below.

  --with-oci8[=DIR]   Include Oracle-oci8 support. Default DIR is
  ORACLE_HOME.
  --with-oracle[=DIR] Include Oracle-oci7 support.  Default DIR is
  ORACLE_HOME.

  Don't have option for Oracle-9i.
  When I used command below.
  ./configure --with-apache=../apache_1.3.22 \
--with-mysql=/usr/local/mysql \
--with-imap=../imap-2001a \
--with-ldap=/usr/local/openldap \
--with-oci8=/u01/app/oracle/product/9.0.1 \
--enable-sigchild

   It has error messages below.

   checking for Oracle-OCI8 support... yes
   checking Oracle Install-Dir... /u01/app/oracle/product/9.0.1
   checking Oracle version... configure: error: Oracle-OCI8 needed
libraries not found

   I want to compile PHP with Oracle-9i.
   Please let me know more detail how to solve this problem ?
   thank you very much.
   regards,
   Somsak.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Function OciLogon().

2001-12-13 Thread Somsak RAKTHAI

Dear sir,
  I used PHP 4.1.0 and Oracle 9i running on RedHat-7.2.
  I have question about Oracle function OciLogon().
  I have problem about my source below.



   When run this source on browser, it has messages below.

Warning: _oci_open_server: Error while trying to retrieve text for error
ORA-12546 in /usr/local/apache/htdocs/registra/oracle2mysql/a.php on line
3

Warning: _oci_open_server: Error while trying to retrieve text for error
ORA-12546 in /usr/local/apache/htdocs/registra/oracle2mysql/a.php on line
4

  Please let me know how to solve this problem.

  thank you very much.
  regards,
  Somsak.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]