I'm trying to set up Symfony on my 64-bit Vista laptop that's using Zend Server CE for an all-in-one PHP stack. I'm trying to configure it with Netbeans as the IDE but I keep getting an error when I try to create a Symfony project; I've pointed it to my PHP.exe file located in C:\Program Files (x86)\Zend\ZendServer\bin\php.exe
and my symfony.bat located in C:\Users\Wayne\Frameworks\symfony\data\bin\symfony.bat
. Netbeans gives me a generic "Cannot create symfony project" error, so I tried to check it manually and create the project. This gives me an error call to undefined function token_get_all()
, which seems to reference the built-in tokenizer for PHP 5. Checking my PHP extensions in Zend, tokenizer is enabled and the php_tokenizer.dll is where it should be, so I'm not sure why this isn't working right.
Any ideas? I'll gladly provide more information if necessary. 开发者_C百科I'm using the latest version of Zend Server CE with PHP 5.3.2, so tokenizer should be working fine.
Keep in mind that the CLI and the webserver may use different php.ini files. Do a php -i > info.txt
to check the CLI's settings (including the .ini file it uses).
精彩评论