running php on vs2012
6 posts
• Page 1 of 1
running php on vs2012
Hi,
I have WAMP installed on 64bit and VS2012 ultimate.
I have downloaded the plugin and installed it.
I have given the path for PHP interpreter to be of WAMP.
Everytime i run the php project, i am getting below error
Faulting application name: php.exe, version: 5.4.3.0, time stamp: 0x4fb15e42
Faulting module name: php5ts.dll, version: 5.4.3.0, time stamp: 0x4fb15f2c
Exception code: 0xc0000005
Fault offset: 0x0000000000119940
Faulting process ID: 0x1108
Faulting application start time: 0x01cde915a7273558
Faulting application path: C:\wamp\bin\php\php5.4.3\php.exe
Faulting module path: C:\wamp\bin\php\php5.4.3\php5ts.dll
Not sure what should be the configuration. I am new to PHP and want it to get work with VS2012.
Can you please help me setting this up.?
Shaik Nagul
I have WAMP installed on 64bit and VS2012 ultimate.
I have downloaded the plugin and installed it.
I have given the path for PHP interpreter to be of WAMP.
Everytime i run the php project, i am getting below error
Faulting application name: php.exe, version: 5.4.3.0, time stamp: 0x4fb15e42
Faulting module name: php5ts.dll, version: 5.4.3.0, time stamp: 0x4fb15f2c
Exception code: 0xc0000005
Fault offset: 0x0000000000119940
Faulting process ID: 0x1108
Faulting application start time: 0x01cde915a7273558
Faulting application path: C:\wamp\bin\php\php5.4.3\php.exe
Faulting module path: C:\wamp\bin\php\php5.4.3\php5ts.dll
Not sure what should be the configuration. I am new to PHP and want it to get work with VS2012.
Can you please help me setting this up.?
Shaik Nagul
- s_nagul
- Posts: 10
- Joined: January 2nd, 2013, 6:53 pm
Re: running php on vs2012
It looks like some kind of issue of wamp server. I've seen the same topic here on forum: http://forum.wampserver.com/read.php?2,58075,58545
What I guess it might be something to do that you have 64bit or possibly thread-safe version of php? It's hard to say, that's more question to WAMP forum.
But what you can do to get easily PHP working on your system is just to download these two:
- PHP 5.4 non-thread safe: http://windows.php.net/downloads/releases/php-5.4.10-nts-Win32-VC9-x86.zip
- for debugging XDebug for 5.4 non-thread safe: http://xdebug.org/files/php_xdebug-2.2.1-5.4-vc9-nts.dll it should go to ext directory of PHP
Then you chose it in Tools>Options>PHP Tools>Interpreters so in project properties you can select PHP 5.4 builtin.
What I guess it might be something to do that you have 64bit or possibly thread-safe version of php? It's hard to say, that's more question to WAMP forum.
But what you can do to get easily PHP working on your system is just to download these two:
- PHP 5.4 non-thread safe: http://windows.php.net/downloads/releases/php-5.4.10-nts-Win32-VC9-x86.zip
- for debugging XDebug for 5.4 non-thread safe: http://xdebug.org/files/php_xdebug-2.2.1-5.4-vc9-nts.dll it should go to ext directory of PHP
Then you chose it in Tools>Options>PHP Tools>Interpreters so in project properties you can select PHP 5.4 builtin.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: running php on vs2012
Thank you very much.
It all works including xdebug.
It all works including xdebug.
- s_nagul
- Posts: 10
- Joined: January 2nd, 2013, 6:53 pm
Re: running php on vs2012
Perfect! I'm glad it works.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: running php on vs2012
I am using Visual Studio 2012 and WAMP, I have tried for the last 5 hours everything posted here and still I get "Breakpoint will not be hit, no symbols loaded..." I notice that the PHP.INI that WAMP is using is in a different directory than what PHP Tools loads when I set the PHP Path in VS Options. I have updated the PHP.INI file in the path to match what WAMP is loading but still no go.
- beans13
- Posts: 1
- Joined: June 11th, 2013, 9:56 pm
Re: running php on vs2012
Beans,
You may find something here that helps:
viewtopic.php?f=21&t=991&p=4574&hilit=WAMP#p4581
Regards,
Scott
You may find something here that helps:
viewtopic.php?f=21&t=991&p=4574&hilit=WAMP#p4581
Regards,
Scott
- codeowl
- Posts: 51
- Joined: February 10th, 2013, 10:05 am
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 38 guests