Not loading into PHP on Ubuntu

The place for "I can't figure out how to..." questions.
Post Reply
gargoyle
User
Posts: 1
Joined: Tue Jun 28, 2016 3:29 pm
Are you a spambot?: no

Not loading into PHP on Ubuntu

Post by gargoyle » Tue Jun 28, 2016 3:34 pm

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:
php-getid3
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
<?php

$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

#

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest