PDA

View Full Version : /usr/local/lib directory ?


Xplosive60
11-23-2014, 03:13 PM
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
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
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
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.