Author |
Message |
jackel
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA
|
Posted:
Tue Mar 24, 2009 1:10 pm |
|
can someone write or show me how to write the perfect ravennuke php.ini
thanks |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Tue Mar 24, 2009 1:51 pm |
|
When you run the install files it tells you what settings should be turned on and off. You should use this as the basis and this should ensure RavenNuke runs on your server with the optimum settings. |
|
|
|
 |
jackel

|
Posted:
Tue Mar 24, 2009 4:13 pm |
|
I know this. But I know nothing about setting up a php.ini and I would like someone to help me or make one for me Godaddy.com said we can add it to my root file but they could tell me nothing about it. |
|
|
|
 |
jakec

|
Posted:
Wed Mar 25, 2009 12:56 am |
|
OK, but we know nothing about your hosting environment. What exactly do you want to turn on, or off? |
|
|
|
 |
jackel

|
Posted:
Wed Mar 25, 2009 8:15 am |
|
Language Options asp_tags Allow ASP-style <% %> tags. Off
File Uploads file_uploads Whether to allow HTTP file uploads. On
Paths and Directories include_path Windows: "\path1;\path2" c:\php\includes" .:/usr/lib/php:/usr/local/lib/php
Resource Limits max_execution_time Maximum execution time of each script, in seconds 30
Resource Limits max_input_time Maximum amount of time each script may spend parsing request data 60
Resource Limits memory_limit Maximum amount of memory a script may consume (32MB) 64M
Data Handling register_globals You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. Off
Language Options safe_mode off
main session.save_path where N is an integer. Instead of storing all the session files in /path, what this will do is use subdirectories N-levels deep, and store the session data in those directories. This is useful if you or your OS have problems with lots of files in one directory, and is a more efficient layout for servers that handle lots of sessions. NOTE 1: PHP will not create this directory structure automatically. You can use the script in the ext/session dir for that purpose. NOTE 2: See the section on garbage collection below if you choose to use subdirectories for session storage N;/path
File Uploads upload_max_filesize Maximum allowed size for uploaded files. 32M
main zend_optimizer.version 3.3.3
Also everything to make RN work right on |
|
|
|
 |
jackel

|
Posted:
Wed Mar 25, 2009 8:16 am |
|
this was something from a site that everything i wanted to worked I hope this helps |
|
|
|
 |
jakec

|
Posted:
Wed Mar 25, 2009 11:54 am |
|
Sorry I'm still none the wiser.
If you run the installation script what is it telling you that needs to be turned off, or on? |
|
|
|
 |
jackel

|
Posted:
Wed Mar 25, 2009 12:17 pm |
|
jakec,
Sorry I'm having trouble I have Rn installed if you put a php.ini file with just the stuff the server doesn't have on will that work? or once you put a php.ini file there it completly runs for it. |
|
|
|
 |
jakec

|
Posted:
Wed Mar 25, 2009 1:49 pm |
|
If you have RN installed and everything is working OK then you really don't need to do anything with a php.ini file. |
|
|
|
 |
jackel

|
Posted:
Wed Mar 25, 2009 2:58 pm |
|
Not everything is working Everything todo with RN is but the coppermine module is not working right. Thats why im trying to fig out the right php.ini settings |
|
|
|
 |
jakec

|
Posted:
Wed Mar 25, 2009 3:08 pm |
|
OK, what makes you think it can be fixed by a php.ini file? |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Mar 25, 2009 10:57 pm |
|
I reallt doubt it's a php.ini issue. |
|
|
|
 |
|