Music On Hold upload error

tslugmo

New Member
Joined
Jan 22, 2008
Messages
7
Reaction score
0
RESOLVED - Music On Hold upload error

When I try to upload a file using FreePBX I get "PHP Error Processing song.mp3! Check upload_max_filesize in /etc/php.ini" These are the same mp3 files I used in Trixbox without a problem. It's less than 4MB.
 

Calunker

New Member
Joined
Jan 21, 2008
Messages
24
Reaction score
0
I've been having the same problem trying to up load music. I noticed that if I tried up loading a smaller file, less then 1.5MB I get "Error Processing: "sh: lame: command not found" for" then it gives the file name.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,211
Reaction score
5,239
The default max file size for PHP is 2 megs, not 4. Log in as root, and try this:
Code:
sed -i 's|2M|8M|' /etc/php.ini
apachectl restart
 

Calunker

New Member
Joined
Jan 21, 2008
Messages
24
Reaction score
0
That worked great. I also needed to install lame. Thanks for the help.
 

Members online

Latest Posts

Forum statistics

Threads
25,844
Messages
167,964
Members
19,264
Latest member
_NOBODY_
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top