Now when I browse to that file the browser asks me to download a php file.
What could be causing that?



DASPRiD wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> a) Don't use init_set
> b) Never set relative include paths
> 
> $includePaths  = dirname(__FILE__) . '/library' . PATH_SEPARATOR
>                . get_include_path();
> 
> set_include_path($includePaths);
> 
> ...................................
> :  ___   _   ___ ___ ___ _ ___    :
> : |   \ /_\ / __| _ \ _ (_)   \   :
> : | |) / _ \\__ \  _/   / | |) |  :
> : |___/_/:\_\___/_| |_|_\_|___/   :
> :........:........................:
> : Web    : http://www.dasprids.de :
> : E-mail : [EMAIL PROTECTED]       :
> : Jabber : [EMAIL PROTECTED]     :
> : ICQ    : 105677955              :
> :........:........................:
> 
> 
> gfxcomplex schrieb:
>> I have downloaded the zip for 1.7 and have renamed the folder to
>> ZendFramework
>> 
>> I have the include_path set to
>> ini_set("include_path", ".:ZendFramework/library");
>> 
>> and a point to 
>> require_once 'Zend/Amf/Server.php';
>> 
>> and I get:
>> 
>> Warning: require_once(Zend/Amf/Server.php) [function.require-once]:
>> failed
>> to open stream: No such file or directory in
>> /var/www/vhosts/gfxcomplex.com/httpdocs/swf/amf.php on line 6
>> 
>> Fatal error: require_once() [function.require]: Failed opening required
>> 'Zend/Amf/Server.php' (include_path='.:/ZendFramework/library') in
>> /var/www/vhosts/gfxcomplex.com/httpdocs/swf/amf.php on line 6
>> 
>> permissions are set to 777 and the bootstrap file the makes the error is
>> in
>> the same root folder as ZendFramework. So paths are correct as far as I
>> can
>> tell.
>> 
>> I host with media temple and have a DV server. I called them and they
>> said
>> all looks good and had no idea why there is a problem, thus asking me to
>> come to here and ask my question.
>> 
>> thanks
>> - Josh Chernoff.
>> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkkNCSQACgkQ0HfT5Ws789C4qgCgqgyDZ+P/lvcs0dUiYmzaveAJ
> /90An18yR8N+54btl9h5jUPQ/Qv2+Ow3
> =jxkR
> -----END PGP SIGNATURE-----
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-getting-include_path-to-work.-tp20286308p20286460.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to