#20352 [Opn->Bgs]: PHP-GTK apps crash with corrupt argc/argv error

From: Date: Tue, 11 Feb 2003 08:33:07 +0000
Subject: #20352 [Opn->Bgs]: PHP-GTK apps crash with corrupt argc/argv error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32743@lists.php.net to get a copy of this message
ID: 20352 Updated by: alan_k@php.net Reported By: scott.lerman@umit.maine.edu -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: RedHat Linux 7.3 PHP Version: 4.3.0-pre2 New Comment: yes this is a known problem if you mix versions on the same machine (even if you are not aware of it).. Fix - make sure your PHP version that you run php-gtk with is the same as the one you build it with. Previous Comments: ------------------------------------------------------------------------ [2003-02-11 01:34:55] bert@tschursch.de had the same problem and solved it: problem was, that i had 2 php versions (4.1.0 and 4.3.0) installed and the "buildconf" call for php-gtk just configured to get used with (4.1.0 the default php-installation) so php-gtk first found the php (4.1.0) installed in /usr/bin the distribution-installation from Mandrake and php-gtk worked fine with it ... but i tried to use my own php-version (4.3.0) with gtk, so i completly removed the 4.1.0 and run the php-gtk build process again ... everything runs fine now. ------------------------------------------------------------------------ [2002-11-10 22:05:26] scott.lerman@umit.maine.edu Trying to run any program that uses the PHP-GTK extension dies immediately with an error message similar to this: PHP Fatal error: php-gtk: argc/argv are corrupted in /root/php-gtk-cvs/test/hello.php on line 7 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20352&edit=1

« previous php.bugs (#32743) next »