Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Alexander Netkachev's Blog:
How to run a PHP application together with Zend Framework application
Oct 04, 2006 @ 12:25:56

Not everyone wants to convert their application or create a completely new one just to use the Zend Framework. Some just want to use their existing site and attach the ZF where they want, adding its functionality to the mix. That's what this new article on Alexander Netkachev blog is all about.

If you created the application that uses the Zend_Controller class, as described at the "Zend_Controller / Getting Started" manual page, you may think about how to combine your application with an existing one. For example, with the blog-like application. This is a little bit more complex then just installing it into one of the subfolders of your application.

You need to tune up mod_rewrite and here is an example of doing so. The example shows how I installed the WordPress blog system and modified the .htaccess file correctly to run the installed application.

He walks through the steps of the installation:

  • downloading WordPress
  • setting up a mod_rewrite rule
  • modifying it to accomidate the installation of the Zend Framework
He also includes a note that, when you add another application, you might need to add another rewrite rule to accomidate it.

tagged: zend framework application together modrewrite wordpress zend framework application together modrewrite wordpress

Link:


Trending Topics: