Has anyone been able to get Drupal and Phalanger to work together? If so could you please post your recipe? I currently am unable to get drupal loaded all the way. It stops processing after "SELECT COUNT(pid) FROM url_alias" sql query.

Drupal Version?
Phalanger Version?
Database Version?
Web.config file?
Machine.config file?
ASP.net Add-ons?

Thanks a bunch!

Comments

davesgonebananas’s picture

Wow! I've never heard of that and I have to say I'm both impressed with what they have done and confused as to why anyone would want to. Could this really be faster than the Zend optimized PHP interpreter? Some how I doubt it but I'm open to persuasion.

Sorry I can't help with your problem. I noticed someone had got phpBB working with it, so maybe try getting that to work with your setup would be a good place to start? Just a thought.

jinside’s picture

PHP applications do work and I have tested mysql, and sql server connectivity. PHP apps work pretty fast when they are compiled which was very intriguing. What I did not make clear in my message is in Drupal's case you basically get a white screen of death and it says something went wrong and we killed a the asp.net service. Phalanger does have support of error reporting, however in this case there is no error when compiling.

esteewhy’s picture

Quick and dirty recipe:

  1. Check out a Drupal 6.x to your working copy.
  2. Apply a cumulative patch -- except for some unsupported PHP syntax cases, the essential part is to disable a regeneration of session cookie, though this solution is far from perfect
  3. Install PostgresSQL and configure database (i have also tried to integrate a SqLite support to minimize external dependencies, but it turned to be quicker just go with PG)
  4. Check out a recent Phalanger
  5. Apply following patches:
    1. array_filter() functionality is missing -- without it, Drupal won't process radio buttons correctly
    2. Accessing non-arrays and non-strings with [] should return NULL in PHP -- not strictly necessary, just to reduce a number of warnings