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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.
I have already done this. As I said, I already have a fully working PHP and PHP-Gtk independant of Dev-PHP.
Is the path correctly set to PHP in the option dialogue? It is possible to furnish for Dev PHP its own PHP installation.
Yes, under:
"Options->General Options->Parser"
I have the correct path to my php.exe which is:
c:\php\php.exe
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.
(i am running Win98):
C:\php\php.exe
C:\windows\php.ini
c:\program files\Dev-PHP\devphp.exe