[nycphp-talk] PHP-Gtk Complie Troubles
Adam Maccabee Trachtenberg
adam at trachtenberg.com
Wed Apr 7 12:50:13 EDT 2004
On Wed, 7 Apr 2004, Scott Mattocks wrote:
> I am having lots of trouble getting PHP-Gtk 1.0 to compile. I tried to
> ask this question to the php-gtk-general list but I think gtk hates me
> cause I can't even subscribe to the list right. Any help would be
> greatly appreciated. I am pretty sure that it is just my setup but I
> can't figure it out. I have searched the mail list archives and there
> doesn't seem to be much help for me there. I am using RedHat Enterprise
> with PHP 5 RC1.
I don't believe PHP-Gtk 1 works with PHP 5.
> After configuring without libglade I run make and get a PHP error in
> generator/scheme.php. The error is on line 117 where it tries to do
> $this = unserialize ($this->parseTree); Not really knowing what is
> going on there, I tried changing that line to $this->parseTree =
> unserialize ($this->parseTree); That gets me further but then I get a
> large formatted error saying that my php.ini file should have
> register_argc_argv = On. But it does have it set to on!
You can't reassign the value of $this in PHP 5. This is a change from
PHP 4.
Also, there were some changes with how argc/argv are handles in PHP
5. They may need to be accessed differently, depending on your set up.
> If anyone has hany suggestions I would love to hear them. I have been
> fighting with this for three days now and it is really frustrating. I
> was able to run everything flawlessly in one attempt on a server at work
> which runs RHEL and PHP 4.3.2.
Stick with PHP 4.3?
-adam
--
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!
More information about the talk
mailing list