Hi All!
This post will be in English because I thought this information might be of any interest for everybody trying to get the Zend Framework to work on servers, which you can’t control completely (Shared Hosting, etc).
I updated the Compatibility Script. You can download it here.
What you should do:
- Download the script above and unzip it to a location on your server.
- run the script and discover all your server settings (It’s kind of a PHP info
) - Since you are reading this, I assume that you are not a Zend Framework Expert (trust me, neither am I)
This would mean you used the instructions about the directory structure in the quick start provided on the homepage of Zend Framework.
This also mean you need a .htaccess file in your public folder that goes like: - Finished! All should work properly…
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /path/to/your/public/folder/from/root/index.php [NC,L]
I hope this information was helpful.
Greetings,
MiST
#1 by Maarten on Wednesday 17 February 2010 - 12:06
Hello,
Seems like very good information but i cannot seem to get it to work. I was wondering if you could help me out? Thanks in advance.
P.s. One.com