Skip to end of metadata
Go to start of metadata

<h1>Installing Zend Framework on a Web Hosting Provider</h1>

<ac:macro ac:name="note"><ac:parameter ac:name="title">Contributors wanted</ac:parameter><ac:rich-text-body><p>Please help the community by sharing your successful experiences with various web hosting providers using the Zend Framework.</p></ac:rich-text-body></ac:macro>

<ac:macro ac:name="note"><ac:parameter ac:name="title">Please note</ac:parameter><ac:rich-text-body><p>This page is about installing Zend Framework on a hosting account—not which hosting providers do/don't/might support the latest required version of PHP. Please use <ac:link><ri:page ri:content-title="Zend Framework Web Hosts" ri:space-key="ZFUSER" /></ac:link> for that instead.</p></ac:rich-text-body></ac:macro>

<p>It's important to be aware that most web hosts run old versions of PHP. If you are in a situation where this is the case and you cannot compile your own version of PHP, trying sending the <a href="http://www.php.net/ChangeLog-5.php">PHP changelog</a> to your web host and encourage them to upgrade to the current stable version of PHP. For more information, see <ac:link><ri:page ri:content-title="Zend Framework Web Hosts" ri:space-key="ZFUSER" /></ac:link>.</p>

<p>If you are looking for a new host and want one that will run Zend Framework, see <ac:link><ri:page ri:content-title="Zend Framework Web Hosts" ri:space-key="ZFUSER" /></ac:link>.</p>

<p>For reference purposes, Zend also has a <a href="http://www.zend.com/hosting_sites/phphosting.php">list of providers hosting PHP services</a>, although some might not support the requirements of the ZF.</p>

<h2>Popular Web Hosting Control Panels</h2>

<h3>cPanel</h3>

<h3>Ensim</h3>

<p>Web hosting providers using Ensim Pro in high security mode generally support the use of custom-compiled versions of PHP, provided they also allow access to <code>gcc</code> and a shell account.</p>

<h3>Plesk</h3>

Labels:
installation installation Delete
hosting hosting Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Sep 14, 2011

    <p>Plesk, cPanel or Ensim are not web hosting companies, they are just control panels that companies use.</p>

  2. Aug 08, 2006

    <p>GoDaddy is a large, popular web host provider, which I would add to this list. GoDaddy supports both PHP 4 & 5.</p>

    1. Nov 14, 2007

      <p>As far as I know, GoDaddy only supports php 5 in FastCGI mode (correct me if I'm wrong).</p>

  3. Feb 10, 2008

    <p>i would not recommend godaddy for hosting.</p>

  4. Feb 27, 2010

    <p>I couldn't find directions here on setting up a Go Daddy account with Zend, so here goes.</p>

    <h1>Setting up Go Daddy with Zend Framework</h1>

    <h2>DOWNLOAD ZEND</h2>

    <p>1)     Download Zend Framework from <span style="text-decoration: underline;"><a class="external-link" href="http://www.zend.com/community/downloads">http://www.zend.com/community/downloads</a></span> and extract the contents of the download to your local disk.</p>

    <p>2)     Rename the directory 'ZendFramework-x.x.x' to 'zend'. This directory should contain a subdirectory named 'library'.</p>

    <h2>TELL PHP WHERE ZEND LIVES</h2>

    <p>1)     Get a Go Daddy Linux hosting account, set up your hosting.</p>

    <p>2)     FTP the 'zend' folder as '/zend' onto your hosting account. <strong><em>I would recommend you transfer the files in binary mode (BIN).</em></strong></p>

    <p>3)     Display the PHP information. Create a file 'info.php' with the following line in it:<br />
         <?php phpinfo(); ?></p>

    <p>4)     Visit your site or preview site and open info.php - make a note of the PHP version at the top, the "DOCUMENT_ROOT" value, and the "include_path" value.</p>

    <p>5)     By default, Go Daddy installs PHP 5 for your Linux hosting. If you are running PHP 5, copy your /php.ini file to /php5.ini</p>

    <p>6)     Edit /php.ini or /php5.ini depending of your PHP version. Add the following line:<br />
         include_path = [value of DOCUMENT_ROOT]/zend/library<br />
    For example, if DOCUMENT_ROOT was /home/content/a/b/c/leejones/html then you would add the line<br />
         include_path = /home/content/a/b/c/leejones/html/zend/library</p>

    <p>7)     Visit your site again and open info.php again. Make a note of the "DOCUMENT_ROOT", "include_path" value and "Loaded Configuration File" value.</p>

    <p>8)     Test Zend with one of the usage examples from <a class="external-link" href="http://framework.zend.com/search?query=usage+example">http://framework.zend.com/search?query=usage+example</a></p>