alright - good to hear you managed to compile PHP!

as I told the others - please answer the Questions (dir/file permissions/owner, ...) I asked in my earlier posts - then I will have a look.
Andreas Schnederle-Wagner
Hi here's what I have
# ll -a /var/www/vhosts/domain.org
total 80
drwxr-xr-x 20 root root 4096 Jan 14 20:19 .
drwxr-xr-x 19 root root 4096 Jan 14 20:19 ..
drwxr-x--- 5 domainuser psaserv 4096 Jan 14 20:19 anon_ftp
drwxr-xr-x 2 root root 4096 Jan 14 20:19 bin
drwxr-x--- 4 domainuser psaserv 4096 Jan 14 20:24 cgi-bin
drwxr-x--- 2 root psaserv 4096 Jan 14 20:34 conf
drwxr-xr-x 2 root root 4096 Jan 14 20:19 dev
drwxr-xr-x 2 root psaserv 4096 Jan 14 20:19 error_docs
drwxr-xr-x 2 root root 4096 Jan 14 20:19 etc
drwxr-x--- 7 domainuser psaserv 4096 Jan 14 20:37 httpdocs
drwxr-xr-x 2 root root 4096 Jan 14 20:19 lib
drwxr-xr-x 2 root root 4096 Jan 14 20:19 lib64
drwxr-x--- 2 root psaserv 4096 Jan 14 20:19 pd
drwx------ 2 domainuser root 4096 Jan 14 20:19 private
dr-xr-x--- 7 domainuser psaserv 4096 Jan 14 20:19 statistics
drwxr-xr-x 2 root psaserv 4096 Jan 14 20:19 subdomains
drwxrwxrwt 2 root root 4096 Jan 14 20:19 tmp
drwxr-xr-x 4 root root 4096 Jan 14 20:19 usr
drwxr-xr-x 3 root root 4096 Jan 14 20:19 var
drwxr-xr-x 2 root psaserv 4096 Jan 14 20:19 web_users
# ll -a /var/www/vhosts/domain.org/cgi-bin/
total 16
drwxr-x--- 4 domainuser psaserv 4096 Jan 14 20:24 .
drwxr-xr-x 20 root root 4096 Jan 14 20:19 ..
d--x-----x 2 root root 4096 Jan 14 20:26 .cgi_wrapper
drwxr-xr-x 2 domainuser psacln 4096 Jan 14 20:19 test
# cat /var/www/vhosts/domain.org/cgi-bin/.cgi_wrapper/.phpwrapper
#!/bin/sh
export PHPRC=/var/www/vhosts/domain.org/etc/
export PHP_FCGI_CHILDREN=4
export PHP_FCGI_MAX_REQUESTS=1000
exec /usr/local/bin/php52-cgi/bin/php-cgi
# cat /var/www/vhosts/domain.org/conf/vhost.conf
<Directory /var/www/vhosts/domain.org/httpdocs>
RemoveHandler fcgid-script
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php
<Files ~ (\.php)>
SetHandler fcgid-script
FCGIWrapper /var/www/vhosts/domain.org/cgi-bin/.cgi_wrapper/.phpwrapper .php
Options +ExecCGI
allow from all
</Files>
</IfModule>
</Directory>