By droople on
Hi all
I am trying to increase my memory to start with, secondly I want to increase my upload file size.
I cant seem to find any htaccess or php.ini files on my directories.
I have therefore created a php.ni
with these line: memory_limit = 24M ,
to increase memory..
And to increase file size, I created this php.ini file
upload_max_filesize = 10M ;
post_max_size = 20M ;
------------------------
Problem now is I dont know which directory to ftp them to, or even if it's supposed to be a single file instead of two seperate ones
CHeers guys
Comments
drupal 4.7.4 has a .htaccess
drupal 4.7.4 has a .htaccess file in its main directory as well as a few others.
php.ini would have to be copied from your host. you cannot just "create" a php.ini file.
more information about how to obtain a copy of your default php.ini file can be obtained from your host. once obtained then you change the lines necessary and upload it to your drupal/root folder.
There is a script here http://tips-scripts.com/ that allows the copying of php.ini out of your usr/bin directory. however, i cannot comment on whether it works on all hosts. It has worked on mine (site5.com). site5.com has no restrictions on using a customized php.ini file. your host may.
Thanks
Will definitely check that out,
thanks a lot, will come back with feedback
cheers
-------------------------------------------------------------------
www.myworst.com
Publishing the bad, the worse & the worst news
depends on you host setup.
depends on you host setup. On a host using suexec, you may be able to put a php.ini file in your Drupal root directory and have it take effect. if your host is using apache with mod_php you probably need to put the settings in your .htaccess file (which may require a different syntax).
---
Work: BioRAFT