473,466 Members | 1,296 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Config php.ini

1 New Member
I am new to PHP Development , i want to know How to config the php.ini file(not locally), PLEASE URGENT
Jul 7 '06 #1
5 5260
lephap99
2 New Member
If you have a server, then you can do it.
But if you have a hosting. You can not config file php.ini.
Good luck
Jul 7 '06 #2
sashi
1,754 Recognized Expert Top Contributor
Hi there,

some hosting company do allow you to config the .ini file by placing the file in your document root.. if you are hosting your site with a third-party hosting company then you should check with them.. good luck my fren.. :)
Jul 7 '06 #3
rickshaw
1 New Member
I'm having a very similar problem.

The program I'm installing says to do this:

PHP 4.3.10 or higher with the following set in php.ini file:
-The max_input_time directive set to a value of at least 30
-The post_max_size and upload_max_filesize directives set to the size of the largest attachments yu wish to be able to upload.
-The memory_limit directive set to at least 8M
-The max_execution_time directive set to at least 15
-The register_globals directive set to Off
-Safe mode disabled, or PHP suExec enabled
- - - -

When I asked my Hosting company where is the php.ini ? They said this:
I could creat a php.ini in my Parent directory. And specific php.ini options can be used by your PHP scripts by placing an .htaccess file in the directory that contains the php script with a path to a php.ini.

The .htaccess file will need to contain the line
" suPHP_ConfigPath /home/domains/example.tld/web/ "

This will load a file named php.ini (from the web directory), which should contain all the options you want.

Ok, I added the .htaccess to my Parent directory with the line they suggest.
Exactly like this, but with my domain name.

suPHP_ConfigPath /home/domains/example.tld/web/

Also, I have a php.ini file now in my Parent directory. But "exactly" what do I now put in the php.ini file to make it function??

Thanks for your advice.

-Rick
Jul 17 '06 #4
ronverdonk
4,258 Recognized Expert Specialist
Have a look at the Apache/PHP/MySql mini-tutorials. Adapting your PHP.INI depends on the version you are using. So see link

http://minitutorials.com/apache/apacheindex.shtml

Ronald :cool:
Jul 20 '06 #5
ronverdonk
4,258 Recognized Expert Specialist
Just to let you know that there is another site I just passed by and solely dedicated to PHP.INI
http://www.ilovejackdaniels.com/php-ini-guide/

Ronald :cool:
Jul 20 '06 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Maxim Khesin | last post by:
I want to have a config file with my python proggie, satisfying the following requirements: 1) support key->(value, default) 2) simple and intuitive to read and edit 3) easyly readable into a...
4
by: Fuzzyman | last post by:
There have been a couple of config file 'systems' announced recently, that focus on building more powerful and complex configuration files. ConfigObj is a module to enable you to much more *simply*...
3
by: Richard Lewis Haggard | last post by:
I have a test application that is calling an assembly that reads some strings out of a config file. Normally, this assembly supports a web application and the information can be read just fine....
13
by: Khodr | last post by:
Hello, I am using VS.NET 2003 and vb. I build my application MyApp and it generates MyApp.exe.config. So now MyApp.exe reads parameters from MyApp.exe.config. Great and no problem! I need to...
20
by: tomerfiliba | last post by:
hey i've been seeing lots of config-file-readers for python. be it ConfigObj (http://www.voidspace.org.uk/python/configobj.html) or the like. seems like a trend to me. i came to this conclusion...
11
by: TARUN | last post by:
Hello All I need to ask about the configuration file in .NET, There are Two config File 1. Web Config 2. Machine config I understand the the usage of Web config , but not able to understand...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
5
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based...
10
by: eagle | last post by:
I have a web.config in my application that contains the connection strings to all my datasources. I want to move these connection strings to another web config up the folder hierarchy so that all...
5
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a app that uses several membership/role providers. I can list these Providers with the code: Dim rootWebConfig1 As Configuration rootWebConfig1 =...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.