Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

correct syntax / formatting on open_basedir in php.ini?

$
0
0

 I'm a little confused..

 There is a lot (mis)information on the web and it seem like I cannot figure this one out correctly.

 I'm running 2003 server with ms fast-cgi php and iis 6.

What is the correct syntax /formatting for open_basedir in phi.ini file?

 I Have to sites (folders ) that I want to secure. But I do not seem to get it right.

Is it with forward slash or backward slash and do I use the semicolon syntax also?:

 

Examples:


open_basedir = X:\website\Defaultsite1;X:\website\Defaultsite2

or 

open_basedir = "X:\website\Defaultsite1;X:\website\Defaultsite2"

 

or

open_basedir = X:\website/Defaultsite1;X:\website/Defaultsite2


or

 

open_basedir = X:/website/Defaultsite1;X:/website/Defaultsite2

 

 What is the correct syntax to use for the windows path to my folders, with php enabled sites and for more than one directory?

 

I do not wish to give php access to site folders that do not run PHP. 

 

Thanks a lot in advance. 

kind regards

Daniel

 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>