vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   php.ini file (https://vborg.vbsupport.ru/showthread.php?t=172311)

bobhonda 03-07-2008 12:25 AM

php.ini file
 
can anyone tell me the path to php.ini file ? .... thanks

Bradley_Wint 03-07-2008 12:39 AM

1 Attachment(s)
ok ... normally the php.ini file should be within your www or public_html folder (w/e yours is called)...

make a php file with this code in it.
Code:

<?php
echo getcwd();
?>

save the file as say ... path.php and place it in the dir with the php.ini , which as I said is usually within the HTML folders... go to the path.php file...(e.g. www.yoursite.com/path.php) and it will give you the path to that dir... say for example (bradleyw/home/public_html) and just add the php.ini to that listed path.


attached is the path.php file if you are too lazy to make it yourself

bobhonda 03-07-2008 01:11 AM

thanks for the reply iam trying to bump up the PHP Maximum Upload Size but i dont see the php.ini file anywhere? was told that what i got to edit

SEOvB 03-07-2008 01:15 AM

the php.ini file is not within www or public_html folders :roll:

Its usually located in a different location depending on how your server is configed. If you're on shared hosting you won't be able to edit the file directly. If you're on VPS or dedicated log into the SSH and do a find php.ini command to find it.

Or you can find it using a php file
Code:

<?php
phpinfo();
?>

in a php file on your server, and visit it with your browser

Bradley_Wint 03-07-2008 01:22 AM

Hmmm weird, I checked my public_html and saw my fastphp.ini and php.ini files.

Maybe your server does not allow you access to configure those files? Is it your server or a sub server or what?

bobhonda 03-07-2008 01:39 AM

yea its a shared so i guess i got to get them to do it...............i remember doing it a long time ago on another shared set up but i cant remember what i did lol. thanks for the help

Bradley_Wint 03-07-2008 01:42 AM

Even shared setups should have php.ini files for each sublet. Talk to your network admin on configuring it if you have a problem.

Dismounted 03-07-2008 05:24 AM

Usually, you don't have any control over PHP settings on a shared service. You'd be lucky to be able to control anything.

snakes1100 03-07-2008 09:06 AM

Most hosts such as liquidweb, godaddy, hostgator and numerous others allow php.ini modification and allow vhost users to modify settings per vhost for many different aspects of php, memory_limit, max_execution.

You can simply add a php.ini file to your public_html/root, insert hte settings you want modified, save the file and refresh, recheck the info.php page and see if your settings took effect.


All times are GMT. The time now is 11:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01058 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete