Pages: 12Next
Current Page: 1 of 2
WAMP Server & IonCube
Posted by: Hayzell (---.washdc.fios.verizon.net)
Date: March 11, 2012 10:48PM

I've been trying to get a Game Server Control Panel up and running using the WAMP Server program. First I go to localhost to see what I can find and it asks me to install IonCube which I do so I download IonCube (Windows VC9) and place it into my "www" folder inside the WAMP Folder. Though when I do that it brings me to this page -



I follow the instructions as best as I can and to me I've completed the instructions carefully and I made sure I did them right. Though once I click on test loader it gives me this page.



Any suggestions on how to fix this problem?

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: March 11, 2012 10:54PM

ion cubd loader needs PHP NTS from what i remember. Wamps PHP is always TS

see if they supply a TS Copy of the DLL

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: Hayzell (---.washdc.fios.verizon.net)
Date: March 12, 2012 04:12AM

I do have a TS Version, but which one is the TS one???

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: March 12, 2012 05:04AM

They should be in folders or named differently.
Yoiu won't know if they are together lol

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: March 12, 2012 11:31AM

You dont say which OS you are using 64bit or 32bit?
You dont say which wamp server you are using 64 or 32 bit?

If you are using 32bit you will need the VC6 version of ioncube and
If you are using 64bit you will need the VC9 version of ioncube.

The filename of the ioncube loader contains the PHP version that the loader will work with.
So if you are using
PHP 5.3.x you should be using ioncube_loader_win_5.3.dll
PHP 5.2.x you should be using ioncube_loader_win_5.2.dll and so on.

It is absolutely irrelevant where you put the dll as long as the line in your PHP.INI correctly address's it.

You must place the zend_extension = "D:/wamp/ioncube/ioncube_loader_win_5.3.dll" line in your php.ini right at the end BUT BEFORE any other zend extensions like the XDEBUG stuff which is now in wamp server by default.
See example below.

Another small complication is if you are using a PHP < 5.3 the php.ini param is zend_extension_ts = "" i.e.
zend_extension_ts = "D:/wamp/ioncube/ioncube_loader_win_5.2.dll"
for some reason they changed the parameter name for phph 5.3.



EXAMPLE from my php.ini

[dba]
;dba.default_handler=

; Local Variables:
; tab-width: 4
; End:

;ioncube Extension
zend_extension = "D:/wamp/ioncube/ioncube_loader_win_5.3.dll"

; XDEBUG Extension

zend_extension = "D:/wamp/bin/php/php5.3.5/zend_ext/php_xdebug-2.1.0-5.3-vc6.dll"

[xdebug]
;xdebug.profiler_enable_trigger = off
;xdebug.profiler_output_name = cachegrind.out.%t.%p

xdebug.profiler_output_dir = "d:/wamp/tmp/xdebug"
xdebug.profiler_output_name = "cachegrind.out.%p"
xdebug.profiler_enable = 0
xdebug.profiler_append=0
xdebug.extended_info=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=xdebug
xdebug.remote_log="d:/wamp/tmp/xdebug/xdebug_remot.log"
xdebug.show_exception_trace=0
xdebug.show_local_vars=9
xdebug.show_mem_delta=0
xdebug.trace_format=0



In order to see that you have ioncube correctly loaded all you need to do is run up the wamp manager localhost and click on the phpinfo() line under TOOLS.
If you see THIS: ( look at line 3 )

-------------------------------------------------------------------------------
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v3.3.18, Copyright (c) 2002-2010, by ionCube Ltd., and
with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
-------------------------------------------------------------------------------

In the "Powered By Zend Engine 2" box you are properly installed.



Check the php and apache error logs for useful error messages if you do not see line 3.

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: March 12, 2012 11:56AM

It's not true about 32bit and 64bit being vc6 and vc9.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: March 12, 2012 12:07PM

Steve,

What controls the use of VC6 and VC9 then. I thought what wamp was compiled with would also control the ioncube equivalent?

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: March 12, 2012 12:15PM

The compiler for apache and php will control it.

wampserver 32bit was vc6 upto and including wampserver 2.1

Wampserver2.2 32bit changed to vc9 since php 5.3.6 is only released as vc9

Wampserver 64bit has always been vc9

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: March 12, 2012 12:57PM

Thanks

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: n6rej (---.pool.dsl.scrtc.com)
Date: July 07, 2012 04:05AM

I'm having the same problem, and this is on a freshly updated wamp.
wampserver2.2e-php5.4.3-httpd2.2.22-mysql5.5.24-x64

if I try php 5.3.13 from the previous install the same thing happens.
I'm on win7 x64
ioncube_loaders_win_vc9_x86_ipf ( which are the TS according to the link ) is whats installed. I tried the wizard also.. EXACT same situation as the other person

Quote

[Fri Jul 06 20:59:21 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Jul 06 20:59:21 2012] [notice] Child 5368: Exit event signaled. Child process is ending.
[Fri Jul 06 20:59:22 2012] [notice] Child 5368: Released the start mutex
[Fri Jul 06 20:59:23 2012] [notice] Child 5368: All worker threads have exited.
[Fri Jul 06 20:59:23 2012] [notice] Child 5368: Child process is exiting
Failed loading d:\wamp\bin\apache\apache2.2.22\bin\ioncube\ioncube_loader_win_5.4.dll
[Fri Jul 06 20:59:23 2012] [notice] Parent: Child process exited successfully.
Failed loading d:\wamp\bin\apache\apache2.2.22\bin\ioncube\ioncube_loader_win_5.4.dll
PHP Warning: PHP Startup: Unable to load dynamic library 'd:/wamp/bin/php/php5.4.3/ext/php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.\r\n in Unknown on line 0
[Fri Jul 06 20:59:24 2012] [notice] Apache/2.2.22 (Win64) PHP/5.4.3 configured -- resuming normal operations
[Fri Jul 06 20:59:24 2012] [notice] Server built: May 13 2012 19:41:17
[Fri Jul 06 20:59:24 2012] [notice] Parent: Created child process 1004
PHP Warning: PHP Startup: Unable to load dynamic library 'd:/wamp/bin/php/php5.4.3/ext/php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.\r\n in Unknown on line 0
[Fri Jul 06 20:59:24 2012] [notice] Child 1004: Child process is running
[Fri Jul 06 20:59:24 2012] [notice] Child 1004: Acquired the start mutex.
[Fri Jul 06 20:59:24 2012] [notice] Child 1004: Starting 64 worker threads.
[Fri Jul 06 20:59:24 2012] [notice] Child 1004: Starting thread to listen on port 80.
[Fri Jul 06 20:59:24 2012] [notice] Child 1004: Starting thread to listen on port 80.

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: July 07, 2012 04:12AM

Your ioncube dll is for 5.4

Get a new dll for 5.3

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: n6rej (---.pool.dsl.scrtc.com)
Date: July 07, 2012 04:16AM

I've got all 4.
[screencast.com]

5.3.13 php.ini has..
; ionCube Extension
zend_extension = "D:/wamp/ioncube/ioncube_loader_win_5.3.dll"


; XDEBUG Extension

zend_extension = "d:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug-2.2.0-5.3-vc9-x86_64.dll"

and 5.4.3 has ...
; ionCube extension
zend_extension = "d:\wamp\bin\apache\apache2.2.22\bin\ioncube\ioncube_loader_win_5.4.dll"


; XDEBUG Extension

zend_extension = "d:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.0-5.4-vc9-x86_64.dll"

I do a lot of debugging for Joomla so sometimes have to swtich php versions which is why I use wamp smiling smiley

*edit*
whoops, forgot to change the 5.4 line but still same issue....
Quote

[Fri Jul 06 21:16:36 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Jul 06 21:16:36 2012] [notice] Child 1072: Exit event signaled. Child process is ending.
[Fri Jul 06 21:16:37 2012] [notice] Child 1072: Released the start mutex
[Fri Jul 06 21:16:38 2012] [notice] Child 1072: All worker threads have exited.
[Fri Jul 06 21:16:38 2012] [notice] Child 1072: Child process is exiting
Failed loading d:\wamp\bin\apache\apache2.2.22\bin\ioncube\ioncube_loader_win_5.4.dll
[Fri Jul 06 21:16:38 2012] [notice] Parent: Child process exited successfully.
Failed loading d:\wamp\bin\apache\apache2.2.22\bin\ioncube\ioncube_loader_win_5.4.dll
[Fri Jul 06 21:16:39 2012] [notice] Apache/2.2.22 (Win64) PHP/5.4.3 configured -- resuming normal operations
[Fri Jul 06 21:16:39 2012] [notice] Server built: May 13 2012 19:41:17
[Fri Jul 06 21:16:39 2012] [notice] Parent: Created child process 1016
[Fri Jul 06 21:16:39 2012] [notice] Child 1016: Child process is running
[Fri Jul 06 21:16:39 2012] [notice] Child 1016: Acquired the start mutex.
[Fri Jul 06 21:16:39 2012] [notice] Child 1016: Starting 64 worker threads.
[Fri Jul 06 21:16:39 2012] [notice] Child 1016: Starting thread to listen on port 80.
[Fri Jul 06 21:16:39 2012] [notice] Child 1016: Starting thread to listen on port 80.
; ionCube extension
zend_extension = "d:\wamp\ioncube\ioncube_loader_win_5.4.dll"


; XDEBUG Extension

zend_extension = "d:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.0-5.4-vc9-x86_64.dll"



Edited 2 time(s). Last edit at 07/07/2012 04:19AM by n6rej.

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: July 07, 2012 04:18AM

Oh I see - ur using wamp 64 .

Ur dll is x86

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: n6rej (---.pool.dsl.scrtc.com)
Date: July 07, 2012 04:20AM

hmmmm.... they don't have a x64 ver

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: July 07, 2012 04:22AM

then use wamp 32bit

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: n6rej (---.pool.dsl.scrtc.com)
Date: July 07, 2012 04:23AM

UGH! mysql is slow enough w/o switching to x32

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: July 07, 2012 04:27AM

you can leave mysql at 64x but there isnt a package built like this

but apache and php must be x32

so if you copy the mysql folder c:\wamp\bin\mysql\mysql5.5.24

then uninstall wamp64


install wamp32bit

then replace the mysql folder.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 07/07/2012 04:30AM by stevenmartin99.

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: n6rej (---.pool.dsl.scrtc.com)
Date: July 07, 2012 09:19AM

steve I saw this...
Quote

How to install
==============

This assumes your wamp installation is "c:\wamp". Also better switch off the WAMP manager (exit the control panel).

- Unzip the bin_32.zip file to "c:\wamp\bin\"
- Run the WAMP server, in the control panel you should see Apache2.2.17_32 under Apache and PHP5.3.4_32 under PHP versions.
- Pick Apache 2.2.17_32, then PHP 5.3.4_32 and see if the server runs correctly. This package also contains IonCube installed & configured. You should be able to access everything like before.
- If something is not working, you can always revert back to the previous 64-bit versions of PHP & Apache.
my question is, is it possible for one of 2 things to happen...

a) hit a x32 menu choice and x32 is active automatically switching bin's..
b) change label so that its possible to distinguish between x32 and normal x64?

Thanks in advance

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: stevenmartin99 (Moderator)
Date: July 07, 2012 09:42AM

Yes you can just download a php and apache addon if you like

i have some on my site..
[pampserver.com]
[pampserver.com]


these are a bit more recent than the ones on the wampserver page.


these are in VC6. So you must use a VC6 extension


you can select these on the menu after

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP Server & IonCube
Posted by: n6rej (---.pool.dsl.scrtc.com)
Date: July 07, 2012 09:47AM

how do you get it to say "5.3.1-x32" though? instead of just 5.3.1?

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.