Re: [PHP-DB] Fw: informix problem

2004-01-17 Thread Martin Marques
Mensaje citado por stefan bogdan [EMAIL PROTECTED]:

  
  
 i have winnt 4.0 servicepack 6 + apache 2.0.47 + php 430 + informix client
 for nt

 ilogin demo works fine

 sql editor works fine

 but when i try to connect  to informix via php i'get an error like

  
  Warning: ifx_connect(): E [SQLSTATE=S1 001 SQLCODE=-406]  

This is not a PHP problem. The problem is in the Informix server:

[EMAIL PROTECTED]:~  finderr -406
-406Memory allocation failed.

Something in the current statement required the allocation of memory
for data storage, but the memory was not available. Several things can
cause this error. For example, your application has a memory leak; you
are asking for more resources than the system is configured to allow;
or a problem with the UNIX system itself requires rebooting the
system.

Roll back the current transaction. Look for ways to make this statement
simpler or move less data. Also, confer with your UNIX system
administrator to solve memory problems or look for ways to make the
operating system give this program more virtual memory in which to run.
On DOS systems, exit to the operating-system command line, free some
disk space, and resubmit your program.


 i have 256MB memory and 20 GB hard (6GB free)

It doesn't matter how much you have, but how much you assign to Informix to use as
virtual memory.

-- 
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-
Martín Marqués  |   Programador, DBA
Centro de Telemática| Administrador
   Universidad Nacional
del Litoral
-

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



[PHP-DB] Fw: informix problem

2004-01-16 Thread stefan bogdan








i have winnt 4.0 servicepack 6 + apache 2.0.47 + php 430 + informix clientfor nt
ilogin demo works fine
sql editor works fine
but when i try to connect to informix via php i'get an error like

Warning: ifx_connect(): E [SQLSTATE=S1 001 SQLCODE=-406]

i have informix server 2000 installed on other (unix) machine.
i have 256MB memory and 20 GB hard (6GB free)
what should i do?

Bogdan

















 IncrediMail - Email has finally evolved - Click Here