Hi,
I am trying to learn PHP for the first time, and so far here is what I have done:
Installed WAMP server
Installed Eclipse IDE for PHP
Run a basic index.php file in the built-in eclipse browser
THEN (following instructions in a tutorial), it tells me to do the following:
go to Eclipse Window > Preferences > PHP > PHP Executables > Add
and add the location of the php.exe file (which I did)
then add the php.ini file (which I did)
then on the next page, it wants me to configure zend / Xdebug, and this is where I run into trouble, because it tells me that both xdebug and zend are not installed
NOW, if I go to my php.ini file ( C:\wamp64\bin\apache\apache2.4.23\bin\php.ini - the one actually being used by wamp), the last lines of it are as follows:
; XDEBUG Extension
[xdebug]
zend_extension ="C:/wamp64/bin/php/php5.6.25/zend_ext/php_xdebug-2.4.1-5.6-vc11-x86_64.dll"
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="C:/wamp64/tmp"
xdebug.show_local_vars=0
... all of which I am assuming was set by wamp itself, as I hadn't touched it yet.
NOW ... on your install page, when I copy and paste myPhpAdmin phpInfo( ) results, i get this installation advice:
Summary
Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: yes - Compiler: MS VC11 - Architecture: x64
Zend Server: no
PHP Version: 5.6.25
Zend API nr: 220131226
PHP API nr: 20131226
Debug Build: no
Thread Safe Build: yes
Configuration File Path: C:\Windows
Configuration File: C:\wamp64\bin\apache\apache2.4.23\bin\php.ini
Extensions directory:
Instructions
Download php_xdebug-2.5.0-5.6-vc11-x86_64.dll
Move the downloaded file to
Edit C:\wamp64\bin\apache\apache2.4.23\bin\php.ini and add the line
zend_extension = \php_xdebug-2.5.0-5.6-vc11-x86_64.dll
Restart the webserver
which is fine except that it's already pointing to the previous version of php_xedebug-blah-.dll that's already there ... so I am a bit confused as to why it says it isn't installed if it is.
If i follow the instructions in that tutorial, the debugger settings in eclipse seem to recognise xdebug but not zend (see screen capture):
SO I am really not sure what to do from here, and I cannot find an explanation of the relationship between zend and xdebug ... has this all got something to do with the fact that you've stated at the top of the thing that windows doesn't have full development of the project? SO I can install the files, but I cant get debugging activated? ... if so, I might try to set up a linux VM later, but just thought I would ask you if this is the case or whether I am missing something here?
Regards & Best Wishes,
Trevor Alexander Rose
Galactic President
Received on Fri Dec 30 2016 - 11:15:12 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST