Menu

PHP-Dev with PHP/GTk already installed.

2003-09-04
2003-09-07
  •  Paul Zirkle

    Paul Zirkle - 2003-09-04

    I have already been using PHP-GTk, and I came across Dev-PHP. I want to be able to use it with my current set up, so I specified my c:\php\php.exe as the parse file.

    When I run a GTK file, it gives an error:
    dl() : unable to load dynamic library 'c:\php4\php_gtk.dll'

    Now, I've gone thru several installations of PHP getting it to work, and at one time I did have a c:\php4\ folder with php in it, but no longer. And I certainly dont have anything linking to it anymore.

    Is it using a registry key somewhere or something? Or is this a problem outside of Dev-PHP? I can run the file just fine in the command window by typing:
    "c:\php\php c:\gtk-php\test\mini_browser.php"

    Any hints?

     
    • Urs Mäder

      Urs Mäder - 2003-09-04

      You need to edit the php.ini. This file is in the SystemPath (Winnt) or in the php.exe - Directory.

      Search for

      extension_dir = "E:\php\extensions"

      and edit in your way.

       
      •  Paul Zirkle

        Paul Zirkle - 2003-09-04

        I have already done this. As I said, I already have a fully working PHP and PHP-Gtk independant of Dev-PHP.

         
    • Urs Mäder

      Urs Mäder - 2003-09-05

      Is the path correctly set to PHP in the option dialogue? It is possible to furnish for Dev PHP its own PHP installation.

       
      •  Paul Zirkle

        Paul Zirkle - 2003-09-06

        Yes, under:
        "Options->General Options->Parser"

        I have the correct path to my php.exe which is:
        c:\php\php.exe

         
    • Urs Mäder

      Urs Mäder - 2003-09-07

      Where is put down php.ini?
      There is a php.ini in the php-directory
      or only under winnt (systemdirectory)?

      Dev PHP dont need the Registry. All attitudes are put down in devphp.ini.

       
      •  Paul Zirkle

        Paul Zirkle - 2003-09-07

        (i am running Win98):

        C:\php\php.exe
        C:\windows\php.ini
        c:\program files\Dev-PHP\devphp.exe

         

Log in to post a comment.

MongoDB Logo MongoDB