[Skip to main content](#vessel-content)

#   Downloadable products larger than 1GB

##

- **[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")**
- [![beanman1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/22694-beanman1 "View beanman1's Profile") Topic Author
- [ Offline](/forum/user/22694-beanman1)

Less More

- Posts: 35
- Thank you received: 1
-
-

9 years 5 months ago [\#272247](#272247) by [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")  *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#272247 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")* was created by *[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")*

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.0

I've attached a copy of my php.ini file settings (I can't change anything though.)  [ ![php7Settings.PNG](/forum/attachment/38743) ](/forum/attachment/38743 "php7Settings.PNG")

Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?

- [ ![php7Settings.PNG](/forum/attachment/38743) ](/forum/attachment/38743 "php7Settings.PNG") [ ](/forum/attachment/38743?download=1 "php7Settings.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 5 months ago [\#272252](#272252) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#272252 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

Hello,

The memory limit is not the problem in your case ; but the "max execution time".
It means that if the user haven't download the file within 60 seconds, the server will shut down the PHP process and the user download in the same time.

In order to secure the download, the server need PHP or a specific module.
So if you want to deliver large files and PHP do not give you the possibility ; you'll need to use server systems like "X-Transfer" or "mod secure download".
These are features/modules for Web Servers, and if your hosting do not provide them, I'm afraid that it will be complicated for you to provide secured downloadable files.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")**
- [![beanman1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/22694-beanman1 "View beanman1's Profile") Topic Author
- [ Offline](/forum/user/22694-beanman1)

Less More

- Posts: 35
- Thank you received: 1
-
-

9 years 4 months ago [\#273465](#273465) by [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")  Replied by *[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273465 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

Jerome,

You recommended 2 different Apache modules (X-Transfer &amp; mod secure download) and Phillip recommended mod_XSendfile ([ tn123.org/mod\_xsendfile/](https://tn123.org/mod_xsendfile/))

I'm a complete newbie when it comes to Linux and Apache, but I've gotten my site transferred to a Linux Server and I have Root access to it so I can finally add the module(s) I need, but I have no idea on how to go about doing that. Do I need all 3 modules to push files larger than 3 GB or do I just need 1 of them? How do I download the file, and get it working with Apache?

I'm positive that these questions are outside the scope of what you guys do here, but I really have no where else to turn. Any assistance would be appreciated.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 4 months ago -  9 years 4 months ago [\#273469](#273469) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273469 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

Hello,

"X-Transfer" is xsendfile apache2 module.
It's also a feature from lighttpd and which is supported by nginx via X-Acel ( [ www.nginx.com/resources/wiki/start/topics/examples/xsendfile/](https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/) )

HikaShop will detect if the xsendfile module is available and will use it if so. So all you need to do is follow the install and configuration procedure at [ tn123.org/mod\_xsendfile/](https://tn123.org/mod_xsendfile/) to get it added to your apache:

> Grab the source.
> Compile and install
> apxs -cia mod\_xsendfile.c
> Restart apache
> That's all.

There is nothing to do in HikaShop.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 9 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")**
- [![beanman1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/22694-beanman1 "View beanman1's Profile") Topic Author
- [ Offline](/forum/user/22694-beanman1)

Less More

- Posts: 35
- Thank you received: 1
-
-

9 years 4 months ago [\#273519](#273519) by [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")  Replied by *[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273519 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

I just don't now the Linux syntax to "Grab the source". I'm thinking it's wget and then the address to the github repository, but I'm not sure and I don't wanna mess this up.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 4 months ago -  9 years 4 months ago [\#273521](#273521) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273521 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

It's indeed wget and the URL of the file that you want to download.
The link to download it is also on that same page:
[strike][/strike]
[ tn123.org/mod\_xsendfile/mod\_xsendfile.c](https://tn123.org/mod_xsendfile/mod_xsendfile.c)

Last edit: 9 years 4 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: fix link

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")**
- [![beanman1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/22694-beanman1 "View beanman1's Profile") Topic Author
- [ Offline](/forum/user/22694-beanman1)

Less More

- Posts: 35
- Thank you received: 1
-
-

9 years 4 months ago -  9 years 4 months ago [\#273643](#273643) by [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")  Replied by *[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273643 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

Do I Need the has at the end?

\#hash(sha256:8e8c21ef39bbe86464d3831fd30cc4c51633f6e2e002204509e55fc7c8df9cf9)

Last edit: 9 years 4 months ago by [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")**
- [![beanman1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/22694-beanman1 "View beanman1's Profile") Topic Author
- [ Offline](/forum/user/22694-beanman1)

Less More

- Posts: 35
- Thank you received: 1
-
-

9 years 4 months ago [\#273644](#273644) by [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")  Replied by *[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273644 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

Compile and install
apxs -cia mod_xsendfile.c

Getting an apxs command not found error....

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")**
- [![beanman1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/22694-beanman1 "View beanman1's Profile") Topic Author
- [ Offline](/forum/user/22694-beanman1)

Less More

- Posts: 35
- Thank you received: 1
-
-

9 years 4 months ago [\#273645](#273645) by [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")  Replied by *[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273645 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

ok, figured out why I was getting that error and I think I have that resolved, but now I'm getting this when I go to compile the mod.

- [ ![apxs.PNG](/forum/attachment/39126) ](/forum/attachment/39126 "apxs.PNG") [ ](/forum/attachment/39126?download=1 "apxs.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 4 months ago [\#273648](#273648) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273648 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

Hi,

It says that you don't have gcc. So you'll have to first install gcc on your server.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")**
- [![beanman1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/22694-beanman1 "View beanman1's Profile") Topic Author
- [ Offline](/forum/user/22694-beanman1)

Less More

- Posts: 35
- Thank you received: 1
-
-

9 years 4 months ago [\#273702](#273702) by [beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")  Replied by *[beanman1](/forum/user/22694-beanman1 "View beanman1's Profile")* on topic *[Downloadable products larger than 1GB](/forum/32-content-creation/890781-downloadable-products-larger-than-1gb#273702 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0  I've attached a copy of my php.ini file settings (I can't change anything though.)  Was wondering if there was a way to overcome the limitations of this file or is there another way I can go to make it so I can sell files that are 5+ GB?")*

Thanks a ton for all of the assistance! I know it's outside the realm of supporting Hikashop. The xsendfile mod is now installed on my server and ready to go. Now to just test the downloading of a full length HD video....

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkwNzgxLWRvd25sb2FkYWJsZS1wcm9kdWN0cy1sYXJnZXItdGhhbi0xZ2I/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.090 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
