Reinstalled ports tree, had no better idea
I reinstalled ports tree, had no better idea. And started compiling from clean ports tree.
Made apache22-worker-mpm first.
Ports will ask about config of m4,gdb,pcre,libxml,pearl(maybe missed sthing) on every config screen you have to select with THREADS if threre is such option. Apach22 wit MPM will make. Know pass make install, make does not do install default (maybe apache22 does make default install but apache22-worker-MPM does not).
Now made PHP5. And voila apache it not complaining about thread safty.
But it complains about missing session module when I try to load phpmyadmin, arhh.
Session module is in modules dir and has an entry in php.ini. But it has to be compiled in libphp5.so,right?
Do I have to add that module in some PHP config file before compiling?