2009年3月2日星期一

Setup Netbeans 6.5, Glass Fish v3, PHP, MySQL, Apache and xdebug on Windows Vista

Just started to play with IDE on Windows Vista, spent a lot of time on the Internet Searching and finally got everything setup for Glass Fish, Ajax, PHP, MySQL, xdebug and Netbeans 6.5 on Windows Vista, here are some issues and workarounds:

1. Annoying UAC

See http://www.petri.co.il/disable_uac_in_windows_vista.htm and http://www.informationweek.com/blog/main/archives/2007/06/dont_shut_off_v.html before deciding whether you want to install applications to Program files directory without clicking and clicking all the time.

2. 64 bit vs 32-bit.
Some applications don't work with 64-bit JRE/JDK so better to install 32-bit only.

3. Run Netbeans as administrator to start Glass Fish V3, somehow I couldn't start it if I didn't run Netbeans as administrator.

4. Install php_xdebug-2.0.4-5.2.8* instead of *-5.3.0* for PHP 5.2.8, php_xdebug-2.0.4.-5.3.0*dll doesn't work with PHP 5.2.8 at all.

5. The Apache server in the XAMP package craches with PHP files so I had to install separate MySQL, PHP and Apache.

6. Pay attention to Skype who is also using port 80 if you see Apache 2.2 doesn't work on port 80.

7. To stop some services manually:
Control Panel -> Administrative Tools -> Services -> MySQL (or Apache2.2)

8. To clean registry to completely remove some programs:

run "regedit" from Start menu, goto HKEY_LOCAL_MACHINE-> SYSTEM->CurrentControlSet->Services->The Application You want to remove

没有评论:

发表评论