conf file? I'm confused!

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

new4now
New php-forum User
New php-forum User
Posts: 2
Joined: Thu Mar 03, 2011 11:41 am

conf file? I'm confused!

Postby new4now » Thu Mar 03, 2011 11:45 am

Hi,
I'm writing to this forum as I'm absolutely desperate to solve a problem and despite looking everywhere for an answer I've come up with nothing, I'm new to php (about a week!) and have been trying to crash course myself in it so I wonder if somebody could take a moment out to help me please? I have a domain on a server with bglobal.net (linux, with a plesk control panel) and I've been trying to upload Open Classifieds to it (Open-Classifieds.com), I can get it installed but unusable as far as logging into admin goes. I e-mailed my host about this and eventually they came back with the following:

****As a rule of thumb we dont allow many changes to server config as this is set for all users to be able to use and resources can be evenly split.
But what I have done is allowed you access to your conf folder in your account where you can place a config file for the server to read. If you create a conf file you can add extra settings to your domain.
We have only enabled this for the domain in question. Also remember to set the files permissions to read only once complete. Plenty of information on creating a custom conf file can be found online. *****

I've now logged into my plesk panel and yes I can access the conf folder but I've no idea where to start with creating a conf file to help me change settings to install both the Open Classifieds software and perhaps others in the future. Does this new file have to be specific for that particular php script or will it 'globally' change everything? Is it a php.ini file i need to create? If not what file extension would it need and what do I put in it?
As I say I really dont know where to start so if somebody could even point me in the right direction I'd be eternally grateful.
I'm after creating a local jobs type site and I'd like to get it up and running as soon as possible but I'm pulling my hair out (whats left of it!)

Best regards and many sincere thanks.

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: conf file? I'm confused!

Postby egami » Fri Mar 04, 2011 5:45 am

create a file called php.ini and put it in the directory where your "configuration folder" is.
Then you can make the changes they have allowed.

For more information on the php.ini configuration file, check out www.php.net/configuration

new4now
New php-forum User
New php-forum User
Posts: 2
Joined: Thu Mar 03, 2011 11:41 am

Re: conf file? I'm confused!

Postby new4now » Sun Mar 06, 2011 7:41 am

Thank you, I'll do that now and post back with the result.

Best Regards


Return to “Server installation and configuration”

Who is online

Users browsing this forum: No registered users and 1 guest