[PHP-DB] Cant connect to postgresql 7.4 on FreeBSD

2006-06-09 Thread Arie Nugraha

Hi list,

yesterday i compile postgresql 7.4 in my FreeBSD 5.4 box.
I manage to run the server smoothly without any problem.
But then i try to connect with my php script with pg_connect function, and
it returns an error like this :

*cant make link. to many connection open*

i already install the pgsql.so extension and its already loaded to php
without any problem (i saw it with phpinfo()).

I also have enable tcp/ip connection in postgresql.conf

whats wrong with my postgresql??


[PHP-DB] pgsql.so causes Apache 1.3.36 to core dump

2006-06-09 Thread [EMAIL PROTECTED]

I have a quite depressing row with pgsql.so the last ten days.

I have -

FreeBSD 5.4
Apache 1.3.36
PHP 5.1.4
PostgreSQL 8.0.8

Everything compiled from ports.

After everything is installed - it works. As soon as I reboot the 
FreeBSD - Apache starts to core dump. When I comment pgsql.so in the 
extensions.ini or uninstall it - everything works again.


I did more than a dozen clean installations on a blank drive starting 
from the operating system and I get all the time the same result - after 
install all works, after OS reboot - Apache starts to core dump.


Is it possible that I do something wrong, which is enforced on reboot?

Thanks a lot for your help,
Iv

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



[PHP-DB] Re: php4 to php5 upgradation

2006-06-09 Thread cyril PIERRE de GEYER


You just need to install PHP5 and to change your apache configuration 
(httpd.conf).


If you are a windows user i guess it would be easier for you to use 
wampserver which allow to switch from PHP5 to PHP4 easily.


Regards

Cyril

Manoj Singh a écrit :

Hello all,

I am using php4 in windows server. Now i want to use php5, will it is
possible to upgrade  php4 to php5 or i  have to remove php4 and then 
install

php5?

Please  advise me.

Regards
Manoj



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