Announcement

Collapse
No announcement yet.

STILL unable to get the php-gtk module loaded

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • STILL unable to get the php-gtk module loaded

    Code:
    jeffery@jeffery-desktop:~$ sudo mv /usr/lib/php5/20060613/php_gtk2.so /usr/lib/php5/20090626
    [sudo] password for jeffery: 
    jeffery@jeffery-desktop:~$ cp
    cp: missing file operand
    Try `cp --help' for more information.
    jeffery@jeffery-desktop:~$ sudo mv /home/jeffery/Desktop/php_gtk2.so /usr/lib/php5/20060613
    jeffery@jeffery-desktop:~$ ls
    Desktop    Downloads         Music     Public     Videos
    Documents  examples.desktop  Pictures  Templates  Vuze Downloads
    jeffery@jeffery-desktop:~$ cd Downloads
    jeffery@jeffery-desktop:~/Downloads$ cd php-gtk-2.0.1
    jeffery@jeffery-desktop:~/Downloads/php-gtk-2.0.1$ ls
    acinclude.m4      config.h       generator           modules
    aclocal.m4        config.h.in    include             NEWS
    AUTHORS           config.log     INSTALL             NEWS.pre-2-0
    autom4te.cache    config.m4      install-sh          php_gtk.m4
    build             config.nice    libtool             README
    build2            config.status  ltmain.sh           README.KNOWN-ISSUES
    buildconf         config.sub     main                run-tests.php
    buildconf.bat     configure      Makefile            test
    buildfix.diff     configure.in   Makefile.fragments  TODO2
    buildmk.stamp     COPYING.LIB    Makefile.global     win32
    ChangeLog         cvsclean.bat   Makefile.objects
    CODING_STANDARDS  demos          missing
    config.guess      ext            mkinstalldirs
    jeffery@jeffery-desktop:~/Downloads/php-gtk-2.0.1$ cd demos
    jeffery@jeffery-desktop:~/Downloads/php-gtk-2.0.1/demos$ php phpgtk2-demo.php
    PHP Warning:  PHP Startup: php-gtk: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    Please load the php-gtk2 module in your php.ini
    jeffery@jeffery-desktop:~/Downloads/php-gtk-2.0.1/demos$ ^C
    jeffery@jeffery-desktop:~/Downloads/php-gtk-2.0.1/demos$ ^C
    jeffery@jeffery-desktop:~/Downloads/php-gtk-2.0.1/demos$
    yep, after following all the steps here, I still am unable to get it loaded.



    ideas please?


    P.s as micheal said a while ago, the phoronix test suite gui is a real bitch to get working on Ubuntu. I mean.... compiling modules even after a .deb has been installed?!
Working...
X