Eclipse PDT XDebug 2.1.0, PHP 5.3

I’m just wondering if anyone has successfully got Eclipse PDT with XDebug 2.10 working with PHP 5.3 with remote debugging.

I managed to get the xdebug to install properly as it’s displaying in my phpinfo page.

I think I set everything up correctly in the Preferences of Eclipse. The page opens up in my firefox browser using the form1.php and welcome.php code from the help section of Eclipse. The XDebug session seems to start as I can see the url is displaying the GET parameter. But when I fill out the form and submit the welcome page comes up. Isn’t the debugger supposed to break before it displays the action=”welcome.php” page and show the variables submitted?

Here’s the form1.php code:

Name:

Age:

Here’s the welcome.php page:

Welcome .

You are years old.

  • Share/Save/Bookmark

Install Zend Server CE-Centos 5, LAMP compiled

I’m thinking of installing zend server on my centos. However, I just installed lamp on my centos and compiled everything (rather than using yum).

1) I’m just wondering if I install the Zend Server than will it completely disable and mess up my recent complied LAMP install?

2) Will I be able to “switch” between my compiled LAMP and the Zend Server? If so, how could I do this?

I’d like to test out the Zend Server.

—-

I haven’t tested having Zend Server Ce and a source compiled LAMP on my Centos 5 side by side yet but I managed to find this comment posting regarding the Zend Server CE on the Windows with a non thread safe version since Zend no longer makes a thread safe version.

http://forums.zend.com/viewtopic.php?f=44&t=4794&p=16548&hilit=zend+debugger+php+5.3&sid=0c57b0545cb8eea674d0a9cf8ac3f584#p16548

I will post when I run some more tests. I didn’t find a ZendDebugger for php 5.3 on my Centos 5 64-bit machine but the ZendDebugger module comes with the Zend Server CE so I’ll have to try and install. Will post later on this matter though.

  • Share/Save/Bookmark

ZendDebugger php 5.3 Centos 5

Just a few questions regarding php 5.3, php.ini and zend debugger.

1) I’m about to install the zenddebugger.so on my centos 5.3 with php 5.3. Where do I install it? What folder location?
I ended up installing the ZendDebugger.so at /usr/local/lib/php/extensions/
I added this to my php.ini file at the end of the file:
zend_extension=”/usr/local/lib/php/extensions/ZendDebugger.so”

zend_debugger.allow_hosts=127.0.0.1,192.168.1.106,96.49.230.250
zend_debugger.expose_remotely=always

2) I compiled php 5.3 but I’m wondering where is the executable?
The PHP CLI bin is located at:
/usr/local/bin

3) I found the php.ini file at /usr/local/lib. Is this the default php.ini that centos 5.3 uses?
I believe it is since when I compiled php I didn’t add in the option ./configure prefix=

4) I know that there can be different php versions that apache can use. How do I ensure that the apache uses the correct php version if I have multiple php versions installed?
This works in my httpd.conf on my windows vista:
SetEnv PHPRC “C:/Program Files/PHP/”

I haven’t tested this on my Centos machine though.
——

I ran:
find / -name ‘php.ini’

and another php.ini is installed at:
/etc/php.ini

the other is located as mentioned previously at:
/usr/local/lib/php.ini

I’m not certain which one is apache using. I installed my custom apache at:
/usr/local/apache/

—–

This is the output from my php source install just fyi:
Installing PHP SAPI module: apache2handler
/usr/local/apache/build/instdso.sh SH_LIBTOOL=’/usr/local/apache/build/libtool’ libphp5.la /usr/local/apache/modules
/usr/local/apache/build/libtool –mode=install cp libphp5.la /usr/local/apache/modules/
cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool –finish /home/vkimura/php-5.3.1/libs’
chmod 755 /usr/local/apache/modules/libphp5.so
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar – already installed: 1.3.3
[PEAR] Console_Getopt – already installed: 1.2.3
[PEAR] Structures_Graph- already installed: 1.0.2
[PEAR] XML_Util – already installed: 1.2.1
[PEAR] PEAR – already installed: 1.9.0
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
/home/vkimura/php-5.3.1/build/shtool install -c ext/phar/phar.phar /usr/local/bin
ln -s -f /usr/local/bin/phar.phar /usr/local/bin/phar
Installing PDO headers: /usr/local/include/php/ext/pdo/

————-

[root@localhost php-5.3.1]# libtool –finish /home/vkimura/php-5.3.1/libs
PATH=”$PATH:/sbin” ldconfig -n /home/vkimura/php-5.3.1/libs
———————————————————————-
Libraries have been installed in:
/home/vkimura/php-5.3.1/libs

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR’
flag during linking and do at least one of the following:
– add LIBDIR to the `LD_LIBRARY_PATH’ environment variable
during execution
– add LIBDIR to the `LD_RUN_PATH’ environment variable
during linking
– use the `-Wl,–rpath -Wl,LIBDIR’ linker flag
– have your system administrator add LIBDIR to `/etc/ld.so.conf’

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

  • Share/Save/Bookmark

ZendDebugger with php 5.3 on Eclipse PDT

I’m just wondering if anyone has successfully installed zendebugger with php 5.3. I downloaded the zenddebugger for my centos 5 (64-bit) here:
http://downloads.zend.com/pdt/server-debugger/

I downloaded the last link on the list. The only problem is that the unpacked only goes up to 5.2.x and there doesn’t seem to be a 5.3.x ZendDebugger.so module.

I followed all the readme instructions but the zend debugger is not displaying with my phpinfo.

Has anyone got it to run with php 5.3?

——-

So far from my investigation there doesn’t seem to be a ZendDebugger module for php 5.3 yet. The download page is located here:
http://downloads.zend.com/pdt/server-debugger/

There is an option to download the Zend Server CE (Community Edition); however, it seems the latest posting of a review on Dec 31, 2009 indicates that there are some larger problems that still need to be worked out. So at the moment I’m trying to install xdebug on my Centos 5.x machine. I will try and post something later to keep others posted.

  • Share/Save/Bookmark

Login Wordpress Page

Do you hardly ever login to your Wordpress to update and post to your blog and then after a month or more you actually forget the login Wordpress page? Well, this is for those who forget:
Go to you main page of your Wordpress blog. For example, the home page of my blog is located at:
http://blog.tutorialref.com/

Then all you need to do is append the:
wp-admin

So the complete Wordpress login page url is:
http://blog.tutorialref.com/wp-admin

  • Share/Save/Bookmark

IE7pro Review & IE8

Just a short review on IE7pro and IE8. I downloaded and installed IE7Pro since one of the features appealed to me. IE7Pro has a feature of crash recovery which allows one to recover the sites that were opened prior to a crash which happens from time to time. Firefox had this feature for quite awhile but IE7 didn’t. IE7Pro is an add-on to IE7. However, I noticed that this significantly slowed IE7 down. It was to the point that it deterred me from using IE7 unless I really needed to. I used Firefox as my primary browser since it is a very fast browser. Opening up new tabs in Firefox is almost instant on my Vista machine. Just fyi, I have 3 GB Ram, Core2 1.73 Ghz laptop. Despite the negative effects of IE7Pro as an add-on in IE7 I kept it installed. But then IE8 came and it contained the feature of crash recovery. So I decided to see the effects of uninstalling IE7Pro. For those who wish to uninstall IE7Pro in Vista then go to your “Control Panel/Programs & Features”. Search for IE7Pro and uninstall it. Once IE7Pro was installed I checked the speed of IE8 and it was quite a bit faster. I would say opening up a new tab was now approximately 3 times faster than when IE7Pro was installed. It’s still not as fast as Firefox though. The one drawback I found with Firefox is that it seems to crash more frequently especially when playing a lot of streaming videos. So I tend to use IE8 for video streams.

  • Share/Save/Bookmark

Mofiki Auto Clicker - Backdoor Trojan

Just a VERY BIG warning that Mofiki Auto Clicker is a backdoor Trojan that will give them full control of your computer. I just tried to install it thinking it was safe. When I tried to install it my Norton Internet Security pop-up message displayed that it was trying to install Backdoor.Prorat which is a trojan. DO NOT INSTALL Mofiki!!!

I’m glad I had Norton and had it updated. Whew! Here is what Norton states on Mofiki’s so-called auto clicker Backdoor Trojan Prorat.

  • Share/Save/Bookmark

BSOD Minidump Vista

If you receive a BSOD (blue screen of death) in Vista and upon reboot you receive an error as the following:

Problem signature:
Problem Event Name: BlueScreen
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 4105

Additional information about the problem:
BCCode: a
BCP1: 8B933CC0
BCP2: 0000001B
BCP3: 00000001
BCP4: 820BAC1F
OS Version: 6_0_6001
Service Pack: 1_0
Product: 768_1

Files that help describe the problem:
C:\Windows\Minidump\Mini061209-01.dmp
C:\Users\vkimura\AppData\Local\Temp\WER-83164-0.sysdata.xml
C:\Users\vkimura\AppData\Local\Temp\WER5D7A.tmp.version.txt

Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0×0409

Then the minidump file may give insight and clues as the possible cause of the BSOD. You can read this tutorial Windbg Minidump Tutorial to be able to read and open your minidump file.

Keep in mind that you should try and update your Service Pack for Vista. Currently, it’s at Service Pack 2. I had Service Pack 1. The Service Pack will have all the critical updates that are fixed. Click the following for more information on Vista’s Service Pack 2. Read Microsoft’s post on how to download the latest Service Pack 2.

  • Share/Save/Bookmark

Streamci.dll Error Loading Moduel

If you receive an error like: Error loading streamci. The specified moduel could not be found.

This could be related to an audio driver problem. I was searching for a solution to this problem and some were suggesting to simply download streamci.dll to the folder c:\windows\system32. So here is the file streamci.dll file download.

Thus far, the error seems to have disappeared but time will tell.

  • Share/Save/Bookmark

Windbg Minidump Tutorial

For those of you who wished to know how to read and open minidump files after receiving one of those dreaded BSOD (Blue Screen of Death) screens then you may read this tutorial Windbg Minidump Tutorial. It took me awhile as I had to search for information hither and tither so I’m hoping this helps someone.

  • Share/Save/Bookmark