Categorized | MySQL

3 Common Problems When Getting Started with the Zend Framework and Xampp

Posted on 22 July 2010 by Abidoon

Many of you likely know that Xampp is one of the easiest ways to get the standard “Apache + PHP + MySQL” installation up and running quickly on Windows. Using the Xampp package can save you lots of time and potential headache — that is, until you want to use Zend Framework.  The framework documentation and code are always changing so it’s possible, perhaps likely, that these issues may not be around for long; however, they are present if you were to download the latest version of Xampp (1.7.2) and the Zend Framework (1.9.2).

I’ve just began digging into Zend myself recently and these are the problems I have come across and expect others to run into as well, at least in the near future while these problems exist in the most recent versions of Xampp and the Zend Framework.

1. When creating your framework project: ‘”php.exe”‘ is not recognized as an internal or external command, operable program or batch file.

This is a well-documented problem that can occur in a large number of PHP applications. The fix can generally be discovered with a quick Google search but it’s such a common issue when starting a Zend Framework project that we will cover it here also. So, you start with the QuickStart tutorial on Zend Framework website and shortly into the lesson, you’re asked to type “zf.bat create project quickstart” which is immediately followed by the above error message. This error is basically just saying that the zf.bat file needs to use the PHP interpreter to run the script that will set up your framework project directory but is unable to find it.

To Read More..

Jay likes to program, and he likes the Internet. Anyone who doubts this can log onto their computer at any given 1am, track him down, and choose one of the following options: inadvertently allow Jay to take your money playing online poker, get him to help you with any sort of problem you might have with PHP, ASP, Java, C or , or get shot at by Jay in a rousing game of Counterstrike. Jay also likes to do things right, something he tends to do a lot of during any given day, which has resulted in the development of a lot of nice Web apps for clients over the past few years.

Tags | , , , , , ,

Leave a Reply