Where should I put my php.ini file?

Hi everyone,

I want to change the upload file sizes for video files from 2 mb to 20 mb. I've been told by my webhost that I need to put a php.ini file in the particular folder for it to work. The problem is...I'm not sure which folder I should put the php.ini file in. Ray's got so many folders and subfolders. Does someone know where I should specifically put the php.ini file?

Please help. Thanks! :)

Quote · 6 Jun 2008

you could probably try by dropping it first in the ray folder itself. and see what that gets you.

later,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 7 Jun 2008

Wow...that worked! However, I set it to 20 Mb, but they only allowed me to upload up to 8 mb. Strange...anyone ever heard of this problem?

Quote · 9 Jun 2008

What are you saying? Your host says only 8mb uploads and you up'd it to 20mb's and you are wondering if this is right?

They all set a limit of some kind. 8mb's is rather low now a days with broadband highspeed. Audio, video and even digital pictures are all rather large.

Each server does have a limit that they try to keep under control.

Generally 2 types of linux kind of setups. 1 use php.ini to increase to whatever you want. 2 another type you would use .htaccess to do the same with a slightly different command.

So it don't really matter if your host says uploads are limited to 8mb's or 32 mb's. If you want 100 mb's or 200 mb's just up the files.

They will complain about ffmpeg associated with the ray video upload if the file is rather large. ffmpeg eats up the cpu power like you wouldn't believe and the ray ffmpeg.exe is an exec file that they will see as a cpu hog and let you know. I've been suspended before for very small uploads. Go figure.

At any rate upload at will as long as you got the space available. There are a lot more things you can do that your host wont tell your or they imply that isn't available, when in fact is with a little adjustment.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 9 Jun 2008

could you post your server side php.ini in here so those who need it can copy what you have? did you do a max_execution increase on your php.ini? i am going to say that needs to be next. post what you have here, and those who need it can grab it and know where to put it on their server.

later,
DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 10 Jun 2008

Wow...that worked! However, I set it to 20 Mb, but they only allowed me to upload up to 8 mb. Strange...anyone ever heard of this problem?

good deal glad we could help.

later,
DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 10 Jun 2008

Finally got it to work! Thanks to DosDawg, I put my php.ini file into the Ray folder. And to allow me to put more than 8 mb e.g. 20 mb, I had to write these in my php.ini file:

[PHP]
upload_max_filesize = 20M
post_max_size = 20M

Now its working perfectly! Sealed

Quote · 11 Jun 2008

 

What are you saying? Your host says only 8mb uploads and you up'd it to 20mb's and you are wondering if this is right?

 

They all set a limit of some kind. 8mb's is rather low now a days with broadband highspeed. Audio, video and even digital pictures are all rather large.

 

Each server does have a limit that they try to keep under control.

 

Generally 2 types of linux kind of setups. 1 use php.ini to increase to whatever you want. 2 another type you would use .htaccess to do the same with a slightly different command.

 

So it don't really matter if your host says uploads are limited to 8mb's or 32 mb's. If you want 100 mb's or 200 mb's just up the files.

 

They will complain about ffmpeg associated with the ray video upload if the file is rather large. ffmpeg eats up the cpu power like you wouldn't believe and the ray ffmpeg.exe is an exec file that they will see as a cpu hog and let you know. I've been suspended before for very small uploads. Go figure.

 

At any rate upload at will as long as you got the space available. There are a lot more things you can do that your host wont tell your or they imply that isn't available, when in fact is with a little adjustment.

 game, 

looks like he was looking for 20mb on an 8mb limit. set the php.ini in the ray directory essentially overwriting the server's global ini, and increased his upload range from 8mb to 20mb. 

 

good question though gameutopia.

 

 

later,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 13 Jun 2008

Thank you, I finally resolved the upload file size issue thanks to you guys.   Thank you again.

Quote · 4 Aug 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.