PHP Startup errors
![Post Post](./styles/afterburner/imageset/icon_post_target.gif)
Whenever I open (or reload) a PHP project VS shows half a dozen startup errors (i.e. PHP Startup: Unable to load dynamic library 'C:\PHP\ext...).
I assume this is coming from PHP Tools. My question is: where is PHP tools getting the path to PHP when loading a project? It doesn't seem to be correlated to the interpreter and config path set in the VS settings dialog, and it isn't the PHP set in my windows PATH. How is VS finding php? which php.ini file is it using?
In my C: drive I have three PHP folders:
C:\PHP
C:\PHP5.4
C:\PHP56
From what I can tell, VS is somehow using php.ini from the second folder (PHP5.4). I can rename it PHP50 or PHP59, it still uses that folder (I was thinking it's finding the folder alphabetically). If I rename it C:\xPHP5.4 (so I put a letter before PHP) then the errors go away. Any ideas?
THe project actually runs fine, it's just these startup errors that are driving me nuts.
I assume this is coming from PHP Tools. My question is: where is PHP tools getting the path to PHP when loading a project? It doesn't seem to be correlated to the interpreter and config path set in the VS settings dialog, and it isn't the PHP set in my windows PATH. How is VS finding php? which php.ini file is it using?
In my C: drive I have three PHP folders:
C:\PHP
C:\PHP5.4
C:\PHP56
From what I can tell, VS is somehow using php.ini from the second folder (PHP5.4). I can rename it PHP50 or PHP59, it still uses that folder (I was thinking it's finding the folder alphabetically). If I rename it C:\xPHP5.4 (so I put a letter before PHP) then the errors go away. Any ideas?
THe project actually runs fine, it's just these startup errors that are driving me nuts.