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
https://forums.phpfreaks.com/topic/271295-php-ini-configuration/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.