Solved

I need to change my php ini file

Posted on 2003-10-21
6
267 Views
Last Modified: 2010-04-06
I need to change my php ini file as follows
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

Chance It To  

; Maximum allowed size for uploaded files.
upload_max_filesize = 999999999999999999999M

I have root, I own the server, I am a PHPMoron . Can someone write me through this step by step. Ie
Log in
su to root
now what (I really need specific instructions as I know nothing and don't want to mess up a thing.
Thanks
0
Comment
Question by:phpmoron
  • 2
6 Comments
 
LVL 17

Accepted Solution

by:
dorward earned 125 total points
ID: 9597351
Type "locate php.ini"
Open the file it finds in whatever text editor you like most
Change the line as your instructions say
Save
(You _might_ have to restart apache:
PROBABLY
/etc/init.d/apache restart
OR
/etc/init.d/httpd restart)
0
 
LVL 5

Expert Comment

by:LornaJane
ID: 9598616
You _do_ need to restart apache usually, type "apachectl restart"

If it can't find it, then do "locate apachectl"
change into the directory which has that in and type
"./apachectl restart"

Let us know how you get on!
0
 
LVL 17

Expert Comment

by:dorward
ID: 9598666
If you are using PHP as CGI then I don't believe Apache needs restarting, only if you are using it as a module. (Of course the odds are fairly heavily in favour of it being a module as this is much more efficient)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
web site using  mysql   , html,  php to create a unique number for each form 15 107
wordpress limitations 4 105
Problem to file 3 67
Problem to page 4 75
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now