So I've been successful in installing ISPConfig 3.2 on Rocky 9.x in the past - I have a couple test servers that I've used for simple things. Trying to set up a new server (9.5), and I'm running into an issue that I think is PHP related. At the point where I start to install ISPConfig 3.2.11p1 (because 3.3 didn't work either), there seems to be a STDIN error that is preventing me from being able to answer any of the prompts (backup, firewall, services, port, ssl, etc), - the script blows past them, complaining about a STDIN constant, finishes, and I can't log into the control panel with the default admin / admin credentials. I tried the "update.php" after the "install.php", and that blew through them also. Everything up to that step seems successful. PHP 7.4.33 is the version that is active (php -v from the command line). I'm sure it's something simple or something I missed/didn't see, etc. can anyone point me in the right direction? Thanks! actual messages from trying the update after the install: Code: Operating System: Rocky Linux 9.5 (Blue Onyx) This application will update ISPConfig 3 on your server. Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes]: PHP Warning: Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP) in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 PHP Warning: fgets() expects parameter 1 to be resource, string given in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 Creating backup of "/usr/local/ispconfig" directory... Creating backup of "/etc" directory... Creating backup of "/root/.acme.sh" directory... Checking MariaDB version 10.5.27 .. OK Checking ISPConfig database .. Enter password: OK Starting incremental database update. Loading SQL patch file: /root/rpms/ispconfig3_install/install/sql/incremental/upd_dev_collection.sql Reconfigure Permissions in master database? (yes,no) [no]: PHP Warning: Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP) in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 PHP Warning: fgets() expects parameter 1 to be resource, string given in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 Service 'firewall_server' has been detected (currently disabled) do you want to enable and configure it? (yes,no) [no]: PHP Warning: Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP) in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 PHP Warning: fgets() expects parameter 1 to be resource, string given in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 Reconfigure Services? (yes,no,selected) [yes]: PHP Warning: Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP) in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 PHP Warning: fgets() expects parameter 1 to be resource, string given in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 Configuring Postfix Configuring Dovecot Configuring Spamassassin Configuring Amavisd Configuring Getmail Configuring BIND Configuring Pureftpd Configuring Apache Configuring vlogger Configuring Apps vhost Configuring Jailkit Configuring Database Updating ISPConfig ISPConfig Port [8080]: PHP Warning: Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP) in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 PHP Warning: fgets() expects parameter 1 to be resource, string given in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 Create new ISPConfig SSL certificate (yes,no) [no]: PHP Warning: Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP) in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 PHP Warning: fgets() expects parameter 1 to be resource, string given in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 Reconfigure Crontab? (yes,no) [yes]: PHP Warning: Use of undefined constant STDIN - assumed 'STDIN' (this will throw an Error in a future version of PHP) in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 PHP Warning: fgets() expects parameter 1 to be resource, string given in /root/rpms/ispconfig3_install/install/lib/install.lib.php on line 420 Updating Crontab no crontab for getmail Restarting services ... Job for amavisd.service failed because the control process exited with error code. See "systemctl status amavisd.service" and "journalctl -xeu amavisd.service" for details. Job for dovecot.service failed because the control process exited with error code. See "systemctl status dovecot.service" and "journalctl -xeu dovecot.service" for details. Update finished.
okay, so I found the ispconfig_update.sh script in /server/scripts, and that honored the prompts, so the system updated itself to 3.3 AND allowed me to enter responses at the prompts, so it's at least configured correctly now. I also had to use Code: ispc user set-password admin to reset the admin password (because the install never let me set one), so I have access to the control panel again. Would still like to know what the problem was originally? seems like the SH script caused the update.php file to behave better. I remember there being an ispconfig_install.sh script previously - maybe that would've made the install.php script behave better as well? Did that go AWOL? i couldn't find it in the unzipped download. Hope someone else finds this helpful