downloaded php 5.5.7.tar.bz2
see attached screenshot
I did an Add and the dialog requested a suffix (php) and a filename
where is the file name and where might it be found
I did this same task about 3 years ago and it worked
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
Fatal error: Call to undefined function mysql_errors() in
/var/www/html/log_book_MySQLnew.php on line 261
function repopulate()
255 {
256
257 global $conn;
258
259 $user = source /home/qt4user/log_book/create_log_book_mysql.sql;
260
261 $result =
Jones christopher.jo...@oracle.com wrote:
From: Christopher Jones christopher.jo...@oracle.com
Subject: Re: [PHP-DB] Fedora 9--10 ..now oracle connect error
To: Fred Silsbee fredsils...@yahoo.com
Cc: php-db@lists.php.net
Date: Friday, August 14, 2009, 12:05 AM
Fred Silsbee wrote:
in /etc
Oracle Connect Error
just upgraded Fedora 9-10
using new php.ini file containing:
; Note: packaged extension modules are now loaded via the .ini files
; found in the directory /etc/php.d; these are loaded by default.
I tried entering a file oracle.ini containing:
; Enable mysql
--- On Thu, 8/13/09, Fred Silsbee fredsils...@yahoo.com wrote:
From: Fred Silsbee fredsils...@yahoo.com
Subject: Re: [PHP-DB] Fedora 9--10 ..now oracle connect error
To: Christopher Jones christopher.jo...@oracle.com
Date: Thursday, August 13, 2009, 11:36 PM
after working for nearly 9
For months I've had a Oracle 11g1 browser based table access site/program
working.
I do regular Fedora 9 yum updates and have seen some pecl/pear stuff whizzing
by.
Just tried the Oracle 11g1 browser based table access site/program and NOTHING
shows on the Firefox 3.0.10 screen. Not even an
working with the new password
Whew!
--- On Sun, 5/31/09, Fred Silsbee fredsils...@yahoo.com wrote:
From: Fred Silsbee fredsils...@yahoo.com
Subject: Re: [PHP-DB] oci8 1.3.4 working for months on my simple browser
based php
To: danaketh danak...@gmail.com
Date: Sunday, May 31, 2009, 11:41
I have a Qt 4.4 C++ SQL offline program that displays an SQL table.
When I change a row-column cell, the change is instantly reflected in the
database. Under Qt 4.4 I use:
QSqlTableModel
How does one do this in PHP for online use.
I've done this under C#.NET VS2008 using binding between a gui
--- On Thu, 1/8/09, Fred Silsbee fredsils...@yahoo.com wrote:
From: Fred Silsbee fredsils...@yahoo.com
Subject: how does one bind a gui representation and a container object.
To: php-db@lists.php.net, php-gene...@lists.php.net
Date: Thursday, January 8, 2009, 10:41 PM
I have a Qt 4.4 C
my PHP programs are working great to access Oracle 11g1 and MySQL 5.1
I entered a bad value for user name /passwordand got a message
Could not connect: Access denied for user 'landon'@'localhost' (using password:
YES)
I restarted the script under Firefox 3.0.5 and got the same error message
--- On Sun, 1/4/09, Fred Silsbee fredsils...@yahoo.com wrote:
From: Fred Silsbee fredsils...@yahoo.com
Subject: If I make a mistake logging in, the error shows again even if I
enter the right values
To: php-db@lists.php.net, php-gene...@lists.php.net
Date: Sunday, January 4, 2009, 2:45
$connection=oci_connect('landon', 'xxx',$db)
session_start();
$_SESSION['connection'] = $connection;
..
..
..
$connection = $_SESSION['connection'] ;shows nothing!
My program allows many operations on a table re-entering at the top
and deciding what option to do next.
I don't want to
--- On Thu, 12/25/08, Fred Silsbee fredsils...@yahoo.com wrote:
From: Fred Silsbee fredsils...@yahoo.com
Subject: is there any reasone why the following doesn't work?
To: php-db@lists.php.net
Date: Thursday, December 25, 2008, 11:57 PM
$connection=oci_connect('landon',
'xxx',$db
--- On Fri, 12/26/08, Fred Silsbee fredsils...@yahoo.com wrote:
From: Fred Silsbee fredsils...@yahoo.com
Subject: Re: is there any reasone why the following doesn't work?
To: php-db@lists.php.net
Date: Friday, December 26, 2008, 2:18 AM
--- On Thu, 12/25/08, Fred Silsbee
fredsils
ntwdblib.dll proves to be necessary...otherwise I'll get a mssql_connect not
found
I used the ntwdblib.dll file from a 5.2.6 zip file
I completely reinstalled XP Prof SP3 along with MS SQL Server 2008 and I still
get the following error:
Warning: mssql_connect() [function.mssql-connect]:
--- On Sat, 12/20/08, Fergus Gibson fgibso...@gmail.com wrote:
From: Fergus Gibson fgibso...@gmail.com
Subject: Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
To: fredsils...@yahoo.com
Date: Saturday, December 20, 2008, 6:06 PM
On Sat, Dec 20, 2008 at 7:59 AM, Fred
didn't load.
When you fire up a
page with ?php php_info(); ? do you see the
module's information?
If it makes you feel any better, I'm working thru
integration with
Oracle, and I'm not fairing too much better.
A-
-Original Message-
From: Fred Silsbee [mailto:[EMAIL PROTECTED
--- On Tue, 12/9/08, Fortuno, Adam [EMAIL PROTECTED] wrote:
From: Fortuno, Adam [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far
To: [EMAIL PROTECTED]
Date: Tuesday, December 9, 2008, 5:14 PM
Sorry! I've been swamped today, and I needed to
--- On Tue, 12/9/08, Fortuno, Adam [EMAIL PROTECTED] wrote:
From: Fortuno, Adam [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far
To: [EMAIL PROTECTED]
Date: Tuesday, December 9, 2008, 5:14 PM
Sorry! I've been swamped today, and I needed to
Server
Native Client
installed? I assume you've quadruple-checked the
credentials?
A-
-Original Message-
From: Fred Silsbee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 1:39 PM
To: Fortuno, Adam
Cc: php-db@lists.php.net
Subject: RE: [PHP-DB] Re: MS SQL error...I've
, Fred Silsbee [EMAIL PROTECTED] wrote:
From: Fred Silsbee [EMAIL PROTECTED]
Subject: MS SQL error...I've come a long way to get this far
To: php-db@lists.php.net
Date: Monday, December 8, 2008, 7:13 PM
many changes to php.ini to get this far..whew!
PHP 5.2.7 just got jerked out from
didn't load.
When you fire up a
page with ?php php_info(); ? do you see the
module's information?
If it makes you feel any better, I'm working thru
integration with
Oracle, and I'm not fairing too much better.
A-
-Original Message-
From: Fred Silsbee [mailto:[EMAIL PROTECTED
I have Fedora 9/Apache 2/PHP 5.2.6
Everything is great but I cannot add the libraries for oci8 1.3.4 I have
in a directory.
The entries are grayed out.
I was getting an error oci_connect not found. I rebooted!
The php program runs **great** from /var/www/html under Apache
here is the
problem:
I have resolved all problems in the PHP program below except one.
Yes I know the program is in a mess but I will clean it up.
This is a learning exercise!
Basically there is one function per page.
When I make a selection on a page, a function is executed.
I need to pass the value of
--- On Sun, 11/30/08, Fred Silsbee [EMAIL PROTECTED] wrote:
From: Fred Silsbee [EMAIL PROTECTED]
Subject: global not solving my problem
To: php-db@lists.php.net
Cc: Chris [EMAIL PROTECTED], Jack van Zanen [EMAIL PROTECTED]
Date: Sunday, November 30, 2008, 6:35 PM
problem:
I have
--- On Mon, 11/24/08, Chris [EMAIL PROTECTED] wrote:
From: Chris [EMAIL PROTECTED]
Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
To: [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Monday, November 24, 2008, 6:41 AM
Fred Silsbee wrote:
while ($newArray
--- On Mon, 11/24/08, Chris [EMAIL PROTECTED] wrote:
From: Chris [EMAIL PROTECTED]
Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
To: [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Monday, November 24, 2008, 6:41 AM
Fred Silsbee wrote:
while ($newArray
--- On Mon, 11/24/08, Chris [EMAIL PROTECTED] wrote:
From: Chris [EMAIL PROTECTED]
Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
To: [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Monday, November 24, 2008, 6:41 AM
Fred Silsbee wrote:
while ($newArray
--- On Mon, 11/24/08, Fred Silsbee [EMAIL PROTECTED] wrote:
From: Fred Silsbee [EMAIL PROTECTED]
Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
To: Chris [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Monday, November 24, 2008, 2:44 PM
--- On Mon, 11/24/08, Chris
--- On Mon, 11/24/08, Chris [EMAIL PROTECTED] wrote:
From: Chris [EMAIL PROTECTED]
Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
To: [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Monday, November 24, 2008, 10:00 PM
fixed the problem but am not fully sure of the
--- On Mon, 11/24/08, Fred Silsbee [EMAIL PROTECTED] wrote:
From: Fred Silsbee [EMAIL PROTECTED]
Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
To: Chris [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Monday, November 24, 2008, 10:31 PM
--- On Mon, 11/24/08, Chris
the semicolon from the sql string
Brgds
Jack
2008/11/23 Fred Silsbee [EMAIL PROTECTED]
The following code doesn't do the insert.
I've tried the insert statement in a session:
[EMAIL PROTECTED] log_book]$ sqlplus landon/PW
SQL*Plus: Release 11.1.0.6.0 - Production on Sat Nov
\'),\'B-17\',\'N5787G\',1,1.8)';
echo $sql;
$stid = oci_parse($conn,$sql );
Jack
2008/11/23 Fred Silsbee [EMAIL PROTECTED]
The following code doesn't do the insert.
I've tried the insert statement in a session:
[EMAIL PROTECTED] log_book]$ sqlplus landon/PW
SQL*Plus: Release
--- On Sun, 11/23/08, Fred Silsbee [EMAIL PROTECTED] wrote:
From: Fred Silsbee [EMAIL PROTECTED]
Subject: Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work
..updated..sorry
To: Jack van Zanen [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Sunday, November 23, 2008, 6:16 PM
--- On Sun, 11/23/08, Micah Gersten [EMAIL PROTECTED] wrote:
From: Micah Gersten [EMAIL PROTECTED]
Subject: Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work
..updated..sorry
To: [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Sunday, November 23, 2008, 9:26 AM
Fred Silsbee wrote
--- On Sun, 11/23/08, Fred Silsbee [EMAIL PROTECTED] wrote:
From: Fred Silsbee [EMAIL PROTECTED]
Subject: Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work
..updated..sorry
To: Jack van Zanen [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Sunday, November 23, 2008, 6:16 PM
OK I had to (thanks to Jack Nav Zanen)
(1) remove the ; off the sql statement
(2) change ' to
but why did NOTHING appear on the browser screen?
?php // File: anyco.php
$db = (DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID =
--- On Sun, 11/23/08, Chris [EMAIL PROTECTED] wrote:
From: Chris [EMAIL PROTECTED]
Subject: Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work
To: [EMAIL PROTECTED], PHP DB php-db@lists.php.net
Date: Sunday, November 23, 2008, 10:41 PM
Fred Silsbee wrote:
--- On Sun, 11/23/08
//construct a global variable for the form profile
$fields = array(fdate, actype, acid, nlandings, nhours);
problem down in while loop
.. . . . . .
function displayDeleteForm(){
//get $fields into the function namespace
global $fields;
global $conn;
The following code doesn't do the insert.
As is the connect message doesn't show.
I've tried the insert statement in a session:
[EMAIL PROTECTED] log_book]$ sqlplus landon/rumprocella
SQL*Plus: Release 11.1.0.6.0 - Production on Sat Nov 22 16:01:39 2008
Copyright (c) 1982, 2007, Oracle. All
The following code doesn't do the insert.
I've tried the insert statement in a session:
[EMAIL PROTECTED] log_book]$ sqlplus landon/PW
SQL*Plus: Release 11.1.0.6.0 - Production on Sat Nov 22 16:01:39 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database
I would have had no problem if I had:
(1) used ZEND
(2) installed php, apache, oracle XE, oci8,instant client
I installed 11g1 Enterprise and that already had a client.
Fedora already had php 5 and apache 2
FINALLY: The following works in the browser.
hr/hr is automatically built in the 11g1
hopping on a flight and will almost certainly
not be able to read email until the end of next week.
Please follow my suggestion in the post below about setting
variables.
Chris
Fred Silsbee wrote:
Apache Environment
VariableValue
ORACLE_HOSTNAME localhost.localdomain
PROTECTED]
Cc: php-db@lists.php.net
Date: Wednesday, November 19, 2008, 5:27 AM
Fred Silsbee wrote:
there is a file /etc/httpd/conf/httpd.conf
I tried putting the ORACLE_HOME in this file but it
failed
What failed and how?
How was it set?
[phpinfo output of]
Compile-time ORACLE_HOME
-db@lists.php.net
Date: Wednesday, November 19, 2008, 5:27 AM
Fred Silsbee wrote:
there is a file /etc/httpd/conf/httpd.conf
I tried putting the ORACLE_HOME in this file but it
failed
What failed and how?
How was it set?
[phpinfo output of]
Compile-time ORACLE_HOME no value
on first
attempt.
I now use Oracle, Php and Apache on windows and have been
using this for
several years now and this is a bit more straightforward.
Jack
2008/11/20 Fred Silsbee [EMAIL PROTECTED]
here is where the error occurs:oci8.c
/* use NLS_LANG if no or invalid charset
http://bugs.php.net/bug.php?id=43186
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oci8
OCI8 Supportenabled
Version 1.3.4
Revision$Revision: 1.269.2.16.2.38.2.20 $
Active Persistent Connections 0
Active Connections 0
Compile-time ORACLE_HOMEno value
Libraries Used no value
Temporary Lob support enabled
Collections support enabled
I have the following in /etc/httpd/conf/httpd.conf
SetEnv ORACLE_HOSTNAME localhost.localdomain
SetEnv TNS_ADMIN /u01/app/oracle/product/11.1.0/db_1/network/admin
SetEnv ORACLE_BASE /u01/app/oracle
SetEnv ORACLE_HOME /u01/app/oracle/product/11.1.0/db_1
SetEnv ORACLE_SID lmkiiiGDNSID
SetEnv
provide some detailed instructions for oc8/linux install that leave no gaps
instructions that work for newbies
I've never heard of :
# LD_PRELOAD
# NLS_LANG
For example:
You should install OCI8 by yourself. Here is how:
1) Do this as user oracle: cd /tmp; pecl bundle oci8. The output
sorry I forgot last time to cc PHP-DB
Fred Silsbee wrote:
This worked on the command line:
sqlplus hr/[EMAIL PROTECTED]
so I tried: (it didn't work)
if ($conn=oci_connect('hr', 'hr','//localhost/LMKIIIGD'))
yes this suggestion is clear and I've tried dozens of combinations
Since
Jones [EMAIL PROTECTED] wrote:
From: Christopher Jones [EMAIL PROTECTED]
Subject: Re: [PHP-DB] what the php guys need to do
To: [EMAIL PROTECTED], PHP DB php-db@lists.php.net
Date: Tuesday, November 18, 2008, 11:46 PM
I'm CCing php-db again.
Fred Silsbee wrote:
This worked:
sqlplus hr
oci8
OCI8 Supportenabled
Version 1.3.4
Revision$Revision: 1.269.2.16.2.38.2.20 $
Active Persistent Connections 0
Active Connections 0
Compile-time ORACLE_HOMEno value
Libraries Used no value
Temporary Lob support enabled
Collections support
PROTECTED]
Cc: php-db@lists.php.net
Date: Wednesday, November 19, 2008, 1:43 AM
Fred Silsbee wrote:
oci8
OCI8 Supportenabled
Version 1.3.4
Revision$Revision: 1.269.2.16.2.38.2.20 $
Active Persistent Connections 0
Active Connections 0
Compile-time ORACLE_HOME
:
From: Chris [EMAIL PROTECTED]
Subject: Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache
environment
To: [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Date: Wednesday, November 19, 2008, 2:41 AM
Fred Silsbee wrote:
there is a file /etc/httpd/conf/httpd.conf
I tried putting
errors are :
OCI8 DEBUG: OCINlsEnvironmentVariableGet at
(/home/oracle/oci8/oci8-1.3.4/oci8.c:1819)
OCI8 DEBUG L1: Got NO cached connection at
(/home/oracle/oci8/oci8-1.3.4/oci8.c:1864)
OCI8 DEBUG: OCIEnvNlsCreate at (/home/oracle/oci8/oci8-1.3.4/oci8.c:2768)
OCI8 DEBUG L1: create_spool: (0)
I have Fedoara 2.6.27.5-37.fc9.i686
that has perl:
This is perl, v5.10.0 built for i386-linux-thread-multi
I searched the entire system and found neither pecl or phpize
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
58 matches
Mail list logo