简体   繁体   中英

Symfony installation problems

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. 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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM