Cytat(buliq @ 9.02.2015, 19:11:38 )

prawdopodobnie:
/var/log/php_errors.log
/var/log/apache2/error.log
albo w innym katalogu zgodnie z Twoja konfiguracją
[Sun Feb 08 03:12:11 2015] [notice] mod_ruid2/0.9.7 enabled
[Sun Feb 08 03:12:11 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.36-0+deb7u3 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Sun Feb 08 14:07:23 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Sun Feb 08 14:07:34 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Sun Feb 08 14:07:45 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Mon Feb 09 10:55:26 2015] [notice] caught SIGTERM, shutting down
[Mon Feb 09 10:55:58 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Feb 09 10:55:59 2015] [notice] mod_ruid2/0.9.7 enabled
[Mon Feb 09 10:56:00 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.36-0+deb7u3 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Mon Feb 09 13:16:21 2015] [notice] caught SIGTERM, shutting down
[Mon Feb 09 13:16:56 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Feb 09 13:16:57 2015] [notice] mod_ruid2/0.9.7 enabled
[Mon Feb 09 13:16:57 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.36-0+deb7u3 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
Błąd po włączeniu flag błędów
Notice: Undefined index: send_ftp in /home/admin/web/xxxx.pl/public_html/test.php on line 6
Po naciśnięciu dodaj:
Fatal error: Call to undefined function ssh2_connect() in /home/admin/web/xxxx.pl/public_html/test.php on line 10
W pierwszym błędzie dałem $_POST w isset, a w drugim musiałem zainstalować liby
Kod
apt-get install libssh2-php
Kod
/etc/init.d/apache2 restart