Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I new in Zend and Lamp, my software: Zend Framework, Ubuntu10.04,Lamp.

I made my first Zend Project with Zend tool

(according this tutorial

But when i go to http://localhost/zftutorial/public i get 500 error.

My $ dir -l of zftutorial:

drwxr-xr-x 6 root root 4096 2010-06-01 23:54 application
drwxr-xr-x 2 root root 4096 2010-06-01 23:54 docs
drwxr-xr-x 3 root root 4096 2010-06-02 00:23 library
drwxr-xr-x 3 root root 4096 2010-06-02 00:00 nbproject
drwxr-xr-x 2 root root 4096 2010-06-01 23:54 public
drwxr-xr-x 4 root root 4096 2010-06-01 23:54 tests


<VirtualHost *:80>
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www
    <Directory />
        Options FollowSymLinks
        AllowOverride All
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from ::1/128



share|improve this question
up vote 2 down vote accepted

can you run this command to know why apache send back error 500 go and browse the same page then

tail -f /var/log/apache2/error.log

it might a php error if you had error_reporting(0)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.