title: Problems with zend, call to undefined function libxml
body: <p>I'm starting to use zend framework and trying to submit a form I get this error message:
  <strong>Fatal error: Call to undefined function libxml_disable_entity_loader() in /usr/local/ZendFramework/library/Zend/Xml/Security.php on line 85</strong></p>
  
  <p>Someone who can help me please, I thank you in advance. :)</p>
  
  <p>Controller.php</p>
  
  <pre><code>public function addAction()
  {
      $this-&gt;view-&gt;title = "Agregar album";
      $this-&gt;view-&gt;headTitle($this-&gt;view-&gt;title);
      $form = new Application_Form_Album ();
      $form-&gt;submit-&gt;setLabel('Agregar Album');
      $this-&gt;view-&gt;form = $form;
  
      if ($this-&gt;getRequest()-&gt;isPost())
      {
          $formData = $this-&gt;getRequest()-&gt;getPost();
  
          if ($form-&gt;isValid($formData))
          {
              $artista_id = $form-&gt;getValue('artista_id');
              $nombre = $form-&gt;getValue('nombre');
              $fecha = $form-&gt;getValue('fecha');
              $descripcion = $form-&gt;getValue('descripcion');
  
              $fecha = $this-&gt;fechaMysql($fecha);
  
              $albums = new Application_Model_DbTable_Album ();
  
              $albums-&gt;agregar($artista_id, $nombre, $fecha, $descripcion);
  
              $this-&gt;_helper-&gt;redirector('index');
          }
          else
          {
              $form-&gt;populate($formData);
          }
      }
  }
  </code></pre>
  
  <p>Form.php</p>
  
  <pre><code>&lt;?php
  
  class Application_Form_Album extends Zend_Form
  {
  
      public function init()
      {
          $this-&gt;setName('albums');
  
          $id = new Zend_Form_Element_Hidden('id');
          $id-&gt;addFilter('Int');
  
          $nombre = new Zend_Form_Element_Text('nombre');
          $nombre-&gt;setLabel('Nombre del album:')-&gt;setRequired(true)-&gt;
              addFilter('StripTags')-&gt;addFilter('StringTrim')-&gt;
              addValidator('NotEmpty');
  
          $artista = new Zend_Form_Element_Select('artista_id');
          $artista-&gt;setLabel('Seleccione artista:')-&gt;setRequired(true);
  
          $table = new Application_Model_DbTable_Artista();
  
          foreach ($table-&gt;listar() as $c)
          {
              $artista-&gt;addMultiOption($c-&gt;id, $c-&gt;nombre);
          }
  
          $descripcion = new Zend_Form_Element_Text('descripcion');
          $descripcion-&gt;setLabel('Descripcion:')-&gt;setRequired(false)-&gt;addFilter('StripTags')-&gt;addFilter('StringTrim');
  
          $fecha = new Zend_Form_Element_Text('fecha');
          $fecha-&gt;setLabel('Fecha lanzamiento:')-&gt;setRequired(true)-&gt;addFilter('StripTags')-&gt;
              addFilter('StringTrim')-&gt;addValidator('NotEmpty');
          $valiDate = new Zend_Validate_Date();
          $valiDate-&gt;setFormat('dd-mm-YYYY');
          $fecha-&gt;addValidator($valiDate);
          $fecha-&gt;setValue(date("d-m-Y"));
  
          $submit = new Zend_Form_Element_Submit('submit');
          $submit-&gt;setAttrib('id', 'submitbutton');
  
          $this-&gt;addElements(array($id, $nombre,
              $artista, $descripcion, $fecha, $submit));
  }
  </code></pre>
  
  <p>}</p>
  
  <p>View.phtml</p>
  
  <pre><code>&lt;div class="formContainer"&gt;
      &lt;?php echo $this-&gt;form ?&gt;
  &lt;/div&gt;
  </code></pre>