What are common issues faced when trying to run PHP scripts on a local server like XAMPP?

One common issue faced when trying to run PHP scripts on a local server like XAMPP is the "php_curl" extension not being enabled. To solve this, you can enable the "php_curl" extension in the php.ini configuration file by removing the semicolon before the extension.

;extension=curl
```

Another common issue is the "php_mbstring" extension not being enabled. To fix this, you can enable the "php_mbstring" extension in the php.ini configuration file by removing the semicolon before the extension.

```php
;extension=mbstring