Jump to content

Php Ini Configuration


Nodral

Recommended Posts

I am currently installing a subversion protocol within a business, some of the users develop in Windows on local Wamp servers, and others use local Lamp servers. The main site runs on a linux server.

The issue I have is setting up the include paths within the php.ini file. As some of the live files change this setting on the fly, this is becoming a pain.

The windows machines require a semi colon delimiter in the include paths, and the linux machines require a colon.

Is there any way to change the configuration of the windows machines to use a colon as the include path delimiters?

Link to comment
Share on other sites

I have approx 50 sites set up on the server, and each uses one of 3 common config files. Therefore we dyamically change the include path to point at the relevant config file.

 

This is fine for the Linux developer guys, as they can just recreate the file structure on their machines, however I have an issue with the Windows guys as when they copy the files, their include paths break, and I really don't fancy going through everything and changing the include path settings to an 'if' statement. I'd rather just change the php settings on 3 machines if possible.

 

If there's a way to do this, I'd be much appreciative. If not within the php.ini, whether I can do some sort of dynamic redirect solely on the Windows machines (like a symbolic link on linux) without amending the site files.

Link to comment
Share on other sites

so how would I use mklink to go from

C:\Users\******\Documents\NetBeansProjects\tier3\tier3shared:/home/tier3shared

to

C:\Users\******\Documents\NetBeansProjects\tier3\tier3shared

, as the colon is not a valid character within a file path

Edited by Nodral
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.