Hello, I am having a problem with my ISPconfig v3.1.13. Everything works fine, but I am having issues entering the "Email" site in the control panel, and every time when I try, I am getting this error message: AH01071: Got error 'Primary script unknown\n', referer: https://mysite.com:8080/index.php I've tried to search around on Google for a fix, but I cant find any solution. Do any of you have a clue what this could be? What other info do you need to help me?
What operating system? What web server? Did you just install this or did it work previously? What was done before it broke? https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
Thanks for your answer. Im running Ubuntu 18.04 with Apache as webserver. I installed Ispconfig by following a guide, and everything worked. But I wanted to install Http/2, and upgrade to php 7.2 fpm aswell so I did that. In order to enable http/2 I had to disable «worker» and enable another one (I cant excactly remember what the name for this is, but I believe you understand what I mean?). For me it sounds like there is something wrong with php, but I have no clue if this is correct, and what it could be. I have run the ISPConfig test script for common issues with output of: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.1.13 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.2.10-0ubuntu***.***.***.*** ##### PORT CHECK ##### [WARN] Port 22 (SSH server) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 6009) [INFO] I found the following mail server(s): Postfix (PID 1723) [INFO] I found the following pop3 server(s): Dovecot (PID 858) [INFO] I found the following imap server(s): Dovecot (PID 858) [INFO] I found the following ftp server(s): PureFTP (PID 1887) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:110 (858/dovecot) [anywhere]:143 (858/dovecot) [anywhere]:465 (1723/master) [anywhere]:21 (1887/pure-ftpd) ***.***.***.***:53 (897/named) [localhost]:53 (897/named) ***.***.***.***:53 (663/systemd-resolve) [anywhere]:25 (1723/master) [localhost]:953 (897/named) [anywhere]:7777 (1331/sshd) [anywhere]:993 (858/dovecot) [anywhere]:995 (858/dovecot) [localhost]:10023 (1580/postgrey) [localhost]:10024 (1866/amavisd-new) [localhost]:10025 (1723/master) [localhost]:10026 (1866/amavisd-new) [localhost]:10027 (1723/master) [anywhere]:587 (1723/master) [localhost]:11211 (872/memcached) [localhost]10 (858/dovecot) [localhost]43 (858/dovecot) *:*:*:*::*:8080 (6009/apache2) *:*:*:*::*:80 (6009/apache2) *:*:*:*::*:8081 (6009/apache2) *:*:*:*::*:465 (1723/master) *:*:*:*::*:21 (1887/pure-ftpd) *:*:*:*::*:53 (897/named) *:*:*:*::*:25 (1723/master) *:*:*:*::*:953 (897/named) *:*:*:*::*:443 (6009/apache2) *:*:*:*::*:7777 (1331/sshd) *:*:*:*::*:993 (858/dovecot) *:*:*:*::*:995 (858/dovecot) *:*:*:*::*:10023 (1580/postgrey) *:*:*:*::*:10024 (1866/amavisd-new) *:*:*:*::*:10026 (1866/amavisd-new) *:*:*:*::*:3306 (1262/mysqld) *:*:*:*::*:587 (1723/master)
ISPConfig works with the default version of PHP that comes with the Operating System. So if Ubuntu 18.04 comes with PHP 7.0, ISPConfig breaks if you replace it with PHP 7.2. Multiple PHP versions can be installed for website use, however. But the php that ISPConfig uses must be the original. https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/
If PHP 7.0 is removed, install it back. Most recently installed PHP is the default. Otherwise, use Code: update-alternatives --config php I may have that command wrong, so check if from the tutorial I linked. All of this is explained there.
As far as I can find, Ubuntu 18.04 comes default with php 7.2. https://symfony.fi/entry/ubuntu-18-04-lts-version-bionic-beaver-ships-php-7-2 I have switched to php 7.0 now, but it did not change anything.
When I installed Ispconfig, I could not enable the http2 choice. In order to fix that I had to change from php worker to prefork (or opposite, I dont remember). After that I could successfully enable "Enable SPDY/HTTP2" in Ispconfig. When I did that, both phpmyadmin and roundcube stopped working. Phpmyadmin only showed text (as if php wasnt working), and roundcube only forced me to download a file when entering /webmail.
Thats the problem. Everything works, but not the "Email" one. Take a look here, when I press clients, everything works, and the client menu opens correctly. If I press email right after being in the clients menu, you can see it still says "clients", but as you can see on the left side, "Email accounts" etc. shows up. If I press one of these underneath "Email accounts", nothing happens, and I get this error: [proxy_fcgi:error] [pid 2019:tid 140244481459968] [client xxxxxxxxxx] AH01071: Got error 'Primary script unknown\n', referer: https://domain.tld:8080/
That is actually something I changed, but I did not even know that would make a difference. Good to know, thanks!