after running command: -------------------------------------- Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php5-mysqlng
Your problem is not directly related to ispconfig, the problem is that the php setup of the server is broken so that essential php functions like the mysqli extension are missing. Thats why a reinstall of ispconfig nor a restore of the backup will help. please post the output of the command php -v
php -v ----------------------------------- PHP 5.5.22 (cli) (built: Mar 16 2015 14:29:41) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
Ok, that seems to be one of your manually compiled php versions which lacks mysql support. Please post the output of: ls -la /usr/bin/php-cgi ls -la /usr/bin/php ls -la /usr/bin/php5-cgi and which php which php-cgi which php5-cgi
ls -la /usr/bin/php-cgi -rwxr-xr-x 1 root root 28146832 Mar 16 14:30 /usr/bin/php-cgi ls -la /usr/bin/php -rwxr-xr-x 1 root root 28250008 Mar 16 14:30 /usr/bin/php ls -la /usr/bin/php5-cgi -rwxr-xr-x 1 root root 8930352 Feb 19 13:09 /usr/bin/php5-cgi which php /usr/local/bin/php which php-cgi /usr/local/bin/php-cgi which php5-cgi /usr/bin/php5-cgi
run: mv /usr/local/bin/php-cgi /usr/local/bin/php-cgi_bak then restart apache and try to login again. The cause of the problem is that you compiled the new php 5.5 wwithous specifying a custom directory like /opt/php-5.5.22 in the configure command and other modules like mysql were missing in that php as well. When you used one of the tutorails from falko here at howtoforge to compile pjp then ensure that there is no whitespace after the backslash \ in the configure lines. The whole configure statement is just one command,
I executed the command and restarted apache2 --------------------------------------- [....] Restarting web server: apache2[Fri Mar 20 09:04:53 2015] [warn] NameVirtualHost *:443 has no VirtualHosts ... waiting [Fri Mar 20 09:04:54 2015] [warn] NameVirtualHost *:443 has no VirtualHosts . ok ----------------------------------------- the blank page persists at https://mydomain.com:8080/
Should i do the tutorial from this point : https://www.howtoforge.com/how-to-u...pm-and-fastcgi-with-ispconfig-3-debian-wheezy thanks for your answer
[Fri Mar 20 10:56:22 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Warning: ob_start(): function 'ob_gzhandler' not found or invalid function name in /usr/local/ispconfig/interface/lib/app.inc.php on line 32 [Fri Mar 20 10:56:22 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Notice: ob_start(): failed to create buffer in /usr/local/ispconfig/interface/lib/app.inc.php on line 32 [Fri Mar 20 10:56:22 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Fatal error: Class 'mysqli' not found in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 31 [Fri Mar 20 10:56:23 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Warning: ob_start(): function 'ob_gzhandler' not found or invalid function name in /usr/local/ispconfig/interface/lib/app.inc.php on line 32 [Fri Mar 20 10:56:23 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Notice: ob_start(): failed to create buffer in /usr/local/ispconfig/interface/lib/app.inc.php on line 32 [Fri Mar 20 10:56:23 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Fatal error: Class 'mysqli' not found in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 31
this is what i got in /opt/php-5.5.22/etc# ls ---------------------------------------- php-fpm.conf php-fpm.conf.default pool.d