phpMorphy integration
16 posts
• Page 2 of 2 • 1, 2
Re: phpMorphy integration
You made my day, really.
Thank you.
Thank you.
- udi
- Posts: 9
- Joined: February 9th, 2012, 10:49 am
Re: phpMorphy integration
It's me again
I'm tryed to deploy my solution to Windows XP SP3 and to Windows 7 Ultimate with all installed .NET Frameworks and Visual C++ 2010 Redistributable
Here is my Phalanger2.exe.config sections:
Files that I'm deploying
On Windows 7 with installed Phalanger (my work machine) it works properly, but on another machines it didn't do anything - no errors, no results.
Maybe I need another files to deploy? I don't want to install Phalanger to user computers.
I'm tryed to deploy my solution to Windows XP SP3 and to Windows 7 Ultimate with all installed .NET Frameworks and Visual C++ 2010 Redistributable
Here is my Phalanger2.exe.config sections:
- Code: Select all
<configSections>
<section name="phpNet" type="PHP.Core.ConfigurationSectionHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71" />
</configSections>
...
<phpNet>
<scriptLibrary>
<add url='phpmorphy.dll' />
</scriptLibrary>
<classLibrary>
<add assembly="PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb" section="bcl" />
<add assembly="php_mbstring.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="mbstring" />
</classLibrary>
</phpNet>
Files that I'm deploying
On Windows 7 with installed Phalanger (my work machine) it works properly, but on another machines it didn't do anything - no errors, no results.
Maybe I need another files to deploy? I don't want to install Phalanger to user computers.
- udi
- Posts: 9
- Joined: February 9th, 2012, 10:49 am
Re: phpMorphy integration
It can't just do nothing Is it possible, your work machine has 32bit Windows, and the other one is 64bit?
It would help, if you add some exception handling or another debug handling, what it actually does.
It would help, if you add some exception handling or another debug handling, what it actually does.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: phpMorphy integration
My work machine has x64 windows, but I develop this application for x86 CPU...
What I can to do with it? I need good universal solution for both versions of Windows
What I can to do with it? I need good universal solution for both versions of Windows
- udi
- Posts: 9
- Joined: February 9th, 2012, 10:49 am
Re: phpMorphy integration
Sadly, Windows PHP extensions (php_mbstring.dll) are compiled for x86 only. You can use managed extensions which are machine-independent (http://www.devsense.com/services/phalanger) or after compiling your EXE, mark it to force x86 execution using corflags tool)
- Code: Select all
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\corflags.exe" /32BIT+ myprogram.exe
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: phpMorphy integration
It was a problem with php_mbstring extension, you're was right. I made new script without php_mbstring extension and it works perfect on the all my computers and Windows versions.
Thanks for your help!
Thanks for your help!
- udi
- Posts: 9
- Joined: February 9th, 2012, 10:49 am
16 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 16 guests