akbkhome

Does it work on windows?






Edited from a message by Tarjei Huse & followups by Armand Verstappen

After some fiddling I have now managed to get phpmole to work on winnt. Here's a
quick howto:

// This doc assumes you got a working midgard instalation ++.  (for the midgard bit)

1. Download:
- php-4.1.1 windows zipfile.
- php-gtk-0.5.0 windows zipfile
- phpmole-1.1 from alan

2. unzip the files into a tmp dir.

3. copy the php-gtk files as spesified in the readme, i.e:
\php4 -> c:\php4
\winnt\php.ini -> c:\winnt\php.ini   <- very important!
\winnt\system32\* -> c:\winnt\winnt\system32\


4. copy the files in the \dlls dir in the php-4.1.1.zip to c:\php4\

5. copy the files in the \extensions dir in the php-4.1.1.zip to c:\php4\
basically put all the available dlls into php4 - gtk,php/dll and php/extensions
(there's probably another way to do this, but this works.)



6. untar and move phpmole into c:\php4\phpmole

7. in c:\winnt\php.ini :
uncomment:
extension=php_curl.dll

8. Assosiate the .php filetype with c:\php4\php_win.exe

9. Now, it should be possible to run phpmole. Try to double click on
phpmole-IDE.php.

If this doesnt work, check the errorlog.

9. Check that you can ping your server
eg. start command.com and ping www.mymidgardserver.com
if this doesnt work, then the next step will fail.

10. Logging on to midgard.

The steps are as follows:
1. create xml interface on the midgard server  - see the notes on the install page
** using the cvs version of the reciever  appears to be more reliable.

2. Add an extra mgd bookmark and configure it as it should be.


Try to log in. I get : "Loading tree" and
if it stops there - It is probably that your windows box cannot resolve domains correctly - or you are behind a proxy

a tree should come  up,

you should now modify the configuration to disable these modules
Go to Settings->configuration->modules
and put a tick/cross etc. against these to hide them
> database editor
> scintilla
> gtkhtml
> xml tree editor
> web browser
> simple debuggger
press the exit button and restart phpmole.

and you should be able to open the midgard bookmark, type in the password and
edit, add etc.

drag n drop file upload is not working yet (nor is image preview) these are awaiting updates in the win32 bindings of php-gtk





Add a comment (requires javascript!)

Name
Email
Homepage
Comment
 

Edit Document | Create Page:
Contact me at alan@akbkhome.com