# Zend Framework not found

**URL:** <https://community.open-emr.org/t/zend-framework-not-found/12604>\
**Category:** OpenEMR Development\
**Tags:** infrastructure\
**Created:** [August 10, 2019, 6:37pm UTC](https://community.open-emr.org/t/zend-framework-not-found/12604 "2019-08-10T18:37:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![juggernautsei](https://community.open-emr.org/user_avatar/community.open-emr.org/juggernautsei/32/10764_2.png) [@juggernautsei](https://community.open-emr.org/u/juggernautsei)\
**Post date:** [August 10, 2019, 6:37pm UTC](https://community.open-emr.org/t/zend-framework-not-found/12604/1 "2019-08-10T18:37:11Z")

</div>

The requested URL /interface/modules/zend\_modules/public/Installer was not found on this server.  
Ubuntu 4.15.0  
PHP 7.2.19  
A little history, this is an installation that I moved from windows to Linux last year. I am starting to build a module. I thought first it must be the permissions. I went down that road for two hours plus. Changed all the permission. Same results. I ended up downloading the Linux code from SourceForge  
and replacing the entire modules folder. Nothing changed. Are there other dependencies that I am missing? The error log is no help as no errors about this are being produced.

@brady.miller@zhopenemr

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/b4741282d0d41576ade187f4fb6d242311189ef4.png)

Errors

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/5/544ef3b90ab90cc05ebcef19ef0e04079dddf2ef.png)

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [August 10, 2019, 7:03pm UTC](https://community.open-emr.org/t/zend-framework-not-found/12604/2 "2019-08-10T19:03:57Z")

</div>

make sure you have mod rewrite turned on and .htaccess is allowed!

also, really not worried about php notices.

---

<div class="post-metadata">

**Author:** ![juggernautsei](https://community.open-emr.org/user_avatar/community.open-emr.org/juggernautsei/32/10764_2.png) [@juggernautsei](https://community.open-emr.org/u/juggernautsei)\
**Post date:** [August 10, 2019, 8:02pm UTC](https://community.open-emr.org/t/zend-framework-not-found/12604/3 "2019-08-10T20:02:47Z")

</div>

Thanks for pointing me in the right direction. It was not the mod rewrite. It was a bad config.

Changed this:  
\<Directory /var/www/\>  
Options FollowSymLinks  
AllowOverride None  
Require all granted

to this:  
\<Directory /var/www/\>  
Options FollowSymLinks  
AllowOverride All  
Require all granted

Restarted apache and it loaded zend modules.

Thanks!!!  
Sherwin

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [August 10, 2019, 8:58pm UTC](https://community.open-emr.org/t/zend-framework-not-found/12604/4 "2019-08-10T20:58:21Z")

</div>

> [@juggernautsei](#):
>
> AllowOverride All

FYI, turns on allowing .htaccess. For all RESTful calls in OpenEMR we use .htaccess for redirects to the api. This includes app api’s(standard and FHIR), Zend modules(ccda e.t.c) and portal.  
e.g.  
RewriteEngine On  
RewriteCond %{REQUEST\_FILENAME} !-f  
RewriteCond %{REQUEST\_FILENAME} !-d  
RewriteCond %{REQUEST\_FILENAME} !-l  
RewriteRule (.\*) index.php?\_REWRITE\_COMMAND=$1 [QSA,L]

> [@juggernautsei](#):
>
> \<Directory /var/www/\>

However, i’m not sure this is the most secure option and perhaps  
\<Directory /var/www/htdoc/openemr\> or whatever your pathing is and should be restricted to your virtual host or site config for instance.

Good grief! I’m awfully chatty today 🙂

---

<div class="post-metadata">

**Author:** ![juggernautsei](https://community.open-emr.org/user_avatar/community.open-emr.org/juggernautsei/32/10764_2.png) [@juggernautsei](https://community.open-emr.org/u/juggernautsei)\
**Post date:** [August 12, 2019, 1:55am UTC](https://community.open-emr.org/t/zend-framework-not-found/12604/5 "2019-08-12T01:55:39Z")

</div>

> [@sjpadgett](#):
>
> \<Directory /var/www/htdoc/openemr\> or whatever your pathing is and should be restricted to your

I will take this and run with it. It is good to have dialog with another as view can be over looked thinking to oneself.
