This is how I did it...
The PHPRunner developers have released a special, Linux-friendly version of PHPRunner that does not have the Microsoft ADSI dependency.The following instructions relate specifically to that version. If you choose to install another version then you will also need to install download and install ADSI from Microsoft.
The Linux-friendly PHPRunner is available for free download from here...
However, you will have to pay for it after 21 days just like any other version of PHPRunner.
Firstly...
- Create bottle called something like phprunner40-linux, make sure you create it as a Win98 bottle. This enables you to install all the dependencies. It seems to like it if you install all dependencies FIRST and obviously make sure they are installed in the phprunner40-linux bottle you just created!
Then select and install in this order...- DCOM98,
this forces the installing of Windows OLE components and Windows OLE
components (part 2) - and makes it accessible to phprunner.
- Internet
Explorer 6 SP1 - choose advanced install which will allow you do
install ALL the IE components you need (and I suspect some you probably
don't!)
- Then click "install unsupported software" and install phprunner40-linux. And make sure you actually install it in the phprunner40-linux bottle you just prepared!
During the install it is a good idea to create a desktop icon. Later, you
might need to copy and paste its properties into the menu item the installer creates.
Now here is the important part...You must now convince "PHPRunner.exe" that it is a Windows XP application. Not sure why. (Any of you clever
Codeweavers have any idea about this?) Then you must
also do a "libarary override" for the PHPRunner.exe file. This is how to do it...
- In the winecfg tool (Crossover Configuration | "Configure" button | "Control Panel" tab | "Winecfg" item), select "PHPRunner.exe" if it is in the list.
- If it isn't in the list then you will need to click the "Add Application" button, then browse and find the "PHPRunner.exe" file.
- Then, making sure the "PHPRunner.exe" file is selected, use the "Windows" pick list near the bottom of the dialog, to select "WinXP" and click "Apply" button.
- Then, making sure the "PHPRunner.exe" file is still selected, click the "Libraries" tab.
- From the "new override for library" picklist select "activeds (native,builtin)" and click "Add" button.
- Click "Apply" button. Then close the winecfg dialog.
- Click "OK" button to dismiss the "Configuring Bottle" dialog.
- Click "Exit" button to dismiss the original Crossover config dialog.
Now
launch PHPRunner from the desktop icon - et voila! I tried this
installation procedure several times with 100% success each time.
Granted, it's a bit of a performance but it works great! Also gives you
a pretty good implementation of Internet Explorer on Linux too!
- Finally, I'd like to say a big thanks to PHPRunner developer Sergey Kornilov for all his help and assistance and to the Codeweavers team for an excellent product and agreeing to my advocating PHPRunner. It's amazing what can be achieved when people work together.