Zend Framework: changing public to public_html for CPanel

PHP, Web Development, Zend Framework Add comments

In Zend Framework, the public files are located at public folder, but CPanel are located at public_html. What you will do is create a symlink.

ln -s public public_html

then this structure will work:

htdocs/
  myvhost.com/
    public/
    application/
    library/
    public_html # this is actually a symlink pointing to public

That’s it… 🙂

 

Reference: http://stackoverflow.com/questions/3903127/hosting-php-zend-framework-application-on-shared-cpanel-server

Thanks to: prodigitalson

 

  • camilord

    agree on you Dani. sorry for the super late reply.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in