I need to install cURL. PHP’s official website writes:
To use PHP’s cURL support you must also compile PHP –with-curl[=DIR] where DIR is the location of the directory containing the lib and include directories.
But I’ve seen people doing it like that:
<?php
// some text...
--with-curl
// some text...
?>
Which one should I choose?
Writing
--with-curlarbitrarily in the middle of your code does nothing except potentially cause syntax errors.