![]() I have incremented the value of memory_limit on the php.ini file to 1000M and it still throws the same error. This throws me Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 140707423584261 bytes). ![]() Then I make a simple odbc_prepare like the following: $query="SELECT * FROM DATABASE.TABLE WHERE ID=1 This return 'ok' so I understand that the connection has been established. $as400= odbc_connect($server, "username", "password") The thing is that I can make a simple connection like: $server= 'DRIVER= DATABASE=DATABASENAME SYSTEM=IP HOSTNAME=IP PORT=NUMBER_OF_THE_PORT PROTOCOL=TCPIP ' I have followed this tutorial: although it's in spanish you can see the proccess I have followed. I have installed the IBM i Access for Linux and unixodbc. ![]() I have a Debian server (64 bits) and I want to connect it to a AS400's database through PHP. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |