Ensure Windows PHP/Apache/Zorba story works

Bug #1026192 reported by Chris Hillery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Rodolfo Ochoa

Bug Description

As discussed here:

http://stackoverflow.com/questions/10990912/php-cant-initialize-zorba-apis-module

If a Zorba binary compiled with VC6 is the only way to use PHP/Zorba on Windows, then we should provide such an installer.

Related branches

Chris Hillery (ceejatec)
Changed in zorba:
assignee: nobody → Rodolfo Ochoa (rodolfo-ochoa)
status: New → Confirmed
importance: Undecided → High
milestone: none → 2.7
Revision history for this message
Chris Hillery (ceejatec) wrote :

Rodolfo - you mentioned this solution on zorba-dev:

https://groups.google.com/forum/#!topic/zorba-dev/9DfYTW-3ioY

Can it be done? How hard would it be? Is it feasible for 2.7?

Revision history for this message
Chris Hillery (ceejatec) wrote :

Or, is in fact there some other more-correct solution to the original stackoverflow problem? I see you later said that PHP isn't supporting VC6 anymore either, so what is that user supposed to do?

Revision history for this message
Rodolfo Ochoa (rodolfo-ochoa) wrote :

The possible solution for the user is an upgrade. He needs to upgrade his system to avoid non-compatible systems, his system is getting obsolete.
I have to post a reply saying that we are not VC6 compatible anymore, as well as PHP.
So, I will write the reply and that's it.. .if that's ok...

Revision history for this message
Rodolfo Ochoa (rodolfo-ochoa) wrote :

Answer updated.

Revision history for this message
Cezar Andrei (cezar-andrei) wrote :

The point of the bug is to have a solution and preferably binaries available to the user.

Rodolfo, can you download the apache and php and Zorba binaries and check if the whole thing works?

Revision history for this message
Rodolfo Ochoa (rodolfo-ochoa) wrote :

I understand that all VC6 support is Legacy support, is going to take a lot of time to move development to VC6, there are no binaries for Apache and is known that Zorba will not compile in VC6 because of the C++11 features.
So, I will ask: Will it worth all the time invested trying to give this support?

A workaround will be to deliver Zorba Binaries in VC9 with VC6 signature, so PHP believes that is compiled with VC6, but this signature checking was made with this purpose, overriding this could bring unknown consequences for the user.

Revision history for this message
Chris Hillery (ceejatec) wrote :

It sounds like the user who originally filed the stackoverflow question was eventually able to get working with PHP-VC9. So, I will trust Rodolfo's opinion that requests for VC6 support are not reasonable and should be answered by telling them to upgrade to at least apache/PHP/zorba built with VC9.

As Cezar said, we do need to ensure that this solution works, and preferably have a clear documented process for downloading and installing binary installers for all parts of the system.

I am downgrading the bug and changing the title accordingly, but leaving it open and marked for 2.7 for the time being.

One thing I don't understand: What is "VC9"? Is it the same thing (or compatible with the same thing) that we build our current Zorba installers with? Or do we need to provide a "VC9" version of Zorba as well in order for this to work seamlessly for PHP people?

Changed in zorba:
importance: High → Medium
summary: - Need Zorba/VC6 installer for PHP users
+ Ensure Windows PHP/Apache/Zorba story works
Revision history for this message
Chris Hillery (ceejatec) wrote :

Bumping the priority again; Rodolfo, please verify that the Windows installer we ship can be made to work with PHP/Apache binaries that are easily obtainable, and write up a quick but detailed document on how to do it. We should include that document with our own documentation (doc/zorba).

Changed in zorba:
importance: Medium → High
Revision history for this message
Rodolfo Ochoa (rodolfo-ochoa) wrote :

UPDATE:
from stackoverflow
>>I solve this problem.I change PHP-VC6 to PHP-VC9 to match compile potion betwwen zorba. Alse I had to change apache to activate PHP-VC9 from Apache Lounge site.And setup Runtime for VC++ 2008,2010.Finally,zolba worked. – user1345414 Jun 19 at 3:52

Still, I will update our documentation about this.

Chris Hillery (ceejatec)
Changed in zorba:
milestone: 2.7 → 2.6
Revision history for this message
Chris Hillery (ceejatec) wrote :

We really need to verify this by actually doing it using our binary installer, and documenting the process. In particular it wasn't clear to me whether the stackoverflow responder had compiled Zorba himself or was using our binary release.

Revision history for this message
Rodolfo Ochoa (rodolfo-ochoa) wrote :

I have tested both, and changed documentation.

Revision history for this message
Cezar Andrei (cezar-andrei) wrote : Re: [Zorba-coders] [Bug 1026192] Re: Ensure Windows PHP/Apache/Zorba story works

And ...? Hopefully it works.

Cezar

On Thu, Jul 26, 2012 at 11:22 PM, Rodolfo Ochoa
<email address hidden>wrote:

> I have tested both, and changed documentation.
>
> --
> You received this bug notification because you are a member of Zorba
> Coders, which is the registrant for Zorba.
> https://bugs.launchpad.net/bugs/1026192
>
> Title:
> Ensure Windows PHP/Apache/Zorba story works
>
> Status in Zorba - The XQuery Processor:
> Confirmed
>
> Bug description:
> As discussed here:
>
> http://stackoverflow.com/questions/10990912/php-cant-initialize-zorba-
> apis-module
>
> If a Zorba binary compiled with VC6 is the only way to use PHP/Zorba
> on Windows, then we should provide such an installer.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zorba/+bug/1026192/+subscriptions
>
> --
> Mailing list: https://launchpad.net/~zorba-coders
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~zorba-coders
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Rodolfo Ochoa (rodolfo-ochoa) wrote :

sorry, I have tested both and they work fine. :)

Revision history for this message
Chris Hillery (ceejatec) wrote :

Ah, excellent! Ok, this bug can be marked Fix Committed once the documentation merge is complete.

Changed in zorba:
status: Confirmed → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.