View Single Post

  #2 (permalink)  
Old 10-14-2006
Gleep
 
Posts: n/a
Default Re: php.ini variables

On Sat, 14 Oct 2006 13:02:40 GMT, "Damian Burrin" <D@D.com> wrote:

> Is there anyway of accessing to check the size of the
>upload_max_filesize and memory_limit variables from a script?
>
>TIA
>Damian




you can find out about your php configuration with a built in function


create a simple text file called phpinfo.php

<?
phpinfo();
?>

save upload the file then view it www.yoursite.com/phpinfo.php

the next step.

Read up on some tutorial on unix
get putty
ask your ISP for shell access name/password
go to /etc/php.ini
use vi editor to adjust your php.ini
you may or may not have to reboot the server.

This is the super simplified version, there is much more to learn when dealing with access the
shell. You need to know what you are doing becuase you can easily muck things up pretty good if you
don't know what you are doing

Reply With Quote