?
Solved

I need to change my php ini file

Posted on 2003-10-21
6
Medium Priority
?
274 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

762 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