I will just say Apple!!!
The question is why when I did update of Server app, the app didn't check my php version ? and replaced the php module for php 5.6 instead of for php 5.5
I updated only Server app and I using OS X Capitan with Server App 5.2, and during the upgrade the App should do a little check of my php which never did and just crashed
So then I needed manual to find pgsql modules and to back/edit the path on php.ini
For people who have this problems
You have to do that:
1. cd /Library/Server/Web/Config/php
2. cat php.ini
you should see something like it
extension=/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no -debug-non-zts-20131226/pdo_pgsql.so
This module is for php 5.6, I using by default of Capitan 5.5
Just comment this two line and add this new line
extension=/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no -debug-non-zts-20121212/pdo_pgsql.so
extension=/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no -debug-non-zts-20121212/pgsql.so
Now I'll provide a link with right php module which I zip from another OS X Capitan system which running well with php 5.5
Download php modules which you need from here https://goo.gl/OchQK5
Unzip zip file in /Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/
Then restart web services with your Server App and everything should be working fine
I never, never got any of the server which I doing Administration with OS X to be fine after any OS X update
And Still asking Why ? Why ? It's very simple thing ! Just The app needed to check my php version and to post the right php module in this case just to don't touch them and that is, but I'll just say "Apple"
The world marketing company !