php-install Digest 19 Jul 2003 15:06:04 -0000 Issue 1467
Topics (messages 11307 through 11310):
Compiling php for Oracle
11307 by: Christian Villada
11308 by: Michael Mauch
Question
11309 by: Timothy Hora
11310 by: Jim Thome
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I'm trying to get PHP 4.2.2 connected to Oracle 8.1.7
in Linux RedHat 9
I had the apache server alredy installed, so I
installed Oracle supposing that the apache was ready
to handle oracle.
When I try the aplication it gives me an error saying
that it don't have the osilogon() function. So I start
to read in PHP.net.
I learnt that the osilogon() is part of the Oracle
Call Interface (OCI8) and that I need to recompile
apache with the --with-oci8 option (I've checked with
phpinfo() and it says that php is running
without-oci8.
I've tried this in the phpxxx directory as root:
./configure --with-oci8
make
make install
I had several warnings in the ./configure phase and
then i get this errors in the make phase:
./.libs/libphp4.a(my_error.o)(.text+0x275): In
function `my_error':
/usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_error.c:32:
undefined reference to `errno'
./.libs/libphp4.a(my_lib.o)(.text+0x37a): In function
`my_dir':
/usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_lib.c:162:
undefined reference to `errno'
./.libs/libphp4.a(my_lib.o)(.text+0x546): In function
`my_stat':
/usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_lib.c:585:
undefined reference to `errno'
./.libs/libphp4.a(my_getwd.o)(.text+0xbe):/usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_getwd.c:43:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/php-4.2.2'
make: *** [all-recursive] Error 1
After the make install i dont get any php.ini
I've never compiled apache before, so I think that
maybe I'm just doing it wrong.
Can anybody help me please?
Am I missing something?
Thanks in advance
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
Christian Villada wrote:
> I'm trying to get PHP 4.2.2 connected to Oracle 8.1.7
> in Linux RedHat 9
> ./.libs/libphp4.a(my_error.o)(.text+0x275): In
> function `my_error':
> /usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_error.c:32:
> undefined reference to `errno'
That's an old bug in old PHP versions compiled on new systems with new
glibc. Use the current PHP 4.3.2 instead.
Regards...
Michael
--- End Message ---
--- Begin Message ---
Hi!
I Installed an compiled the original php4.3.2 also i installed the
mod_php4-4.2.2-117.i586.rpm.
I copied the php.ini file in the right folder an edit them with safe_mode = off
Now my Problem...
I restartet apache with /etc/init.d/apache restart
No Erros Message comes up.
so than i copied the run-tests.php and run-tests2-php in the public html folder
i tried to access over the browser: http://63.246.134.185/run-tests2.php
There comes up the errormessage "You are running this test-suite with
"safe_mode"ENABLED!; Chances are high that none of the tests will work at all,
depending on how you configured "safe_mode""
So i looked up for all php.ini files on the system and edit them. nothing happens.
than i deleted all php.ini files from the system.
It also works now nothing. Can anybody help me cause i'm loosing my mind and get
aggressive... :o)
Sorry my English is horrable
Nice greets from Austria
Timothy Hora
--- End Message ---
--- Begin Message ---
It doesn't appear the Apache is sending PHP files to the PHP
interpreter.
Did you edit your httpd.conf file to add the following lines?
AddType application/x-httpd-php .php
LoadModule php4_module libexec/libphp4.so
--
Jim
>>> "Timothy Hora" <[EMAIL PROTECTED]> 07/19/03 05:17 AM >>>
Hi!
I Installed an compiled the original php4.3.2 also i installed the
mod_php4-4.2.2-117.i586.rpm.
I copied the php.ini file in the right folder an edit them with
safe_mode = off
Now my Problem...
I restartet apache with /etc/init.d/apache restart
No Erros Message comes up.
so than i copied the run-tests.php and run-tests2-php in the public html
folder
i tried to access over the browser: http://63.246.134.185/run-tests2.php
There comes up the errormessage "You are running this test-suite with
"safe_mode"ENABLED!; Chances are high that none of the tests will work
at all, depending on how you configured "safe_mode""
So i looked up for all php.ini files on the system and edit them.
nothing happens. than i deleted all php.ini files from the system.
It also works now nothing. Can anybody help me cause i'm loosing my mind
and get aggressive... :o)
Sorry my English is horrable
Nice greets from Austria
Timothy Hora
--- End Message ---