?
Solved

I need to change my php ini file

Posted on 2003-10-21
6
Medium Priority
?
279 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
3 Comments
 
LVL 17

Accepted Solution

by:
dorward earned 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

749 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