Closed shelomito12 closed 3 years ago
I have 2 VPS, both running Ubuntu 18.04. I was doing some tests on one VPS and the scripts work fine.
VPS 1 and 2 both have the same php version:
$ php -v PHP 7.2.24-0ubuntu0.18.04.7 (cli) (built: Oct 7 2020 15:24:25) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.24-0ubuntu0.18.04.7, Copyright (c) 1999-2018, by Zend Technologies
On VPS 1, I execute the script and returns the tittle just fine:
$ php -f radio101rutitle.php string(32) "Slider & Magnit - Out Of My Mind"
but on the VPS 2, I execute the script and the output is:
$ php -f mp3streamtitle.php int(0)
Could you maybe shed some light here? - Thanks
Never mind. I got it fixed by installing the following modules (I think curl was the main one needed here): sudo apt-get install php-{bcmath,curl,gd,mbstring} -y
sudo apt-get install php-{bcmath,curl,gd,mbstring} -y
I have 2 VPS, both running Ubuntu 18.04. I was doing some tests on one VPS and the scripts work fine.
VPS 1 and 2 both have the same php version:
On VPS 1, I execute the script and returns the tittle just fine:
but on the VPS 2, I execute the script and the output is:
Could you maybe shed some light here? - Thanks