i've been looking for an answer and i've tried a few ones but it dont seem to work, when i use a class that needs the IONCUBE loader it gets me the same error over and over.
Site error: the file C:\wamp\www\ProjectoInventario\output\include\multifacturas_sdk\lib\cfdi32_multifacturas.php requires the ionCube PHP Loader ioncube_loader_win_5.3.dll to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
i've installed the 5.1 to 5.5, even the wizard says it was installed successfuly, but the program gets me the same error over an over.
what can i do?
im on wamp by the way.
Ok a couple of things you need to know.
You need the Thread Safe version of IONCUBE for WAMPServer. Thats the one WITHOUT the (Non TS) in its name.
Make sure you have the correct 32 or 64 bit version, the same as the WAMPServer version you installed.
If you are using WAMPServer 2.5, which I assume you are as you have Apache 2.4.9 installed you need the VC11 version of IONCUBE and not the VC9 version, which I think means you need the 5.5 version.
Once you get that sorted out, look at this part of the phpinfo() page to see if its loaded
The version will be different on your system, but this is where you look for the report that its loaded.
And last but not least, make sure you are adding the zend_extension = ... statement to the correct php.ini. Use the wampmanager menu to make sure you get the right file.
wampmanager -> PHP -> php.ini
This will edit the php.ini file in the apache/bin folder. If you edited the php.ini file in the ....php/php.x.y.z folder that one is only used by PHP CLI and not by Apache.
Related
How I can upgrade IonCube PHP Loader from v.4.7.5 to v.5.0.0 and higher ?
Please explain to me the process.
My Developer Magento extensions moved to ionŠ”ube v.5.0.0
Please help:)
php -v: PHP 5.4.28 ionCube PHP Loader v4.7.5
Depends on your setup, mostly. In some cases such as CPanel* and certain shared hosting plans, you do not have access to the php.ini file, where you can specify which ionCube Loader to use. In these cases, you'll have to wait for your provider to upgrade to a newer ionCube version.
*CPanel are working on support for the ionCube Loader v5
If you do have a setup that allows for a custom php.ini file, open up the file and search for an entry such as:
zend_extension = "/path/to/ioncube_loader"
Note: On some servers, this entry might be in your php.d/20-ioncube.ini file, or something similar
Note 2: If you have trouble finding your php.ini file, take a look at the output of your phpinfo() command.
Make a note of where your current ionCube Loader files are located, download the newest file from here and replace your old files with the new files. Do make sure to choose the right configuration regarding thread-safety, architecture (32 / 64 bit) and PHP version (in your case PHP 5.4).
Finally, restart Apache/PHP and you should be good to go.
When in doubt, you can comment out or remove the zend_extension line from your php.ini file, restart Apache/PHP and redo the whole installation from scratch, using the ionCube Loader Wizard (zip, tgz), or contact the ionCube Support HelpDesk for any specific problems.
I've also written some answers detailing the installation here which might be of help.
Summary: Just overwrite the old files with the new Loader files, restart Apache/PHP. If you run into any problems, reinstall or contact ionCube Support
Im on Windows 7, 64/bit running xampp v3.1. The php version is 5.4, Im trying to install memcache locally on the box so I can use memcache with php. I have searched google and followed directions about installing memcached.exe as a service, then downloading the memcache dll extension file for php and putting it into the ext folder under the php folder. I then add it to the php.ini folder, restart apache and memcache does not show up when running phpinfo() and when I try to run memcache via php it tells me this function does not exist. Can anyone help me figure this out? I verified the service is up and running, I tried different versions of the dll php extension file but still same issue. Any suggestions? Here is one site I used for instructions on installing memcache:
http://shikii.net/blog/installing-memcached-for-php-5-3-on-windows-7/
There must be some error logged into your apache logs. What is the error?
Looks like I grabbed the incorrect version of memcache for php. You must grab the correct memcache dll file for the php version you are using. I found the correct download here:
http://windows.php.net/downloads/pecl/snaps/memcache/3.0.6/php_memcache-3.0.6-5.4-ts-vc9-x86.zip
It has the correct php version, 5.4 and its thread safe. Once I downloaded it, extracted the dll and put into php extension folder and restarted xampp/apache, it now works.
Trying to upgrade from PHP 5.2.5 to 5.2.17 (and then to 5.3.6 once that works) on IIS 6.0, installing the language itself runs just fine and I changed the PHP.ini/ect locations that IIS uses for PHP, everything still works but when I run PHP info on my site it still says it's running PHP 5.2.5. Restarted IIS, restarted the server even, no difference. What do I do to change which version/what location of PHP IIS is using?
When I install PHP 5.3.6 the site no longer works, so I know installing different versions is doing SOMETHING, but I think it might only be changing the PHP.ini my server is using, not the version of PHP.
In addition to installing the windows binary release of PHP I've also tried installing PHP from Microsoft's Web Platform Installer (both 5.3.6 and 5.2.17), after installing neither showed up as the current version in phpinfo either.
If you want to use php 5.3, you must install IIS FastCGI extension and run PHP as cgi script. From php 5.3 isapi is not supported. But everything works fine if you configure it, and as benefit you can use more php version simultaneously. IIS 6 is not a problem. Download PHP non thread safe.
For details see this, for example: http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
Download the latest VC11 x86 Non Thread Safe version of PHP from http://windows.php.net/download/
Once the zip is downloaded, right click on the zip file and select properties. Make sure you unblock the file.
Rename your current PHP folder to PHPold.
Find your php.ini file and rename it to phpold.ini
Extract the zip file to c:\temp\php.
Copy the php folder from c:\temp to wherever your old PHP folder was.
Go to your new php folder and copy php.ini-production and paste it to where your old php.ini file was
Rename php.ini-production to php.ini
On the server, make sure you have Notepad++ along with the Compare plugin. If you need the compare plugin, use these steps. http://www.davidtan.org/how-to-compare-two-text-files-using-notepad-plus/
In the location that stores your phpold.ini and php.ini, right click on each of those files and open them with Notepad++. On the php.ini, only make changes to the lines with the >> next to them.
Once the changes have been made, make sure you save php.ini.
Go to Services and restart IIS.
Solution has been to move to Apache in my case. IIS 7 has better tools but IIS has proven to be a poor environment for development in this case.
we've inherited a PHP project from a client that requires IonCube. Our boxes all run on IIS7 and although we've followed the instructions for configuring it, it isn't loading the decoder library. Have any of you had any success with getting IonCube up and running on Win 2k8 (32bit)? I'm pulling my hair out over this so any help would be beyond appreciated.
Thanks
For anyone attempting to do this in the future, here is what you must do:
Determine if you are running a thread-safe version of PHP. You can check that by accessing your php_info or the file they provide. If you are not running a threadsafe version continue:
Download the non-ts version (non-threadsafe version) from the typical download page (there are two version available)
Put the Dlls inside of your Windows\System folder (i put mine in a subfolder)
Add the line zend_extension = C:\Windows\System32\ioncube\ioncube_loader_win_5.2.dll
note that it is NOT zend_extension_ts and is zend_extension instead
restart IIS
Run their ioncube-loader-helper.php file to verify that it worked properly.
Enjoy.
I am trying to install PHP onto my development box (XP SP3 / IIS 5.1) I've got PHP 5.2.6 stable downloaded (the MSI installer package) and I am getting an error "Cannot find httpd.conf". After that the install seems to breeze by quickly (more quickly than I would have expected) and when I try to execute a simple PHP script from my localhost test directory that I created, I get a slew of missing DLL errors. I have seen posts out there which indicate that its possible and has been done. I dont see any bug reports for this MSI at PHP.NET support. Any ideas?
Not sure if you already have this but I use WAMP from http://www.wampserver.com/en
It's easy and simple to set up, it has an icon in the system tray to show that its active and you can make it go online or available to the outside by clicking the icon and setting it. I used this when I was first learning PHP since it has everything in one, no need to setup any other service like IIS.
Probably the installer didn't configure your server to use PHP properly. Check out Microsoft's page on enabling PHP on IIS or alternatively switch to Apache if that's a viable option.
I'll see if I can remember it correctly:
Unzip PHP zip file into c:\Program Files\php (or run the installer)
Copy php5ts.dll into c:\windows\system32
Copy php.ini.dist into c:\windows and rename it to php.ini
Edit c:\windows\php.ini and look for extension dir - make it point to c:\Program Files\php\extensions (or wherever you put it)
This is where my memory gets fuzzy: Edit your IIS application settings, add a script map for .php files, and set the executable to php5ts.dll
Profit!?!??!?!