cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Sun Mar 19, 2006 9:26 pm Post subject: |
|
|
That was possible on php4 and php-gtk1, because the php-gtk.dll was loaded with "dl" on every script by hand.
On PHP5, the "dl" method is deprecated and the extension has to be loaded automatically in the php.ini. Using gtk with a graphic-less apache (on unix you'd say without X) isn't possible, so loading the php module will fail.
What you could do is using multiple php.ini files and try to get different versions loaded; one without php-gtk for apache, and one with php-gtk2 when using the cli version. You could achieve this by putting the php.ini (without php-gtk) in the apache dir, and the other php.ini in the windows dir. If you are lucky, it works. I never tried it an can't gurantee anything :/ But please tell us what happened. |
|