Page 1 of 1

Not loading into PHP on Ubuntu

Posted: Tue Jun 28, 2016 3:34 pm
by gargoyle
I'm on Ubuntu 16 and I installed the php-getid3 module, but it's not available in PHP after that. Is there something else I need to do?

# apt-get install -y php-getid3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 0 B/335 kB of archives.
After this operation, 2,126 kB of additional disk space will be used.
Selecting previously unselected package php-getid3.
(Reading database ... 174896 files and directories currently installed.)
Preparing to unpack .../php-getid3_1.9.11+dfsg-1build1_all.deb ...
Unpacking php-getid3 (1.9.11+dfsg-1build1) ...
Setting up php-getid3 (1.9.11+dfsg-1build1) ...
# cat /tmp/f

$getID3 = new getID3;

# php /tmp/f
PHP Fatal error: Class 'getID3' not found in /tmp/f on line 3
Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8