Search code examples
phpzend-frameworkzend-studio

Zend studio/- framework not installed properly?


(mind you: I'm a complete noob regarding zend framework. I've been using CodeIgniter and Zend Studio for quite some time now but felt the need to "expand", so to say.)

Using the Studios built in ZF generator I made myself a fresh ZF 1.11 install on my localhost. However, when I tried to access my newly made index page, I cannot see a thing. I fear that Studio has not installed the proper files for my Framework appilcation, seeing that the require_once 'Zend/Application.php'; line requires it to load a non-existing file.

Could anyone give a hand perhaps?

Thanks!


Solution

  • Zend library path is not correctly configured in php.ini file. Configure the above stated file and also put the zf.bat or zf.sh according to your working platform in the path directory of the system.

    Then, configure your httpd.conf file and configure the virtual host as follows (On linux Platform).

    <Directory "/var/www/html">
        Options Indexes FollowSymLinks  
        AllowOverride All    
        Order allow,deny
        Allow from all
    </Directory>
    
    <VirtualHost *:80>
        ServerAdmin root@server.om.com
        DocumentRoot /var/www/html
        ServerName www.om.com
        <Directory "/var/www/html">
            AllowOverride All
        </Directory> 
    </VirtualHost>
    

    Along with that

    mod_rewrite should be enabled in your httpd.conf file of Apache.