Hi Markus.


Am 28.06.2012 09:06, schrieb Markus Frosch:
The default php5 feature Debian utilizes is the mod_php5 inside
apache2 and therefore a socket does not work with the standard peer
authentication. (Except you want to give www-data rights in
Postgres...)
Yeah,.. well I guess though there are some users using either CGI or FastCGI, the former mainly for user privilege separation as I do, the later mostly for speed (but also some user privilege separataion is possible)... Anyway, it's quite easy (that's an even _I_ could do it q.e.d. ;-) ) to set up one's PHP to run as non www-data and then do (e.g. Postgres) authentication based on the user.


Though the next upload 1.7.1-2 allows sockets, but you have to
configure the user and permissions on your own.
Of course... actually I wouldn't like if that is done automatically :)


This is fixed also.
I really hate it, that you always reply (and even fix things) that fast, which takes me all excuses and makes me doing _work_ again ;-)


For quick help: use "%2Fvar%2Frun%2Fpostgresql" for the server part
of the DSN.
Ah... will try that. Thx :)

Many thanks,
Chris.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to