Skip to main content

After migrating/upgrading osTicket to a new Windows server, Auto Cron stops working and email fetching fails. PHP temp directory is not writable.

osTicket: 1.18.2 → 1.18.3 PHP: 8.1 → 8.4 Checked:

On Windows + IIS + PHP, configure PHP to use a writable temp directory via the INI file (set sys_temp_dir and upload_tmp_dir to a directory where the IIS app pool user has write access). Do not modify C:\Windows\Temp permissions. After changing PHP config, restart IIS/PHP-FPM. Also: always save your PHP INI and list of loaded modules (php -m) before upgrading PHP so you can reinstall extensions. Upgrade to v1.18.3 and PHP 8.4 (requires Visual Studio 2022 redistributable on Windows for PHP 8.4 builds). Re-enable the IMAP extension after PHP upgrade.

Originally sourced from forum.osticket.com . osFAQ.org summarises community knowledge for quick reference.

Helpful
Report an error