// Connect to a MySQL database using PDO $dbh = new PDO('mysql:host=localhost;dbname=mydatabase', 'username', 'password');
// Create a new image with GD $image = imagecreatetruecolor(200, 200);
// Send a request to a remote server using cURL $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://example.com'); curl_exec($ch); curl_close($ch);
sudo apt-get install php7.4-mysql
sudo yum install php7.4-gd