Zend - The PHP Company


Zend Server CE

    Zend Server CE: Frequently Asked Questions


    Q: What is a "Document Root"?


    The document root is the file system directory in which files need to be placed in order to be run by the Web server. Files placed in your document root can be accessed by browsing to http://localhost:<port_number>/<file_name>. Files and directories under the document root will generally be available for download (if they are static files such as HTML or images) or for execution (if they are dynamic scripts such as PHP scripts).



    Q: Where is my Document Root?


    The location of your default Zend Server document root depends on the operating system and the Web server you are using:

    • On Microsoft Windows:
      • If Zend Server is running on Microsoft IIS - C:/inetpub/wwwroot
      • If Zend Server is running on Apache - C:/Program Files/Zend/Apache2.2/htdocs
      • If you changed the location of your Zend Server installation, your document root will be located at <Zend_Server_installation_directory>/Apache2.2/htdocs, where <Zend_Server_installation_directory> is the location of the directory in which your Zend Server is installed.
    • On Linux:
      • If you installed Zend Server from a repository (DEB or RPM packages), the location of your document root is defined by your distribution's Apache packages, and will vary depending on your distribution and configuration.
        Common locations include:
        • Debian, Ubuntu - /var/www
        • Fedora Core, RHEL, CentOS - /var/www/html
      • If you installed Zend Server using the Generic Tarball package - /usr/local/zend/apache2/htdocs.
        If you changed the location of your Zend Server installation, your document root will be located at <Zend_Server_installation_directory>/apache2/htdocs, where <Zend_Server_installation_directory> is the location of the directory in which your Zend Server is installed.
    • On Mac OS X: /usr/local/zend/apache2/htdocs


    Q: What is my port number?


    In most cases, your Web server's port number will be 80. If your port number is 80, you can omit the <port> parameter from your URL when browsing to your Web pages (i.e. you can browse to http://localhost/<file_name> without specifying a port number).

    In the following circumstances, your port number will be different:

    • You are running Zend Server on Mac OS X. In this case, the default port number will be 10088.
    • You installed Zend Server using the Generic Tarball package on Linux. In this case, the default port number will be 10088.
    • You modified the port number on which Zend Server listens, during or after installation.


    Q: What are the differences between Zend Server and Zend Server Community Edition (CE)?


    Zend Server Community Edition (CE) is a fast and reliable PHP application stack. It is completely free, and you can use it in development, testing and production. Zend Server is a commercial product that is best suited for business-critical applications. While Zend Server CE is supported via the Zend forums, Zend Server users receive comprehensive technical support, software updates and security patches. Zend Server includes extended caching for better application performance, as well as application monitoring and problem diagnostics. Learn more about the differences between the two Zend Server editions.

    Q: Can I upgrade from Zend Server CE to Zend Server?


    Zend Server CE can be easily upgraded to Zend Server simply by running Zend Server's installer:  All old settings, applications and configurations will be retained.

    Q: How do I know when an update is available?


    Zend Server will notify you when an update is available. Information about the update, such as importance and a description is displayed in the Updates tab, under Administration. Zend Server is also shipped in DEB and RPM formats:  This means you can install and update Zend Server as you would any other software available from your distributions repositories (i.e.,  using aptitude, yum, synaptic, etc).

    Q: Will updates also be available for Zend Server Community Edition?


    Zend Server Community Edition does not support an automatic update mechanism, though periodic updates will be available from Zend.

    Q: How is Zend Server Community Edition (CE) different from xampp?


    The most fundamental difference is that Zend Server CE was designed from the ground up to run in production, and is supported by Zend, the PHP Company.

    Additionally, Zend Server CE provides an all-in-one installer that deploys a certified PHP distribution, Zend Framework, and integrates fully with Apache and IIS;  Zend Server CE also provides an integrated Web administration console.

    Q: What is the expected improvement in performance with Zend Server?


    Zend Server provides multiple technologies (code acceleration, full page caching and data caching) to improve your application response times and minimize resource utilization. Many customers report performance boosts of 200-300% for typical PHP applications, with reduced resource utilization.

    Q: Is Zend Server Community Edition an open source project?


    No, Zend Server CE is a free product provided by Zend,  but it is not released under an open source license.

    Q: How can I install Zend Server using my existing Apache Web server?


    In Windows and Linux (when installed using the generic tar ball installer), Zend Server bundles its own Apache Web server and cannot use an existing pre-installed Apache server.  
    On Linux (using DEB and RPM packages), Zend Server uses the Apache server which is shipped with the Linux distribution.

    Q: Can Zend Server and Zend Platform be installed on the same machine?


    While technically it may be possible to install Zend Server and Zend Platform on the same machine, using different Web servers, this configuration is not supported by Zend.

    Q: I am trying to add a custom PHP extension (as a DLL) on Windows, but the extension does not load. Why is that?


    Before trying to add pre-built binary extensions on Windows, please make sure that the extension is built for the PHP version that is shipped with Zend Server, that it is not a debug build, and most importantly, that the extension is compiled in non-thread-safe (NTS) mode. Extensions compiled with thread-safety enabled will not work with Zend Server. Please note that Zend does not support custom extensions, and that before submitting any support requests, you should disable any custom extensions that you have added.

    Q: What is 'Web server user'?


    When the Web server starts up, its processes will run as a particular user. You can use this user to set permissions for the Web server and PHP to write to various system resources.

    The following are the default user values.  If you have modified your configuration, use the modified values:

    On Windows:
    • If Zend Server is running on Microsoft IIS - IUSER
    • If Zend Server is running on Apache - SYSTEM
    On Linux:
    • Tarball installation - daemon
    • DEB installation - www-data
    • RPM installation - apache
      • Debian, Ubuntu - /var/www
      • Fedora Core, RHEL, CentOS - /var/www/html
    On Mac OS X: daemon

    Q: How does Zend account for virtual machines?


    Zend Server pricing is defined on a per server basis. In the event Zend Server is run in virtualization environments, each virtual server shall be counted identically as a physical server.

    Resources
    FORUMS

    Visit Forum

    more»