WordPress Compilation

Discussion about the open-source Phalanger [?] project.

WordPress Compilation

Postby netspark » June 18th, 2013, 1:16 pm

When trying to run a pre-compiled version of the WordPress application I see the following error:
It seems that you are missing MySQL extension for PHP that is needed for WordPress

[list=]
[*]1. I have created web.config file (see attachment)
[*]2. Copied sources of my customized wp v3.5.1 + plugins into this dir
[*]3. Precompiled WordPress using the following command:
"d:\Projects\Netspark\Projects\Perevozki.NET\PhalangerBin\phpc.exe" /target:web /root:. /recurse:. /out:Bin /static+ /debug+
Result: 0 errors, 45 warnings[/*]
[*]4. Copied the following dlls into the Bin folder:
    dynamic\
    WebPages.dll
    WebPages.pdb
    PhpNetMySql.dll
    MySql.Data.dll
    PhpNetPDOMySQL.dll
    System.Data.SQLite.dll
    PhpNetZlib.dll
    PhpNetZip.dll
    PhpNetXmlDom.dll
    PhpNetXml.dll
    PhpNetSQLite.dll
    PhpNetSoap.dll
    PhpNetPDOSQLServer.dll
    PhpNetPDOSQLite.dll
    PhpNetPDO.dll
    PhpNetMbstring.dll
    PhpNetIconv.dll
    PhpNetGd2.dll
    PhpNetCurl.dll
    WpDotNet.dll
    PhpNetCore.dll
    PhpNetClassLibrary.dll
[/list]

Does anybody know what could be the reason of the fault? I am trying to make a pre-compiled version working for a long time, but see this error
Very much appreciate for any hints!
You do not have the required permissions to view the files attached to this post.
netspark
 
Posts: 1
Joined: June 18th, 2013, 1:11 pm

Re: WordPress Compilation

Postby Jakub Misek » June 19th, 2013, 11:29 am

I've tried your case, and it works ok for me with latest Phalanger binaries and MySQL 5.5

Just one more thing, add following into your web.config, it may be needed
Code: Select all
<add assembly="PhpNetXmlDom, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="xmldom"/>


Also please try to run the site without compiling it first. Does the first WP page load, or you see the error message immediately?

Thanks!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 3 guests

cron

User Control Panel

Login

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 109 on September 12th, 2020, 1:40 pm

Users browsing this forum: No registered users and 3 guests