Solved

how edit .ini file?

Posted on 2011-02-23
5
424 Views
Last Modified: 2013-12-13
HI
We need to change some v
0
Comment
Question by:dimensionav
  • 2
  • 2
5 Comments
 

Author Comment

by:dimensionav
ID: 34961382
Values of the .ini file in a web application using php for windows, something like this:

max_execution_time: 60
segundospost_max_size: 16MB
upload_max_filesize:16MB

How is that possible?
0
 
LVL 34

Expert Comment

by:Beverley Portlock
ID: 34961586
Scan for php.ini and then when you find it simply edit it with a text editor like Notepad
0
 
LVL 4

Expert Comment

by:LAMASE
ID: 34961666
If you can't touch the php.ini file, then try with ini_set() in your code
http://php.net/manual/en/function.ini-set.php

(however you cannot modify what you want, it depends on the server configuration)
0
 

Author Comment

by:dimensionav
ID: 34961793

I have a VPS with plesk so could be .ini file custom per each website?
0
 
LVL 34

Accepted Solution

by:
Beverley Portlock earned 500 total points
ID: 34961926
You should be able to alter these settings in the Virtualhost for each domain. See

http://php.net/manual/en/configuration.changes.php

for examples
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

816 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

8 Experts available now in Live!

Get 1:1 Help Now