How can I configure my Apache server to disable the automatic appending of session IDs to links in PHP?

When using PHP sessions, Apache automatically appends session IDs to links in order to maintain session state. To disable this behavior, you can modify the PHP configuration by setting the `session.use_trans_sid` directive to `0`. This will prevent Apache from automatically adding session IDs to links.

<?php
ini_set('session.use_trans_sid', 0);
?>