NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

[SOLVED] Zend & xdebug will NOT work in 6.9RC2
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Mon Jun 07, 2010 10:40 pm    Post subject: [SOLVED] Zend & xdebug will NOT work in 6.9RC2 Reply with quote

[Solution for Register provider on this page and solution to debugging zend framework on page 2. Working with XAMPP and Zend Server CE]

Hi,

I have followed the instructions very closely on the netbeans site, read the documentation, watched the videos (over and over again), and cannot get Zned + xdebug to work in Netbeans. I think it is broken with this release.

I have created a webpage complete with images that you can look at to see my settings and the error messages I am getting. It is easier for you to take a look at this rather than me try and type everything I have done. Before that I will give you my setup plus the install steps I took:

Setup

- Windows 7 x64 but running everything in 32bit mode (i.e. SDKs etc)
- Netbeans 6.9RC2
- Xampp 1.7.3 (installed easily using the provided installer)
- Using the Zenn framework included in PEAR in Xampp
- As you will see from the netbeans documentation Xampp 17.2+ already includes appropriate xdebug dll and integration
- PHP version 5.3.1 as included in Xampp
- No other special software running, I have a network port analyser installed to check ports though (so I could see if 9000 was used)

What I changed

- After installing xampp I offlined the server and edited the php.ini which is in xampp/php/
- I changed it according to the instructions in the main article on this for xampp 1.7.2 (assuming it's the same for 1.7.3)
- saved the php.ini
- did a full file scan to check that there was no other php.ini and no strange paths
- added a path in windows environment variables so that it can see xampp etc
- Updated the setting in the PHP options panel of netbeans. You can see this in the page I will link shortly

To see all this please look at:

http://www.tentimes.org/netbeans/

I have created a test php project (but aded no code) and as will have seen from the pictures in the above link it works fine.

BUT...

I cannot debug, netbeans will not connect to xdebug, and I cannot Register Provider - it seems to me that the syntax given by the netbeans button to do this is wrong.. the zend response seems to be pretty conclusive to me.

So.. after over 80 hours of tearing my hair out, can anyone spot anything I have done wrong please? Or is this actually a bug?

I would greatly appreciate help with this. It' right up there with the time I spent 3 weeks searching for a bug in a Z80 game I wrote and eventually found a dec (hl) instead of dec hl. It's that frustrating to me Smile


Last edited by tentimes on Wed Jun 16, 2010 3:45 pm; edited 5 times in total
Back to top
Jeff Rubinoff
Posted via mailing list.





PostPosted: Tue Jun 08, 2010 8:04 am    Post subject: Zend & xdebug will NOT work in 6.9RC2 - followed instructions - help please before I go mad! Reply with quote

I also had problems with ZF on XAMPP 1.7.3.
I ended up installing latest standalone ZF and telling NB to use the
script in that bin directory. Then I ran pear upgrade in XAMPP to get
the latest Zend and put xampp/php/PEAR on the universal include path.
This works for me, although I have no idea why this works and the zf
script in XAMPP did not. (Note that this is the setup in the video)
Also useful to have ZF and XAMPP installed on paths with no spaces in
the names (i.e. NOT default Windoze C://Program Files)
When you do generate a .zf.ini file, check that it contains
php.include_path and not php.includepath.
Also, see forum thread http://forums.netbeans.org/viewtopic.php?t=23223

Jeff

On 6/8/2010 12:40 AM, tentimes wrote:
Quote:
Hi,

I have followed the instructions very closely on the netbeans site, read the documentation, watched the videos (over and over again), and cannot get Zned + xdebug to work in Netbeans. I think it is broken with this release.

I have created a webpage complete with images that you can look at to see my settings and the error messages I am getting. It is easier for you to take a look at this rather than me try and type everything I have done. Before that I will give you my setup plus the install steps I took:

Setup

- Windows 7 x64 but running everything in 32bit mode (i.e. SDKs etc)
- Netbeans 6.9RC2
- Xampp 1.7.3 (installed easily using the provided installer)
- Using the Zenn framework included in PEAR in Xampp
- As you will see from the netbeans documentation Xampp 17.2+ already includes appropriate xdebug dll and integration
- PHP version 5.3.1 as included in Xampp
- No other special software running, I have a network port analyser installed to check ports though (so I could see if 9000 was used)

[b]What I changed[/]

- After installing xampp I offlined the server and edited the php.ini which is in xampp/php/
- I changed it according to the instructions in the main article on this for xampp 1.7.2 (assuming it's the same for 1.7.3)
- saved the php.ini
- did a full file scan to check that there was no other php.ini and no strange paths
- added a path in windows environment variables so that it can see xampp etc
- Updated the setting in the PHP options panel of netbeans. You can see this in the page I will link shortly

To see all this please look at:

http://www.tentimes.org/netbeans/

I have created a test php project (but aded no code) and as will have seen from the pictures in the above link it works fine.

BUT...

I cannot debug, netbeans will not connect to xdebug, and I cannot Register Provider - it seems to me that the syntax given by the netbeans button to do this is wrong.. the zend response seems to be pretty conclusive to me.

So.. after over 80 hours of tearing my hair out, can anyone spot anything I have done wrong please? Or is this actually a bug?

I would greatly appreciate help with this. It' right up there with the time I spent 3 weeks searching for a bug in a Z80 game I wrote and eventually found a dec (hl) instead of dec hl. It's that frustrating to me :)




Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 1:34 pm    Post subject: Reply with quote

Well if you can't get it working from 1.7.3 Jeff then I don't think I will Wink

Could you possibly give me a couple of lines I can type from CLI to get PEAR to update zend please?

I have xampp at c:\xampp so it shouldn't be a naming problem. It seems there is a bug in either zend or netbeans for 1.7.3 not to work.

What about xdebug though? That doesn't work either.
Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 2:11 pm    Post subject: Reply with quote

Update: My attempts at trying to get pear to do anything from the CLI just cause windows to hang. I have been able to use other versions of pear to get phpunit etc so it must be something to do with the version in 1.7.3.
Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 2:35 pm    Post subject: Reply with quote

Well I have solved one problem, I reverted to 1.7.2 and I can now register provider, but when I create a project it fails with the error cannot create project, check zend settings or IDE log. Here is the IDE log

Quote:

INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 4,294,967,295
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 7 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 6 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP6.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 4 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCAPE.exe.
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 109 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: jar:file:/C:/Program%20Files%20(x86)/NetBeans%206.9%20RC2/ide/jsstubs/allstubs.zip!/ took: 243 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 1 source roots took: 243 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 7 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 6 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP6.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 4 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCAPE.exe.
INFO [org.netbeans.modules.php.zend.ZendPhpModuleExtender]: Framework Zend not found in newly created project PhpProject1
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 32 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/C:/xampp/php/PEAR/ took: 1987 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 834 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: nbfs://nbhost/SystemFileSystem/PHP/RuntimeLibraries/ took: 23 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/C:/Program%20Files%20(x86)/NetBeans%206.9%20RC2/php/phpstubs/phpruntime/ took: 77 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 31 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/C:/xampp/htdocs/PhpProject1/ took: 552 ms (New or modified files: 3, Deleted files: 0) [Adding listeners took: 2 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 4 source roots took: 2639 ms (New or modified files: 3, Deleted files: 0) [Adding listeners took: 867 ms]
Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 2:52 pm    Post subject: Reply with quote

Here is my .zf file, it is a total, total mess. What creates this file? All the references are wrong and the directories seem random, plus the actual label is wrong for the library - a simple syntax error.

If this is created by netbeans for windows then it is an extremely serious bug and I cannot believe that it hasn't been caught. It would explain a LOT of posts on this board. Please keep in mind that my XAMPP install is at c:/xampp/ and I have no idea at all where it got the c:/php5 reference - I think itjust made it up!

Quote:
php.includepath = "D:\zend\library;C:\Program Files (x86)\NetBeans 6.9 RC2\php\zend;.;C:\php5\pear"
basicloader.classes.0 = "NetBeansCommandsProvider"


I have changed it to:

Quote:
php.include_path = "c:\xampp\php\PEAR;C:\Program Files (x86)\NetBeans 6.9 RC2\php\zend;.;C:\xamp\php\PEAR\"
basicloader.classes.0 = "NetBeansCommandsProvider"


But I still get exactly the same error and the IDE log says:

Quote:
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 7 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 6 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP6.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 4 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCAPE.exe.
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 45 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: jar:file:/C:/Program%20Files%20(x86)/NetBeans%206.9%20RC2/ide/jsstubs/allstubs.zip!/ took: 116 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 1 source roots took: 116 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 7 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 6 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP6.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 4 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCAPE.exe.
INFO [org.netbeans.modules.php.zend.ZendPhpModuleExtender]: Framework Zend not found in newly created project PhpProject1
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 25 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/C:/xampp/php/PEAR/ took: 1969 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 800 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: nbfs://nbhost/SystemFileSystem/PHP/RuntimeLibraries/ took: 30 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/C:/Program%20Files%20(x86)/NetBeans%206.9%20RC2/php/phpstubs/phpruntime/ took: 78 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 31 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/C:/xampp/htdocs/PhpProject1/ took: 279 ms (New or modified files: 3, Deleted files: 0) [Adding listeners took: 1 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 4 source roots took: 2356 ms (New or modified files: 3, Deleted files: 0) [Adding listeners took: 832 ms]


Is there anyone out there who actually has a working windows version? I'm beginning to wonder if it works at all in windows. Close inspection of the blogs and how-to's seems to show other systems being used and I have not read a post of anyone with a working netbeans/php/zend/xdebug format in windows yet.

If anyone has - please could you help out? Thanks.
Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 4:00 pm    Post subject: Reply with quote

Right, I have a solution to getting the zend framework to work properly for windows users, but the xdebug problem remains, unfortunately. Jeff was right about the pear update working.

Solution Part 1

NB: This is for my setup running Windows, XAMPP, with Zend framework

- Install netbeans 6.9RC2
- Install XAMPP 1.7.2 (NOT 1.7.3) - you can get from sourceforge
- Make sure that XAMPP is installed on root directory of C (C:/XAMPP) not any other directory, and NOT on another drive. You just need to hit ENTER all the way with the windows exe install of xampp
- Edit the PHP.INI file in /xamp/php/ according to the 1.7.2 instructions here: http://netbeans.org/kb/docs/php/configure-php-environment-windows.html#checkXAMPPInstallation
- Start an instance of command line in admin mode. Change directory to /xamp/php/
- Type: pear channel-discover pear.zfcampus.org
- Type: pear install zfcampus/zf
- It took a while for mine to download and install zf but it worked. You can see what the current cersions are by going to pear.zfcampus.org.
- Now zf is updated we can register provider and try creating a project.
- In netbeans you will not have any php options yet, so start (but don't finish) creating a php project. At the point where you see the blue "option" link after ticking the zend framework box, click on it.
- In general php options select your php executable (xampp/php/php.exe)
- In general add a global include path: c:\xamp\php\PEAR
- In Zend section select the zf.bat (/xamp/zend/zf.bat)
- You should now have the provider sucessfully registered and a newly created project with zend framework!

Unfortunately I am now left with the same problem with xdebug - it will not connect from netbeans even though it is active on the server on port 9000. So debug does not work Sad I will check back and update this if I can solve this. Hopefully someone else might come up with something in the meantime from the screenshots I linked to above of my xdebug and php setup.
Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 4:38 pm    Post subject: Reply with quote

Now I just have the xdebug problem I've decided to post my full info for php. http://www.tentimes.org/netbeans/ has the screenshots showing what still happens when I start a debug - netbeans says it can't connect. The port is available and I have a screen shot of the ports open too.

(NB: I have also tried using a different xdebug dll by giving the xdebug site my php.ini to parse, still exactly the same effect. Have also tried switching 127.0.0.1 for localhost)

Quote:

PHP Logo
PHP Version 5.3.0

System Windows NT ZIPPY 6.1 build 7600 ((null)) i586
Build Date Jul 2 2009 21:02:53
Compiler MSVC6 (Visual C++ 6.0)
Architecture x86
Configure Command cscript /nologo configure.js
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path no value
Loaded Configuration File C:\xampp\php\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626,TS,VC6
PHP Extension Build API20090626,TS,VC6
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
Zend Multibyte Support disabled
IPv6 Support enabled
Registered PHP Streams https, ftps, php, file, glob, data, http, ftp, compress.zlib, compress.bzip2, phar, zip
Registered Stream Socket Transports tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*, bzip2.*

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
with Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans

PHP Credits
Configuration
apache2handler
Apache Version Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
Apache API Version 20051115
Server Administrator postmaster@localhost
Hostname:Port localhost:80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/xampp/apache
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_auth_digest mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_cgi mod_dav mod_dav_fs mod_dav_lock mod_dir mod_env mod_headers mod_include mod_info mod_isapi mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_ssl mod_status mod_autoindex_color mod_php5 mod_perl

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0

Apache Environment
Variable Value
MIBDIRS C:/xampp/php/extras/mibs
MYSQL_HOME C:\xampp\mysql\bin
OPENSSL_CONF C:/xampp/apache/bin/openssl.cnf
PHP_PEAR_SYSCONF_DIR C:\xampp\php
PHPRC C:\xampp\php
TMP C:\xampp\tmp
HTTP_HOST localhost
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 GTB7.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-gb,en;q=0.5
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 115
HTTP_CONNECTION keep-alive
HTTP_REFERER http://localhost/xampp/navi.php
PATH C:\Program Files (x86)\PHP\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;z:\xamp\php\;C:\Program Files\Common Files\Microsoft Shared\Windows Live
SystemRoot C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR C:\Windows
SERVER_SIGNATURE <address>Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 Server at localhost Port 80</address>
SERVER_SOFTWARE Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
SERVER_NAME localhost
SERVER_ADDR ::1
SERVER_PORT 80
REMOTE_ADDR ::1
DOCUMENT_ROOT C:/xampp/htdocs
SERVER_ADMIN postmaster@localhost
SCRIPT_FILENAME C:/xampp/htdocs/xampp/phpinfo.php
REMOTE_PORT 51113
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /xampp/phpinfo.php
SCRIPT_NAME /xampp/phpinfo.php

HTTP Headers Information
HTTP Request Headers
HTTP Request GET /xampp/phpinfo.php HTTP/1.1
Host localhost
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 GTB7.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-gb,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 115
Connection keep-alive
Referer http://localhost/xampp/navi.php
HTTP Response Headers
X-Powered-By PHP/5.3.0
Keep-Alive timeout=5, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html

bcmath
BCMath support enabled

Directive Local Value Master Value
bcmath.scale 0 0

bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.5, 10-Dec-2007

calendar
Calendar support enabled

com_dotnet
COM support enabled
DCOM support disabled
.Net support enabled

Directive Local Value Master Value
com.allow_dcom 0 0
com.autoregister_casesensitive 1 1
com.autoregister_typelib 0 0
com.autoregister_verbose 0 0
com.code_page no value no value
com.typelib_file no value no value

Core
PHP Version 5.3.0

Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output &amp; &amp;
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap C:\xampp\php\extras\browscap.ini C:\xampp\php\extras\browscap.ini
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors On On
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 22519 22519
exit_on_timeout Off Off
expose_php On On
extension_dir C:\xampp\php\ext C:\xampp\php\ext
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;C:\xampp\php\PEAR .;C:\xampp\php\PEAR
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.add_x_header Off Off
mail.force_extra_parameters no value no value
mail.log no value no value
max_execution_time 60 60
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 128M 128M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 128M 128M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
request_order no value no value
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path no value no value
serialize_precision 100 100
short_open_tag Off Off
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 128M 128M
upload_tmp_dir C:\xampp\tmp C:\xampp\tmp
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.enable_gc On On

ctype
ctype functions enabled

date
date/time support enabled
"Olson" Timezone Database Version 2009.10
Timezone Database internal
Default timezone Europe/London

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone Europe/London Europe/London

dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.7.3
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

ereg
Regex Library Bundled library enabled

exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5.2.20.2.16 2009/06/12 14:03:35 felipe Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

Directive Local Value Master Value
exif.decode_jis_intel JIS JIS
exif.decode_jis_motorola JIS JIS
exif.decode_unicode_intel UCS-2LE UCS-2LE
exif.decode_unicode_motorola UCS-2BE UCS-2BE
exif.encode_jis no value no value
exif.encode_unicode ISO-8859-15 ISO-8859-15

filter
Input Validation and Filtering enabled
Revision $Revision: 1.52.2.39.2.16 $

Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value

ftp
FTP support enabled

gd
GD Support enabled
GD Version 2.0.35
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 7.0
PNG Support enabled
libPNG Version 1.2.35
WBMP Support enabled
XBM Support enabled

Directive Local Value Master Value
gd.jpeg_ignore_warning 0 0

gettext
GetText Support enabled

hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv
iconv support enabled
iconv implementation "libiconv"
iconv library version 1.13

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1

imap
IMAP c-Client Version 2007e
SSL Support enabled

json
json support enabled
json version 1.2.1

libxml
libXML support active
libXML Compiled Version 2.7.3
libXML Loaded Version 20703
libXML streams enabled

mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
HTTP input encoding translation disabled

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.7.1

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml)
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value

mcrypt
mcrypt support enabled
Version 2.5.8
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value

mhash
MHASH support Enabled
MHASH API Version Emulated Support

mime_magic
mime_magic support

Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile C:\xampp\php\extras\magic.mime C:\xampp\php\extras\magic.mime

ming
Ming SWF output library enabled
Version 0.4.2

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.1.37

Directive Local Value Master Value
mysql.allow_local_infile On On
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port 3306 3306
mysql.default_socket MySQL MySQL
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

mysqli
MysqlI Support enabled
Client API library version 5.1.37
Active Persistent Links 0
Inactive Persistent Links 0
Active Links 0
Client API header version 5.1.37
MYSQLI_SOCKET MySQL

Directive Local Value Master Value
mysqli.allow_local_infile On On
mysqli.allow_persistent On On
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket MySQL MySQL
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.max_persistent Unlimited Unlimited
mysqli.reconnect Off Off

mysqlnd
mysqlnd enabled
Version mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $
Command buffer size 2048
Read buffer size 32768
Collecting statistics Yes
Collecting memory statistics No

Client statistics
bytes_sent 0
bytes_received 0
packets_sent 0
packets_received 0
protocol_overhead_in 0
protocol_overhead_out 0
bytes_received_ok_packet 0
bytes_received_eof_packet 0
bytes_received_rset_header_packet 0
bytes_received_rset_field_meta_packet 0
bytes_received_rset_row_packet 0
bytes_received_prepare_response_packet 0
bytes_received_change_user_packet 0
packets_sent_command 0
packets_received_ok 0
packets_received_eof 0
packets_received_rset_header 0
packets_received_rset_field_meta 0
packets_received_rset_row 0
packets_received_prepare_response 0
packets_received_change_user 0
result_set_queries 0
non_result_set_queries 0
no_index_used 0
bad_index_used 0
slow_queries 0
buffered_sets 0
unbuffered_sets 0
ps_buffered_sets 0
ps_unbuffered_sets 0
flushed_normal_sets 0
flushed_ps_sets 0
ps_prepared_never_executed 0
ps_prepared_once_executed 0
rows_fetched_from_server_normal 0
rows_fetched_from_server_ps 0
rows_buffered_from_client_normal 0
rows_buffered_from_client_ps 0
rows_fetched_from_client_normal_buffered 0
rows_fetched_from_client_normal_unbuffered 0
rows_fetched_from_client_ps_buffered 0
rows_fetched_from_client_ps_unbuffered 0
rows_fetched_from_client_ps_cursor 0
rows_skipped_normal 0
rows_skipped_ps 0
copy_on_write_saved 0
copy_on_write_performed 0
command_buffer_too_small 0
connect_success 0
connect_failure 0
connection_reused 0
reconnect 0
pconnect_success 0
active_connections 0
active_persistent_connections 0
explicit_close 0
implicit_close 0
disconnect_close 0
in_middle_of_command_close 0
explicit_free_result 0
implicit_free_result 0
explicit_stmt_close 0
implicit_stmt_close 0
mem_emalloc_count 0
mem_emalloc_ammount 0
mem_ecalloc_count 0
mem_ecalloc_ammount 0
mem_erealloc_count 0
mem_erealloc_ammount 0
mem_efree_count 0
mem_malloc_count 0
mem_malloc_ammount 0
mem_calloc_count 0
mem_calloc_ammount 0
mem_realloc_count 0
mem_realloc_ammount 0
mem_free_count 0
proto_text_fetched_null 0
proto_text_fetched_bit 0
proto_text_fetched_tinyint 0
proto_text_fetched_short 0
proto_text_fetched_int24 0
proto_text_fetched_int 0
proto_text_fetched_bigint 0
proto_text_fetched_decimal 0
proto_text_fetched_float 0
proto_text_fetched_double 0
proto_text_fetched_date 0
proto_text_fetched_year 0
proto_text_fetched_time 0
proto_text_fetched_datetime 0
proto_text_fetched_timestamp 0
proto_text_fetched_string 0
proto_text_fetched_blob 0
proto_text_fetched_enum 0
proto_text_fetched_set 0
proto_text_fetched_geometry 0
proto_text_fetched_other 0
proto_binary_fetched_null 0
proto_binary_fetched_bit 0
proto_binary_fetched_tinyint 0
proto_binary_fetched_short 0
proto_binary_fetched_int24 0
proto_binary_fetched_int 0
proto_binary_fetched_bigint 0
proto_binary_fetched_decimal 0
proto_binary_fetched_float 0
proto_binary_fetched_double 0
proto_binary_fetched_date 0
proto_binary_fetched_year 0
proto_binary_fetched_time 0
proto_binary_fetched_datetime 0
proto_binary_fetched_timestamp 0
proto_binary_fetched_string 0
proto_binary_fetched_blob 0
proto_binary_fetched_enum 0
proto_binary_fetched_set 0
proto_binary_fetched_geometry 0
proto_binary_fetched_other 0

odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library Win32

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_cursortype Static cursor Static cursor
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited

openssl
OpenSSL support enabled
OpenSSL Library Version OpenSSL 0.9.8k 25 Mar 2009
OpenSSL Header Version OpenSSL 0.9.8k 25 Mar 2009

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.9 2009-04-11

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000

pdf
PDF Support enabled
PDFlib GmbH Version 7.0.4p4
PECL Version 2.1.6
Revision $Revision: 1.9 $

PDO
PDO support enabled
PDO drivers mysql, odbc, sqlite, sqlite2

pdo_mysql
PDO Driver for MySQL enabled
Client API version 5.1.37

PDO_ODBC
PDO Driver for ODBC (Win32) enabled
ODBC Connection Pooling Enabled, strict matching

pdo_sqlite
PDO Driver for SQLite 3.x enabled
SQLite Library 3.6.16

Phar
Phar: PHP Archive support enabled
Phar EXT version 2.0.0-dev
Phar API version 1.1.1
CVS revision $Revision: 1.370.2.62 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression enabled
bzip2 compression enabled
Native OpenSSL support enabled

Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.

Directive Local Value Master Value
phar.cache_list no value no value
phar.readonly On On
phar.require_hash On On

Reflection
Reflection enabled
Version $Revision: 1.164.2.33.2.45.2.58 $

session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path C:\xampp\tmp C:\xampp\tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0

SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.35.2.32 $
Schema support enabled

soap
Soap Client enabled
Soap Server enabled

Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400

sockets
Sockets Support enabled

SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9.2.22 2009/06/25 09:38:04 johannes Exp $
SQLite Library 2.8.17
SQLite Encoding iso8859

Directive Local Value Master Value
sqlite.assoc_case 0 0

sqlite3
SQLite3 support enabled
SQLite3 module version 0.7-dev
SQLite Library 3.6.16

Directive Local Value Master Value
sqlite3.extension_dir no value no value

standard
Dynamic Library Support enabled
Internal Sendmail Support for Windows enabled

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value

tokenizer
Tokenizer Support enabled

wddx
WDDX Support enabled
WDDX Session Serializer enabled

xdebug
xdebug support enabled
Version 2.0.5

Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.125.2.6 $
GDB - GNU Debugger protocol $Revision: 1.87 $
PHP3 - PHP 3 Debugger protocol $Revision: 1.22 $

Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.idekey kev netbeans-xdebug
xdebug.manual_url http://www.php.net http://www.php.net
xdebug.max_nesting_level 100 100
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir C:\xampp\tmp C:\xampp\tmp
xdebug.profiler_output_name xdebug_profile.%R::%u xdebug_profile.%R::%u
xdebug.remote_autostart Off Off
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log no value no value
xdebug.remote_mode req req
xdebug.remote_port 9000 9000
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir C:\xampp\tmp C:\xampp\tmp
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3

xml
XML Support active
XML Namespace Support active
libxml2 Version 2.7.3

xmlreader
XMLReader enabled

xmlrpc
core library version xmlrpc-epi v. 0.51
php extension version 0.51
author Dan Libby
homepage http://xmlrpc-epi.sourceforge.net
open sourced by Epinions.com

xmlwriter
XMLWriter enabled

xsl
XSL enabled
libxslt Version 1.1.24
libxslt compiled against libxml Version 2.7.3
EXSLT enabled
libexslt Version 0.8.13

zip
Zip enabled
Extension Version $Id: php_zip.c,v 1.1.2.38.2.29 2009/02/24 23:55:14 iliaa Exp $
Zip version 1.9.1
Libzip version 0.9.0

zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules
Module Name

Environment
Variable Value
no value C:=C:\xampp
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Users\kev\AppData\Roaming
CommonProgramFiles C:\Program Files (x86)\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME ZIPPY
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
HOMEDRIVE C:
HOMEPATH \Users\kev
LOCALAPPDATA C:\Users\kev\AppData\Local
LOGONSERVER \\ZIPPY
NUMBER_OF_PROCESSORS 2
OS Windows_NT
PATH C:\Program Files (x86)\PHP\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;z:\xamp\php\;C:\Program Files\Common Files\Microsoft Shared\Windows Live
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PHPRC C:\Program Files (x86)\PHP\
PROCESSOR_ARCHITECTURE x86
PROCESSOR_ARCHITEW6432 AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 1706
ProgramData C:\ProgramData
ProgramFiles C:\Program Files (x86)
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PROMPT $P$G
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
sfxcmd "D:\temp\xampp-win32-1.7.2.exe" -el -s2 "-dC:\" "-p" "-sp"
sfxname D:\temp\xampp-win32-1.7.2.exe
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Users\kev\AppData\Local\Temp
TMP C:\Users\kev\AppData\Local\Temp
USERDOMAIN zippy
USERNAME kev
USERPROFILE C:\Users\kev
windir C:\Windows
AP_PARENT_PID 6004

PHP Variables
Variable Value
_SERVER["MIBDIRS"] C:/xampp/php/extras/mibs
_SERVER["MYSQL_HOME"] C:\xampp\mysql\bin
_SERVER["OPENSSL_CONF"] C:/xampp/apache/bin/openssl.cnf
_SERVER["PHP_PEAR_SYSCONF_DIR"] C:\xampp\php
_SERVER["PHPRC"] C:\xampp\php
_SERVER["TMP"] C:\xampp\tmp
_SERVER["HTTP_HOST"] localhost
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 GTB7.1
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-gb,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 115
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_REFERER"] http://localhost/xampp/navi.php
_SERVER["PATH"] C:\Program Files (x86)\PHP\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;z:\xamp\php\;C:\Program Files\Common Files\Microsoft Shared\Windows Live
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] <address>Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 Server at localhost Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
_SERVER["SERVER_NAME"] localhost
_SERVER["SERVER_ADDR"] ::1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] ::1
_SERVER["DOCUMENT_ROOT"] C:/xampp/htdocs
_SERVER["SERVER_ADMIN"] postmaster@localhost
_SERVER["SCRIPT_FILENAME"] C:/xampp/htdocs/xampp/phpinfo.php
_SERVER["REMOTE_PORT"] 51113
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /xampp/phpinfo.php
_SERVER["SCRIPT_NAME"] /xampp/phpinfo.php
_SERVER["PHP_SELF"] /xampp/phpinfo.php
_SERVER["REQUEST_TIME"] 1276014947
_SERVER["argv"]

Array
(
)

_SERVER["argc"] 0

PHP License

This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.


If anyone has a clue about xdebug I would be most grateful. I just want to develop PHP in netbeans Wink
Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 5:17 pm    Post subject: Reply with quote

Little bit of an update; running the code below I get the error: "Unable to bind"

Quote:

<?php
$address = '127.0.0.1';
$port = 9000;

$sock = socket_create(AF_INET, SOCK_STREAM, 0);
socket_bind($sock, $address, $port) or die('Unable to bind');
socket_listen($sock);
$client = socket_accept($sock);
echo "connection established: $client";
socket_close($client);
socket_close($sock);
?>
Back to top
Paolo Scarabelli
Posted via mailing list.





PostPosted: Tue Jun 08, 2010 6:58 pm    Post subject: Zend & xdebug will NOT work in 6.9RC2 - followed instructions - help please before I go mad! Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 09,June,2010 12:00 AM, tentimes wrote:
Quote:
Unfortunately I am now left with the same problem with xdebug - it will not connect from netbeans even though it is active on the server on port 9000. So debug does not work Sad I will check back and update this if I can solve this. Hopefully someone else might come up with something in the meantime from the screenshots I linked to above of my xdebug and php setup.

Did you try to access xdebug with a different client? You can find a
list of xdebug clients here:

http://xdebug.org/docs/remote

Paolo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwOkpgACgkQqAaEpZvj+VMecQCfeprXbkzMw0eRkvNTRIlQ3+E+
2N4AnRR2nnd6aaNS//XM5p5Wag6Uxpiq
=A01n
-----END PGP SIGNATURE-----
Back to top
Max Kamashev
Posted via mailing list.





PostPosted: Tue Jun 08, 2010 8:23 pm    Post subject: [PART SOLVED!] Zend & xdebug will NOT work in 6.9RC2 Reply with quote

becouse port 9000 used by xdebug

2010/6/8 tentimes <address-removed ([email]address-removed[/email])>
Quote:
Little bit of an update; running the code below I get the error: "Unable to bind"


Quote:

<?php
$address = '127.0.0.1';
$port = 9000;

$sock = socket_create(AF_INET, SOCK_STREAM, 0);
socket_bind($sock, $address, $port) or die('Unable to bind');
socket_listen($sock);
$client = socket_accept($sock);
echo "connection established: $client";
socket_close($client);
socket_close($sock);
?>








--
С уважением, Максим Камашев
<address-removed ([email]address-removed[/email])>
Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 8:28 pm    Post subject: Reply with quote

Thanks Paolo for that suggestion. I tried Xdev and ran the port testing code to get an odd result.

Two images below: first shows the code i typed in DevPHP, second the result. I'm assuming it can't bind with a port as I am not actually running netbeans. When I do run netbeans though I am still stuck with netbeans cannot connect to xdebug.

I am a total loss. It seem xdebug works, the server setup is good, but netbeans refuses to connect. I just don't get it.



Back to top
tentimes



Joined: 07 Jun 2010
Posts: 25

PostPosted: Tue Jun 08, 2010 8:36 pm    Post subject: Reply with quote

Using this approach I am able to confirm that xdebug is working as it returns "resource id #5'

http://blogs.sun.com/netbeansphp/entry/howto_check_xdebug_installation

So I have determined that xdebug works, zend framework is ok, but Netbeans can't use xdebug for some reason - it just sits there saying it's waiting on a connection.

I challenge anyone to provide a screenshot of Netbeans 6.9RC2 on windows debugging with xdebug! I just tried to find an image of this on google but can only get screeniesw of mac or linux versions, nothing with RC2 on windows and xdebuig. I think I'm just wasting my time here and it doesn't actually work Smile

So just to give you a picture of where it is left hanging, here is what is happening with the ports:



Here's more details taken from a port on each side of things:





Netbeans is just sitting there scratching it's backside:



And when I end it all by hitting stop debug I get:




Please, someone in dev land put me out of my misery and tell me it is broken or prove it works - this has occupied my every waking hour for 4 days now and I think I am going mad.
Back to top
Pet
Posted via mailing list.





PostPosted: Wed Jun 09, 2010 6:11 am    Post subject: [PART SOLVED!] Zend & xdebug will NOT work in 6.9RC2 Reply with quote

Did you tried to disable your firewall?

On Tue, Jun 8, 2010 at 10:36 PM, tentimes <address-removed> wrote:
Quote:
Netbeans still won't debug. I hit the debug command for the project and it just sits there saying waiting to connect. So we have proved that xdebug is working, but Netbeans cannot access it for some reason. There are no clues in the IDE log is it is just stuck in "waiting" stage. Not sure where else to look to try and figure out what is going wrong.




Back to top
Pet
Posted via mailing list.





PostPosted: Wed Jun 09, 2010 6:25 am    Post subject: [PART SOLVED!] Zend & xdebug will NOT work in 6.9RC2 Reply with quote

On Tue, Jun 8, 2010 at 10:36 PM, tentimes <address-removed> wrote:
Quote:
Netbeans still won't debug. I hit the debug command for the project and it just sits there saying waiting to connect. So we have proved that xdebug is working, but Netbeans cannot access it for some reason. There are no clues in the IDE log is it is just stuck in "waiting" stage. Not sure where else to look to try and figure out what is going wrong.


Just some things you could try:
Hosts file on Windows doesn't work for me very well, I'd put in
configs everywhere 127.0.0.1 instead of localhost.
If you post your phpinfo() output, please don't shorten it.
Double check your xdebug version.

Try install process in VirtualBox.

Quote:



Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo