Php4 and oracle8i
hello all,
i want to configure php4 with oracle8i under linux but i have only one machine.
i installed oracle server but somebody has told me that i have an oracle client
how can i have my oracle+php working good?
is this true that i have necessary to have an oracle client installing to configure a php4?
nb:
os redhat6.22
oracle 8i
php4
my oracle sever works fine.
null
polish letters aren't displayed correctly!!!What are you seeing ? Can you do a DUMP() on a given row of your Polish data. Can you show me your sample PHP code ?
Similar Messages
-
Has anyone that has work'd with Oracle longer than me using PHP3
had any experience with actually designing a package within your
database and calling it's functions/procedures rather than doing
direct DML calls from your PHP3 pages? I'm currently trying to do
this with PHP3 version 3.0.11 and the Enterprise edition of
Oracle (8.0.5.1)... I am wondering if actually making the calls
as "exec package.function (...)" is the only way around this as
that seems to be the only way to execute them while in
SQL*Plus...
Responses on the board would be read but if emailing me direct
would be better I would appreciate the extra effort...
nullHas anyone ever built php3 or php4 against Oracle8i ?
I'd like to know how you accomplished it . I'm having a devil
of a time.
This is the kooky output I get after the make :
/usr/bin/ld: warning: type and size of dynamic symbol `ofetch'
are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `orol' are
not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oerhms'
are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oclose'
are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oexfet'
are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `olog' are
not defined
/usr/bin/ld: warning: type and size of dynamic symbol `ocom' are
not defined
/usr/bin/ld: warning: type and size of dynamic symbol `obndra'
are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `ocof' are
not defined
/usr/bin/ld: warning: type and size of dynamic symbol `ologof'
are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oopen' are
not defined
/usr/bin/ld: warning: type and size of dynamic symbol `odefin'
are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oflng' are
not defined
/usr/bin/ld: warning: type and size of dynamic symbol `ocon' are
not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oexec' are
not defined
/usr/bin/ld: warning: type and size of dynamic symbol `oparse'
are not defined
/usr/bin/ld: warning: type and size of dynamic symbol `odescr'
are not defined
even though the make itself succeeds $? = 0.
Any hints ? I'm not a PHP guy, but I have one on staff, and
would like to give him his favorite tool.
- Freddy Wissing
[email protected]
Jeremy T. Bouse (guest) wrote:
: Has anyone that has work'd with Oracle longer than me using
PHP3
: had any experience with actually designing a package within
your
: database and calling it's functions/procedures rather than
doing
: direct DML calls from your PHP3 pages? I'm currently trying to
do
: this with PHP3 version 3.0.11 and the Enterprise edition of
: Oracle (8.0.5.1)... I am wondering if actually making the calls
: as "exec package.function (...)" is the only way around this as
: that seems to be the only way to execute them while in
: SQL*Plus...
: Responses on the board would be read but if emailing me direct
: would be better I would appreciate the extra effort...
null -
A question about Tuxedo7.1 and Oracle8.1.7 in win2000
I have install Tuxedo7.1 and Oracle8.1.7 in win2000.
when update the Oracle record by a Tux Service,
the record is not change,and the Oracle system leave a dead lock.
I had test Tuxedo7.1 with Oracle8.1.7,Tuxedo7.1 with Oracle8.1.6 and Tuxedo7.1
with Oracle9.2.0.1,all of them have the same question.
I think may be the question cause by Tuxedo7.1,SO i want know
where to get the patch of Tuxedo7.1 for win2000.
May be you have other advice,Please tell me.
Thanks.Yes,I am using pro*c and XA.
when update the record,the sqlca.sqlcode return is 0.
Thanks.
"roopesh" <[email protected]> wrote:
>
are you using pro*c ?
what does the sqlca.sqlcode return?
does it return success before you commit the transaction ?
are you using XA also ?
Regds
Roopesh
"meteorlee" <[email protected]> wrote:
"meteorlee" <[email protected]> wrote:
I had call tpcommit in the transcation.and use the valid TMS.
I have install Tuxedo7.1 and Oracle8.1.7 in win2000.
when update the Oracle record by a Tux Service,
the record is not change,and the Oracle system leave a dead lock.
I had test Tuxedo7.1 with Oracle8.1.7,Tuxedo7.1 with Oracle8.1.6 and
Tuxedo7.1
with Oracle9.2.0.1,all of them have the same question.
I think may be the question cause by Tuxedo7.1,SO i want know
where to get the patch of Tuxedo7.1 for win2000.
May be you have other advice,Please tell me.
Thanks. -
1Z0-035 Oracle9i New Features for Oracle7.3 and Oracle8 OCPs ...
Hi All
I am preparing for OPP exam 1Z0-035.
Oracle9i New Features for Oracle7.3 and Oracle8 OCPs ..
Can somebody please let me know where can I get the Oracle Material (pdf) for the same.
or any good book i can purchase.
Thanks
Shahid
[email protected]Hi,
I am interested in knowing the link for 1z0 035.
Please let me know Shahid - if you have got the document or any particular book.
I need to give my exam.
Thank you,
Gauri
[email protected] -
JAVA IDE options for development against OAS and Oracle8i
I'm wondering whether JDeveloper is the only Java IDE option
when developing Java apps for deployment on OAS and Oracle8i.
Is it possible to use VisualCaf or Jbuilder instead and how
does these tools compare to JDeveloper?
nullJesper Bech Petersen (guest) wrote:
: I'm wondering whether JDeveloper is the only Java IDE option
: when developing Java apps for deployment on OAS and Oracle8i.
: Is it possible to use VisualCaf or Jbuilder instead and how
: does these tools compare to JDeveloper?
JDeveloper2 provides a natural coupling to OAS and 8i which no
other tools offer. The Connection Manager, Oracle's InfoBus
beans, Info Form wizards, CORBA definition wizards, deployment
wizards for 8i etc. are all there to tie the suite together.
I used JBuilder with 8i813beta well before JDev2Beta was
released for Web Server Applications/CORBA. 8i provides a
number of command line utilities(loadjava, dropjava, publish,
sess_sh etc) to perform the deployment of CORBA objects. JDev2
are essentially calling those utilities but wrapped around a GUI.
You can certainly use other tools but you will probably discover
some critical features are missing. Features such as SQLJ
support and a light weight servlet engine for debugging servlets
are well worth it.
One thing I hope Oracle would address is remote debugging of
Java in the Database(either JSProcs/CORBA objects). You can
certainly debug CORBA objects outside the database using
Visibroker/OSAgent but this means you have to change a lot of
code for debugging b/c Visibroker doesn't support sess_iiop nor
AuroraJTS.
DEV TEAM ARE YOU LISTENING!!!<g>
There are a number of other concerns that I've listed in a
post "heavy IIOP issues - 8i/408" but nobody has responded to
that and probably never will.
I think JDev3 with OBC4J will offer further encouragement to
move away from other dev tools though. Depending on whether
your organisation will take advantage of this new enterprise app
framework you may not need to make the move. I dont know I
haven't used it but I'm waiting in anticipation. I'd be
interested in hearing what the beta testers are saying about the
speed issues!
rgds ash
null -
When Tuxedo and Oracle8i are on the same machine, they work well. But now Oracle8i
is moved to another machine. What should I do? modify ubb, RM or nothing?
please mail your suggestion to me!When Tuxedo and Oracle8i are on the same machine, they work well. But now Oracle8i
is moved to another machine. What should I do? modify ubb, RM or nothing?
please mail your suggestion to me! -
Oracle8 and Oracle8i (Migrating)
How can I migrate from Oracle8 to Oracle8i. The migration
utilities insist that I select an Oracle8 instance but I can't
get both Oracle8 and Oracle8i running on the same server. Please
help me.........please
TIA,
Lori
nullsrini (guest) wrote:
: i know that oracle8i stands for internet computing. We are
: running our database in 7.3.4. We've a plan to go for Oracle8
: during Jan 2000. We are confused whether we can go for Oracle8
: or Oracle8i. Since i don't know exactly what is the difference
: in between these two, we are not able to make the decision?
: Can anyone help me to find out 1. is there any architectural
: change between oracle8 and oracle8i? 2. What are the features
: oracle8i has which are not existing in oracle8.
: thanks
: srini
Srini,
The major features that are in Oracle8i and are not in Oracle8
are the following:
1) Java and internet capabilities are in Oracle8i and these
are not in Oracle8
2) JVM - Java Virtural Machine also known as JServer, this
allows developer to create applications in Java, PL/SQL
or OCI
3) iFS - Internet File System, this allows the database to
store relational and non-relation data files is present
in Oracle8i and this is not in Oracle8.
4) Oracle8i comes with interMedia which allows user to access
multi-media data.
5) Oracle8i comes with WebDB, a web developement environment.
These are the major differences and I hope it helps. For
complete new features, please refer to Oracle8i manual.
Regards,
John
null -
I have Oracle8 installed on Novell Small Business 5.1.
On another machine is Linux Red Hat 7.0 with
Appache 1.3.3 server and PHP4. Web user nobody
opens script.php. This script connects to my Oracle
database and for example selects rows from table test and
displays them on HTTP page.
The problem is - polish letters aren't displayed correctly!!!
Why???
Database was created with character set EE8MSWIN1250.
I've tried PHP commands:
setlocale(LC_ALL, "polish_POLAND");
putenv("NLS_LANG=polish_POLAND.EE8MSWIN1250");
putenv("ORACLE_BASE=/u01/app/oracle");
putenv("ORACLE_HOME=/u01/app/oracle/product/8.1.7");
putenv("LD_LIBRARY_PATH=/u01/app/oracle/product/8.1.7/lib");
but it still doesn't work.
Please help!!!polish letters aren't displayed correctly!!!What are you seeing ? Can you do a DUMP() on a given row of your Polish data. Can you show me your sample PHP code ?
-
Personal Oracle8 v803 and Oracle8i Lite v40 on Win98
Is it possible to have Personal Oracle8 and Oralce8i Lite
running on the same machine? If it is, can someone tell me how?
Thanks,
Ronald
nullRonald I don'tknow if you can run both
but at least for me converting was non\
trivial.
I removed personal oracle on my win98 machine
by running orainst and removing every thing
I could, then renaming the orawin directory,
and running the windows registry editor
and deleting the oracle section from
within a section callled software.
I am under the impression that O8 lite
is to replace personal oracle 8.
One thing that seems missing is
pl/sql.
Jordan Schwartz
Ronald Luitwieler (guest) wrote:
: Is it possible to have Personal Oracle8 and Oralce8i Lite
: running on the same machine? If it is, can someone tell me how?
: Thanks,
: Ronald
null -
OAS9i and Oracle8i(8.1.7) Any differences???
I installed OAS9i in my computer sucessfully. My computer had Oracle8i(8.1.7) on it several months ago. I looked through OAS9i from "Start/Programs/Oas9iHome", I found almost all functions of OAS9i are already included in Oracle8i(8.1.7)Server (like Http serer,...). I even want to uninstall OAS9i. Please tell me the differences. Thanks.
Oracle 8.1.7 includes the Oracle 8i Database and other apps like WorkFlow server, HTTP Server, etc.
Oracle 9iAS contains also HTTP Server and other servers such as iFS, Forms Server, Report Server, Discoverer Server, and Portal.
In order to use 9iAS you need 8.1.7 insalled without HTTP server.
null -
Hi,
Has anyone built a 'crystal' report under an Oracle 8i
database.
I have several reports built under Oracle7, and i must
migrate for Oracle8, but i have not been able to
connect. Crystal V7 has some ODBC support that i have not
tested yet, but i will AVOID ODBC.
Can you share your experience?
Thank you.
J Teixeira.
nullJose Teixeira (guest) wrote:
: Hi,
: Has anyone built a 'crystal' report under an Oracle 8i
: database.
: I have several reports built under Oracle7, and i must
: migrate for Oracle8, but i have not been able to
: connect. Crystal V7 has some ODBC support that i have not
: tested yet, but i will AVOID ODBC.
: Can you share your experience?
: Thank you.
: J Teixeira.
Hey.... is that Crystal Reports for Linux? I was looking for some
beta apps and cannot find them.
Kevin
null -
NT workstation and Oracle8i Lite
Hi,
I hope someone can help me with the following questions.
I've recently downloaded Oracle8i Lite and installed it on my NT workstation. It's no problem connection to the default db (odbc:polite). How do I do to start a TNS listener? I don't want to connect via the odbc-driver, I want to use the Net8 config to configure a data source, is it possible ? I gues the whole point is about starting a TNS listener but I can't find any command for doing the job.
I hope someone can help me!
//FredrikOK, I see.
Is the full product name Personal Edition ?
I wanted to install a "light" variant of Oracle8i and thought Oracle8i lite was the one for the job. If I install Personal Edition am I able to connect to my db with SQL*PLus using Net8, in short have a TNS listener ?
//Fredrik
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ikon:
Fredrik
The whole idea of Oracle Lite is ODBC. You need to install Personal Edition on NT.
Regards<HR></BLOCKQUOTE>
null -
Jdbc connection using oracle thin driver( using jdk1.4 and oracle8 )
hello ..
while i was tring to connection using oracle thin driver and jdk1.4 am getting the below error message. i have set the class path for the driver also. am using oracle8 personal edition and jdk1.4.
[java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:468)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at Connexa.main(Connexa.java:18)[/b]
Press any key to continue...
my program is....
import java.sql.*;
import java.io.*;
import java.util.*;
import oracle.jdbc.driver.*;
// needed for new BFILE class
import oracle.sql.*;
public class Connexa {
public static void main (String args []) throws Exception {
Statement stmt=null;
try{
// Load the Oracle JDBC driver
//DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Class.forName("oracle.jdbc.driver.OracleDriver");
// Connect to the database
// You can put a database name after the @ sign in the connection URL.
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:orcl","scott","tiger");
//Connection conn =
// DriverManager.getConnection ("jdbc:odbc:datasource", "system", "manager");
stmt = conn.createStatement ();
catch (SQLException e)
e.printStackTrace();The code itself is fine; the problem is with one of:
1) the connection URL
2) intermediate networking
3) the database itself
1) your connection URL is "jdbc:oracle:thin:@127.0.0.1:1521:orcl"
- is Oracle really running on the default port, 1521
- is the installation SID really "orcl"
2) lots of possibilities, but only a couple are likely
- is TCP/IP configured and running on your host
- is there a persoanl firewall rpduct running? perhaps it's blocking the connection
3) Is Oracle running?
Is the listener running? -
IFS on NT and ORacle8i on Linux
Hi there,
I am trying to install IFS on an NT box that talks to an oracle8i server on a Linux box.
I have installed a vanilla Oriacle8i on the Linux box with all the default passwords and made sure I followed the IFS instructions.
I then installed Oracle8i client on the NT box and I can use the DBA Studio to connect to the database on the Linux box.
Then I install IFS and run through the configuration assistant, which creates all the tables in the database and the ifssys user.
Then I try to start IFS using the ifsstart batch file and get asked for the usernames/passwords I use the defaults given in the documentation and receive the error message:
"Error launching iFS PROTOCOLS.
Consult the following log file for details:
E:\ifs\log\IfsProtocols.log
The error reported was:
Unable to start iFS ServerManager
Invalid credentials specified"
then anther box:
"Error launching iFS AGENTS.
Consult the following log file for details:
E:\ifs\log\IfsAgents.log
The error reported was:
Unable to start iFS ServerManager
Invalid credentials specified"
Looking at the log files gives me:
Protocols:
Fri Sep 29 15:18:15 GMT 2000
IfsException in starting ServerManager; FATAL
oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connection
java.sql.SQLException: Error while trying to retrieve text for error ORA-12705
Server Manager exiting.
Agents:
Fri Sep 29 15:18:15 GMT 2000
IfsException in starting ServerManager; FATAL
oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connection
java.sql.SQLException: Error while trying to retrieve text for error ORA-12705
Server Manager exiting.
Can anyone help?
MarkMark,
look at discussions on error 503, it looks like you have got a similar problem (well the lok is the same)
null -
There have been a number of messages with reference to
performance comparisons of one sort or another.
I decided to do a controlled, fair test of these two products
with respect to their data warehousing peformance.
I created a schema with 3 dimension tables ( 300,10000,1000 rows)
and 1 fact table ( 1000000 rows )
I designed 3 queries.
I decided to test two things
1) bulk load speed
2) query response times for the 3 queries
I used identical hardware ( HP Vectra P200 48M Ram + 2.1G
Quantum ). Software was RedHat 5.2 + Oracle8.0.5.1 and Nt 4.0
Sp4 + SQl7 ( 120 Day Tril...). Both databases were configured
similarly ( fixed 16M Memory ).
results
Operation Elpased time (s)
Sql7 Oracle8
bulk Load 720 660
Query1
Query2
nullMark Kirkwood (guest) wrote:
: There have been a number of messages with reference to
: performance comparisons of one sort or another.
: I decided to do a controlled, fair test of these two products
: with respect to their data warehousing peformance.
: I created a schema with 3 dimension tables ( 300,10000,1000
rows)
: and 1 fact table ( 1000000 rows )
: I designed 3 queries.
: I decided to test two things
: 1) bulk load speed
: 2) query response times for the 3 queries
: I used identical hardware ( HP Vectra P200 48M Ram + 2.1G
: Quantum ). Software was RedHat 5.2 + Oracle8.0.5.1 and Nt 4.0
: Sp4 + SQl7 ( 120 Day Tril...). Both databases were configured
: similarly ( fixed 16M Memory ).
: results
: Operation Elpased time (s)
: Sql7 Oracle8
: bulk Load 720 660
: Query1 3 2
: Query2 1 1 ( watch that tab key)
Query3 4 3
The bulk load was performed using Dts (sql7) and sqlldr (Oracle8)
To get to the query execution times indexes were created using
output from Microsofts "Query Analyzer" product ( really good
product by the way and comes with Sql7... ). The queries were
run from Query Analyzer(sql7) and Sqlplus (Oracle8)
So what to conclude ?
Oracle8 on Linux is slightly quicker in general - not
sigificantly so however.
During testing when the "optimal" set of indexes were not there,
it was discovered that Oracle8 was much better at doing joins
involving large datasets. However the Query Analyzer made it so
easy to improve the situation that the 2 products even out
here...
Therefore I would say that they are both good databases with
respect to data warehouse purposes.
Notes etc :
What were the queries ?
For anyone who is interested I will send data on the schema and
queries ( mail me ).
What did I mean by fair ?
I had not decided which database / os was going to win before I
started.
I used only features common to both databases. Therefore I did
not use partitioning (oracle8) or clustered indexes ( sql7).I
was liasing with a Sql7 developer ( I'm an oracle boy myself )
concerning setting up Sql7.
I hope some people find this interesting
Cheers
Mark
null
Maybe you are looking for
-
Error while deleting master data
Hello all, i require some help. i am unable to delete some record from the master data it gives me a message "y table for the characteristic does not exist". the master data object does not contain any navigational and time depended attributes. the B
-
Hello. If I open a PDF document I have been sent with Illustrator with a view to edit the document, will the file be a lower quality than if i were to edit the original Illustrator file? Thank you
-
PHP - include content based on page variable
Hello, I have a slight /and probably not that hard) problem. I have index page which has <div> content </div> area that shows included files like articles etc. Nothing uncommon in that nope. At the side there is a submenu <div> sidebar </div> showing
-
How can I see the memory of a process in Unix
I want to see how much memory a process with a specific pid takes in Solaris. How can I do this? I don�t have the top command available. Thank�s in advance
-
Drawing with an effect other than Alpha Transparency and XOR
Hello, I'm looking for a way to draw images (Or anything else for that matter) with simple effects other than the Alpha and XOR effects, such as Multiply, Subtract and Bitwise AND. I've realized it has something to do with the setComposite function,