Solved

I need to change my php ini file

Posted on 2003-10-21
6
271 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
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…
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…
The viewer will learn how to dynamically set the form action using jQuery.

821 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