vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   /usr/local/lib directory ? (https://vborg.vbsupport.ru/showthread.php?t=315581)

Xplosive60 11-23-2014 03:13 PM

/usr/local/lib directory ?
 
Hi i apoligize for starting a new thread as im sure this has been covered but i can't seem to find the answer.
I am trying to edit the php.ini file to allow larger uploads.
php info says its in directory /usr/local/lib , the problem is i can't find that directory, i don't seem to have a /usr folder.
Vbull 4.2.2 pl 2

Dave 11-23-2014 03:25 PM

I assume you have your own VPS? This will not work on shared hosting.

Xplosive60 11-23-2014 03:29 PM

yes i have VPS

Lynne 11-23-2014 05:54 PM

I would suggest asking your host about this. You may need to login via ftp as another user in order to view that directory. (Don't forget to restart apache after making any changes to the php.ini file.)

Xplosive60 11-23-2014 06:40 PM

Well can someone tell me where its suppose to be at least? I assume /usr/local/lib means it's in the root directory and i just can't see it?

Dave 11-23-2014 06:44 PM

We don't know what you see, so it's hard for us to help you.

Xplosive60 11-23-2014 06:49 PM

What i see is not the problem, it's what i can't see, and thats the usr directory.
I have submitted a ticket to my vps server but i know they will reply with Vbulletin is not their issue.

Dave 11-23-2014 06:51 PM

Include screenshots?
Are you logging into the FTP as a root user?
Can you see in what directory you're currently in?

Lynne 11-23-2014 07:16 PM

Quote:

Originally Posted by Xplosive60 (Post 2523871)
Well can someone tell me where its suppose to be at least? I assume /usr/local/lib means it's in the root directory and i just can't see it?

There is no place is it supposed to be. It can be almost anywhere. It can also be in many locations. For instance, your host may tell you the server is set up to allow you to add your own php.ini file to a certain directory.

Xplosive60 11-23-2014 09:46 PM

Quote:

Originally Posted by Lynne (Post 2523875)
There is no place is it supposed to be. It can be almost anywhere. It can also be in many locations. For instance, your host may tell you the server is set up to allow you to add your own php.ini file to a certain directory.

Thank you i am working with them, this is their reply....
The file is there, and the directory is there. Here:

[root@www /]# cd /usr/local/lib/
[root@www lib]# pwd
/usr/local/lib
[root@www lib]# ls | grep php.ini
aphp.ini

Was great of them but not sure how to find file from that.

ozzy47 11-23-2014 11:11 PM

Why not just have them change it for you, since they were in there?

Xplosive60 11-23-2014 11:22 PM

Well that would be nice, but they tend to frown on dealing with vbull or any other format, not their issue, was lucky to get what i got.
Also i need to learn this.

ozzy47 11-23-2014 11:23 PM

Ummm, changing the php.ini file has nothing to do with vBulletin or any other software, it is a server thing.

Xplosive60 11-23-2014 11:41 PM

Ahhh, i did not know that, thank you!
So your saying that is not a vbull file?

ozzy47 11-23-2014 11:42 PM

Hopefully they will be nice and adjust it for you. :)

Xplosive60 11-23-2014 11:47 PM

ya i asked nice lol

ozzy47 11-23-2014 11:50 PM

Best way to do it. :p

HM666 11-24-2014 01:40 PM

For future reference if you are running the cPanel WHM on the VPS or a dedicated server even you can edit your php.ini file inside it. If you are running WHM just login to it and look for "Service Configuration" on the left and click it. Then choose PHP Configuration Editor and you should be able to safely edit the values there without causing a serious problem with your server.

Lynne 11-24-2014 05:45 PM

Quote:

Originally Posted by Xplosive60 (Post 2523907)
Ahhh, i did not know that, thank you!
So your saying that is not a vbull file?

That is correct. php.ini is a file with your PHP settings. It isn't a vbulletin file at all.


All times are GMT. The time now is 12:02 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.02357 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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