Jump to content

Recommended Posts

Posted

I have been used Tommy server a year and use postgreSQL database under PHP web.

 

Recently i changed my domain from .tk to .red and I'm experiencing problems with functions pgsql in PHP.

 

The principal:

 

After closing a pgsql connection with:

 

pg_close($dbconn);

 

the php die and stops all with this instruction even if the connection with db is successfull.

 

Before change my domain, this issue did not appear.

 

an example:

 

https://www.laparcela.red/control/test.php

 

After "Conectado con éxito" there are a echo "Hola mundo" and not appears.

 

This also happens if the connection is not correct.

$dbconn = pg_connect("host=localhost .. etc)
   or die("No se pudo conectar");
echo "Conectado con éxito";
pg_close($dbconn);
echo '<p>Hola Mundo</p>';

or die not works.

 

 

 

Posted

The same, ant the last version not have pgsql, i think that the 7.2

 

It is very strange, somethong is wrong since the domain change

Posted (edited)

Yes yes, i say that the 7.2 version not have pgsql and with 7.1 the problem is the same.

 

Today i tested it to change versions

Edited by parcela2
Posted

There are any solution possible?

 

I think that is general and if someone change the domain, suffers the same.

 

Maybe restarting the web space will solve the problem.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...