Help With PHP Server Settings

invirl

New member
Joined
Jun 20, 2007
Messages
1
I am installing a website portal script and I am having difficulties with a module for music because I receive a message that it won't activate.

I receive this warning message...

----
SYSTEM CHECK

If you are viewing this message then there are items that need your attention.


Music module cannot load because of the following errors:

> The PHP setting for post_max_size needs to be set to 10M and your server has it set to 8M

> The PHP setting for upload_max_filesize needs to be set to 10M and your server has it set to 2M

> The PHP setting for max_input_time needs to be set to -1 and your server has it set to 60

----

I contacted my hosting support team to ask how and they gave me a link to: http://us2.php.net/configuration.changes - but I can't see how this material can be adapted to make my necessary changes, and how to find the file, as my root does not contain a direct .htaccess.

Please help me!
 
Try creating a file called php.ini in the related folder on your site and add these lines to the content:

file_uploads = On
upload_tmp_dir = /tmp/uploads
upload_max_filesize = 10M
post_max_size = 10M
max_input_time = -1

Don't know if your web host allows you to do this. If this does not work, try write this as .htaccess in the related folder.
 
but I can't see how this material can be adapted to make my necessary changes, and how to find the file, as my root does not contain a direct .htaccess.

The link tells you to put the configuration settings in a .htaccess file. If one is not there already then obviously you would need to create one with the directives you need.

The link also tells you how to include the php settings in the .htaccess file.

php_value name value

php_flag file_uploads On
 
Back
Top