Fixed: For some reason Apache wanted a php.ini in the windows directory
rather than in the PHP install directory. Explicitly set the PhpIniDir in
the httpd.conf and fixed it.
-Jim
- Original Message -
From: "Steven James Samuel Stapleton" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent
Relevant information:
Windows XP Pro SP2
PHP 5.0.2
MySQL 4.0.21-nt
Apache 2
PATH:
C:\WINDOWS\system32
C:\c\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WBP\php //PHP bin dir
C:\WBP\Apache2\bin //Apache bin dir
MySQL's bin dir is not in path
I have tried calling
mysql_connect(...) with PHP's p
I'm surprised I havn't seen this question come up before (might have
just missed it) but it's an excellent question so forgive the
crossposting as it's extremely relevant to coders and those purchasing
services of coders.
Anyone who's gotten married and hired a wedding photographer is probably
fam
Hey Glyn,
Within the english dictionaries distributed by the win32 port of aspell,
there are two
files in the data directory that are screwed. They are ISO8859-1.dat and
standard.krb. They have dos carriage returns in them. Running a unix
dos2unix
command on them, and replacing them will fix
George,
At first glance this sounds slow, but with databases disk
performance and RAM are often
far more important than CPU, your laptop may be a bad guide.
Having said that, I suggest you run your queries in the MySQL
command-line tool and use the
"Explain Select ..." function to look at how
not too sure but can your database name be a path??
>>> Rui Francisco <[EMAIL PROTECTED]> 11/10/2004 4:28:21 PM >>>
Its a simple script
$_SERVER['utilizador']='user';
$_SERVER['pass']='pass';
$_SERVER['host']='localhost or IP address';
$_SERVER['db_name']='c:/path/dbname.fdb';
include_once('DB.
Its a simple script
$_SERVER['utilizador']='user';
$_SERVER['pass']='pass';
$_SERVER['host']='localhost or IP address';
$_SERVER['db_name']='c:/path/dbname.fdb';
include_once('DB.php');
$dsn="ibase://".$_SERVER['utilizador'].":".$_SERVER['pass']."@".$_SERVER['host']."/".$_SERVER['db_name'];
$lig
Its a simple script
$_SERVER['utilizador']='user';
$_SERVER['pass']='pass';
$_SERVER['host']='localhost or IP address';
$_SERVER['db_name']='c:/path/dbname.fdb';
include_once('DB.php');
$dsn="ibase://".$_SERVER['utilizador'].":".$_SERVER['pass']."@".$_SERVER['host']."/".$_SERVER['db_name'];
$lig
well maybe you are trying to connect to localhost which could be fine
for the server but not from commandline... send more info.
>>> Rui Francisco <[EMAIL PROTECTED]> 11/10/2004 2:06:09 PM >>>
Hi,
I have a small problem with a PHP script with Pear DB
The problem is the following: I'm creating a
I am not exactly an expert on PEAR, but if the error says "connect
failed", you are not reaching the DBand/or the server were it resides.
Check the way you are connecting :
- Is the server named correctly ?
- If the access is authenticated, are you using the correct
username/password ?
- Do you
Hi,
I have a small problem with a PHP script with Pear DB
The problem is the following: I'm creating a shell script in PHP that
access one interbase database.
The problem is that if i run it on a webserver the script run correctly
but if i runit in the command line it reports one error (DB Error:
Hello,
I am fairly new to mysql. My appologies if this question is lame to you.
I have stiff not figured a way to fix the following errors appearing in my box.
Warning: Unknown: 2 result set(s) not freed. Use mysql_free_result to free
result sets which were requested using mysql_query() in Unkn
12 matches
Mail list logo