[PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Donahue, Peter

I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8.
I am configuring Php with oci8 (Oracle) support.

Is it possible to build Php on system A, and then move the
files over to another Solaris 8 system and expect it to function
properly? I expect there to be a problem with the ORACLE_HOME
path, if it's not the same on the second system. But I believe I should
be able to solve that by 'export'ing ORACLE_HOME in the
apachectl file.

What I'm trying to do is build Apache and Php so that I can ship them
and install them along with my product.

Thanks for any help

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Can't find oci.h

2003-10-01 Thread Donahue, Peter
I'm building Php (4.3.3) on Solaris and am including oci8 support.
Configure works fine. When I try to build, I get an error on the compilation
of ext/oci8/oci8.c - it can't find oci.h, and then I get tons of errors,
I suppose all stemming from this.

I don't think this is supposed to be in the Oracle home directory, since
there is no -I swithes on the compile line that reference Oracle home,
except for -I/path/OraHome1/rdbms/demo

Does anyone know what I'm missing?
Below is the 1st make command:

/bin/sh /export/home/emsuser/ped/php-4.3.3/libtool --silent --preserve-dup-deps 
--mode=compile gcc
  -Iext/oci8/ -I/export/home/emsuser/ped/php-4.3.3/ext/oci8/ -DPHP_ATOM_INC
   -I/export/home/emsuser/ped/php-4.3.3/include 
-I/export/home/emsuser/ped/php-4.3.3/main
-I/export/home/emsuser/ped/php-4.3.3 -I/export/home/emsuser/ped/php-4.3.3/Zend
 -I/export/home/oracle/OraHome1/rdbms/demo 
-I/export/home/emsuser/ped/php-4.3.3/ext/xml/expat
  -D_POSIX_PTHREAD_SEMANTICS -I/export/home/emsuser/ped/php-4.3.3/TSRM  -g -O2  
-prefer-pic
   -c /export/home/emsuser/ped/php-4.3.3/ext/oci8/oci8.c -o ext/oci8/oci8.lo

---
Peter Donahue
Ciena Corp
[EMAIL PROTECTED]
978-489-2116

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Portability of Php across Solaris systems

2003-10-01 Thread Donahue, Peter

I successfully built Php 4.3.3 on Solaris for apache with ora8 support.
I noticed that the .reg files in php/lib/.registry have hardcoded
pathnames to the php files.
I want to be able to take the php files (along with the apache files)
and install them on a different Solaris system, possibly in a different
directory.
Will I be able to do this, or will the hardcoded paths prevent this?

I haven't seen anything in the php.ini file that appears to help here.

Thanks

Peter

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php