Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2008, 12:25 AM
bobhonda bobhonda is offline
 
Join Date: Feb 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default php.ini file

can anyone tell me the path to php.ini file ? .... thanks
Reply With Quote
  #2  
Old 03-07-2008, 12:39 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Attached Files
File Type: php path.php (27 Bytes, 4 views)
Reply With Quote
  #3  
Old 03-07-2008, 01:11 AM
bobhonda bobhonda is offline
 
Join Date: Feb 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 03-07-2008, 01:15 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 03-07-2008, 01:22 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 03-07-2008, 01:39 AM
bobhonda bobhonda is offline
 
Join Date: Feb 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 03-07-2008, 01:42 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even shared setups should have php.ini files for each sublet. Talk to your network admin on configuring it if you have a problem.
Reply With Quote
  #8  
Old 03-07-2008, 05:24 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Usually, you don't have any control over PHP settings on a shared service. You'd be lucky to be able to control anything.
Reply With Quote
  #9  
Old 03-07-2008, 09:06 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04485 seconds
  • Memory Usage 2,256KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete