Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - sinuspi

Pages: [1]
1
CentOS-WebPanel Bugs / PHP Version Switcher has no error checking at all.
« on: November 14, 2021, 03:44:28 PM »
The php-rebuild.sh script has no error checking for failures in "configure" or "make" steps. If `configure` fails, for some reason (like the infamous oniguruma/oniguruma5 dependency conflict), the script continues and does nothing to inform the user of the error, and proceeds to handle `php.ini` edits and everything. There should MANDATORILY be an error trap, even as simple as `|| die "Configure failed with error $?"` sprinkled around the script.

Pages: [1]