# Installing Zend AMF

**URL:** https://forum.kirupa.com/t/installing-zend-amf/284115
**Category:** programming
**Created:** [March 15, 2009, 4:10pm UTC](https://forum.kirupa.com/t/installing-zend-amf/284115 "2009-03-15T16:10:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tezzutezzu](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@tezzutezzu](https://forum.kirupa.com/u/tezzutezzu)
#### Post date: [March 15, 2009, 4:10pm UTC](https://forum.kirupa.com/t/installing-zend-amf/284115/1 "2009-03-15T16:10:19Z")

</div>

Hello Kirupians,

This might be quite a noob question for PHP gurus but is giving me some problems.  
I have put my Zend folder inside a folder called ‘frameworks’ located in the same directory of my php files.

When I invoke the PHP instead of running the script my browser downloads the file!

Here is the code I’m using:

```php

<?php

error_reporting(E_ALL | E_STRICT);

ini_set("display_errors", "on");

ini_set("include_path", ini_get("include_path") . ":frameworks" );

require_once 'frameworks/Zend/Amf/Server.php';
require_once 'test.php';

$server = new Zend_Amf_Server();
$server->setClass("test");

echo($server->handle());

?>

```

Any ideas? Thanks!
