apache - mod_php - open_basedir : syntax ?

From: Date: Fri, 16 Jul 2004 11:30:24 +0000
Subject: apache - mod_php - open_basedir : syntax ?
Groups: php.install 
Request: Send a blank email to php-install+get-13898@lists.php.net to get a copy of this message
Hello, If I write into my page.php : $handle = fopen( 'http://www.myhost.org/' , 'r' ); fopen return SUCCES. If I write into my page.php : $handle = fopen( 'http://www.otherhost.org/' , 'r' ); fopen return ECHEC whith Error : failed to open stream: Connection refused in [...] I think which I must modify "php_admin_value open_basedir" but I don't know that. Do you know syntax for URL into "php_admin_value open_basedir" ? +=+=++=+=++=+=++=+=++=+=++=+=++=+=++=+=++=+=++=+=+ My config : distribution slackware 9.0 php 4.3.3 apache 2.0.47 php.ini : safe_mode = Off allow_url_fopen = On register_globals = Off httpd.conf : <virtualhost www.myhost.org:80> [...] php_admin_value open_basedir .:/php/class php_admin_value include_path .:/php/class [...] </virtualhost> +=+=++=+=++=+=++=+=++=+=++=+=++=+=++=+=++=+=++=+=+ Thanks.

« previous php.install (#13898) next »