# Syntax error unexpected token

**URL:** <https://community.xibo.org.uk/t/syntax-error-unexpected-token/7143>\
**Category:** Get Help\
**Created:** [September 13, 2016, 11:25am UTC](https://community.xibo.org.uk/t/syntax-error-unexpected-token/7143 "2016-09-13T11:25:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicklas\_Olsson](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@Nicklas\_Olsson](https://community.xibo.org.uk/u/Nicklas_Olsson)\
**Post date:** [September 13, 2016, 11:25am UTC](https://community.xibo.org.uk/t/syntax-error-unexpected-token/7143/1 "2016-09-13T11:25:48Z")

</div>

Please, help.

Every file over 10Mb i get this messade. I have change all parameter in php.ini. File\_size etc etc

 ![](https://community.xibo.org.uk/uploads/default/original/2X/d/d5329871068a2dbc757d846fc37df7f109a4937c.JPG)

---

<div class="post-metadata">

**Author:** ![Peter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/peter/32/8154_2.png) [@Peter](https://community.xibo.org.uk/u/Peter)\
**Post date:** [September 13, 2016, 11:41am UTC](https://community.xibo.org.uk/t/syntax-error-unexpected-token/7143/2 "2016-09-13T11:41:47Z")

</div>

Is it 1.7.8 CMS?

Did you make all necessary changes in php.ini? [How do I upload files bigger than 2MB / How can I increase the upload file size limit?](https://community.xibo.org.uk/t/how-do-i-upload-files-bigger-than-2mb-how-can-i-increase-the-upload-file-size-limit/27)  
and restarted your web server?

---

<div class="post-metadata">

**Author:** ![Nicklas\_Olsson](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@Nicklas\_Olsson](https://community.xibo.org.uk/u/Nicklas_Olsson)\
**Post date:** [September 13, 2016, 11:45am UTC](https://community.xibo.org.uk/t/syntax-error-unexpected-token/7143/3 "2016-09-13T11:45:59Z")

</div>

No. 1.7.6

Made every change 🙂

---

<div class="post-metadata">

**Author:** ![Nicklas\_Olsson](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@Nicklas\_Olsson](https://community.xibo.org.uk/u/Nicklas_Olsson)\
**Post date:** [September 13, 2016, 1:00pm UTC](https://community.xibo.org.uk/t/syntax-error-unexpected-token/7143/4 "2016-09-13T13:00:57Z")

</div>

…  
[13-Sep-2016 13:54:25 Europe/Paris] PHP Warning: POST Content-Length of 21385980 bytes exceeds the limit of 20971520 bytes in Unknown on line 0

i’m confused, something is wrong in my .ini i think…

---

<div class="post-metadata">

**Author:** ![Nicklas\_Olsson](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@Nicklas\_Olsson](https://community.xibo.org.uk/u/Nicklas_Olsson)\
**Post date:** [September 13, 2016, 1:53pm UTC](https://community.xibo.org.uk/t/syntax-error-unexpected-token/7143/5 "2016-09-13T13:53:13Z")

</div>

> [13-Sep-2016 13:47:40 UTC] PHP Warning: PHP Startup: in Unknown on line 0

> [13-Sep-2016 13:47:40 UTC] PHP Warning: PHP Startup: in Unknown on line 0

> [13-Sep-2016 13:47:40 UTC] PHP Warning: PHP Startup: in Unknown on line 0

> [13-Sep-2016 13:47:41 UTC] PHP Warning: PHP Startup: in Unknown on line 0

> [13-Sep-2016 13:47:41 UTC] PHP Warning: PHP Startup: in Unknown on line 0

> [13-Sep-2016 13:47:41 UTC] PHP Warning: PHP Startup: in Unknown on line 0

> [13-Sep-2016 15:48:09 Europe/Paris] PHP Warning: POST Content-Length of 21385980 bytes exceeds the limit of 20971520 bytes in Unknown on line 0

I soon give up , have changed in php.ini both in apache and php directory.

Restarted , screaming and crying.

Do I need to stream video from youtube to make it work = )

php 5.5.12 I use

---

<div class="post-metadata">

**Author:** ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)\
**Post date:** [March 4, 2020, 5:05pm UTC](https://community.xibo.org.uk/t/syntax-error-unexpected-token/7143/6 "2020-03-04T17:05:53Z")

</div>

Closed on March 4, 2020, 5:05pm UTC


