Deploying with pure dll
12 posts
• Page 2 of 2 • 1, 2
Re: Deploying with pure dll
Ok, I finally got it!
For the record here's my .config, finaly working as expected:
Many many thanks for your patience Jakub!
For the record here's my .config, finaly working as expected:
- Code: Select all
<configuration>
<configSections>
<section name="phpNet" type="PHP.Core.ConfigurationSectionHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71" />
</configSections>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="php/Bin;php/Wrappers" />
</assemblyBinding>
</runtime>
<phpNet>
<paths>
<set name="DynamicWrappers" value="php\Dynamic" />
<!--<set name="Libraries" value="php\Bin" />-->
<!--<set name="ExtWrappers" value="php\Wrappers" />-->
<!--<set name="ExtTypeDefs" value="php\TypeDefs" />-->
<set name="ExtNatives" value="php\Extensions" />
</paths>
<classLibrary>
<add assembly="PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb" section="bcl" />
<add assembly="PhpNetXmlDom, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="dom"/>
<add assembly="php_bcmath.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="bcmath" />
<add assembly="php_curl.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="curl" />
<add assembly="php_gd2.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="gd2" />
<add assembly="php_image.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="image" />
<add assembly="php_mbstring.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="mbstring" />
<add assembly="php_mcrypt.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="mcrypt" />
<add assembly="php_openssl.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="openssl" />
<add assembly="php_xml.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="xml" />
<add assembly="php_zlib.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="zlib" />
</classLibrary>
</phpNet>
</configuration>
Many many thanks for your patience Jakub!
Last edited by strfrank on June 25th, 2012, 4:59 pm, edited 1 time in total.
- strfrank
- Posts: 20
- Joined: May 30th, 2012, 5:05 pm
Re: Deploying with pure dll
Great! I'm glad it works.
btw I think PhpNetCore is not needed as a <ClassLibrary>. <ClassLibrary> section only specifies assemblies with functions/constants/classes you would like to be able to use from within PHP code.
btw I think PhpNetCore is not needed as a <ClassLibrary>. <ClassLibrary> section only specifies assemblies with functions/constants/classes you would like to be able to use from within PHP code.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
12 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 10 guests