install ioncube on windows server 2008 with plesk - windows-server-2008

I have a problem install ioncube on windows plesk control panel.
I used the thread-safe version of PHP and download Windows VC9 (x86) ioncube.
I Put the Loader files in C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\ext
I do Edit the file C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini and before any other zend_extension_ts lines ensure that the following is included:
zend_extension_ts = "C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\ext\ioncube_loader_win_5.2.dll"
and Restart the IIS server software.
but not run ioncube. :(
Additional Information:
Loader is at: C:\Program Files
(x86)\Parallels\Plesk\Additional\PleskPHP5\ext\ioncube_loader_win_5.2.dll
Loader OS code: win
Loader architecture: x86
Loader word size: 32
Loader PHP version: 5.2
Loader thread safety: Yes
Loader compiler: VC6
Loader version: 4.0r7
File size is: 475136 bytes.
MD5 sum is: a82aa4dc4ce18ff62ea8faaca97a31be
Loader file: Download loader file
Loader found in ini file: Yes
OS extra security: None
PHPRC is: EMPTY
INI DIR is: EMPTY
Additional INI files: (none)
Server type is: LOCAL
PHP uname: Windows NT EASYSOFT 6.1 build 7600
Server word size is: 32
Disabled functions: EMPTY
Writeable loader locations: C:\inetpub\vhosts\E-touch.ir\httpdocs,
C:\inetpub\vhosts\E-touch.ir\cgi-bin

Find Solve
I do upgrade Plesk and running php in command line mode
php -c "C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini" -v
I using the cammand found Problem in php.ini.
When the problem was resolved. ioncube was Run. :D

Related

Phantomjs won't install: Autoconfiguration Error

When trying to install Phantomjs on Ubuntu 22.04, I get the following error:
There are some Q.& A's here from 2015-2022, I tried all of the included suggestions.
https://github.com/ariya/phantomjs/issues/10904
https://gist.github.com/julionc/7476620
wkhtmltopdf - libfontconfig.so.1: cannot open shared object file
http://ubuntuhowtoo.blogspot.com/2019/05/linux-nodejs-phantomjs-error-loading.html
Auto configuration failed
139998593603520:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libproviders.so): libproviders.so: cannot open shared object file: No such file or directory
139998593603520:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
139998593603520:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=providers, path=providers
139998593603520:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=providers```
I had the same issue and fixed it by setting export OPENSSL_CONF=/dev/null prior to phantomJS usage. If it's not possible for you to disable openssl then you would have to pack you application with older OpenSSL version.
Explanation:
Ubuntu 22.04 uses the new OpenSSL version 3.0.2 instead of the older OpenSSL version 1.1.1 . These OpenSSL versions are not fully compatible, so this is why you see this error when PhantomJS tries to auto configure the SSL/TLS settings.
Above answer is little about as I am describing.
Step:1 First stop your node server then run this command in base directory.
Step:2 I suggest you to comment out the lines providers = provider_sectin in the
file/etc/ssl/openssl.cnf
Step:3 Start your application
Brief ref. https://github.com/nodejs/node/issues/43132

Error when creation PLR extension Postgres

I'm trying to create PLR extension in Postgres 10.4 and it gives me error:
ERROR: could not load library "C:/Program Files/PostgreSQL/10/lib/plr.dll": The specified module could not be found.
SQL state: XX000
I use Windows 10, R 3.4.2. I downloaded PL/R of this version: Win64 plr.dll for Postgres 10.x, R-3.4.2 (plr-8.3.0.17)
I put dll file in the lib folder as required and restarted the psql service. R_HOME is set to C:\Program Files\R\R-3.4.2.
Path variables: C:\Program Files\PostgreSQL\10\lib and C:\Program Files\PostgreSQL\10\bin
What can be wrong?
You need also plr.control and corresponding sql files in share/extension/ folder.
Newer version of PL/R does not require R_HOME anymore on Windows as long as the proper information is in the Windows Registry HKLM\SOFTWARE\R-core\R. Uninstalling older versions of R may remove that!!!

Unable to activate Curl on Easyphp Devserver 16.1.1

I am trying to activate curl on my Easyphp Devserver 16.1.1, but I keep getting the error:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5619vc11x86x160615094909\ext\php_curl.dll' - Impossibile trovare il modulo specificato [cannot open shared object file: No such file or directory].\r\n in Unknown on line 0
I did the following:
un-commented "extension=php_curl.dll" in both php.ini files
verified that the file php_curl.dll actually exists in extension_dir
copied libeay32.dll, libsasl.dll, ssleay32.dll to c:\Windows\System\, c:\Windows\System32\, c:\Windows\SysWOW64\
Downloaded cacert.pem from http://curl.haxx.se/ca/cacert.pem and added the full path to it on curl.cainfo in php.ini
Downloading various versions of curl from https://curl.haxx.se
Set paths to php directories in My Computer > Properties > Advanced > Environment Variables (eg: C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5619vc11x86x160615094909\)
I rebooted after doing all these steps (specially for the step #6)
There are at least 5 similar questions, I followed every suggestion but nothing worked. Apache continues not to see my dll. Can anybody help on this issue?
Old topic but for people who land here and want skip all of the useless steps of Lucian.
Just use the answer from Anar Haziyev on this link:
Activation Curl on EasyPHP
work on easyphp devserver.
I faced the same issue with EasyPHP and what it fixed is that I had to install PHP as a different instance, not in the EasyPHP build and started the PHP service from the command line.

Xulrunner fails to launch MyApp

My latest attempt at a workable configuration (Win32) is this one found on kodewerx.org: http://www.kodewerx.org/wiki/A_Brief_Introduction_To_XULRunner:_Part_2 [dated 2010].
My config is as follows:
c:\program files\xulrunner\xulrunner.exe ..et all..
c:\program files\myapp\application.ini
I have added c:\program files\xulrunner to the system PATH.
From the command prompt xulrunner.exe executes and throws up its default help page.
So xulrunner.exe runs.
I have used Mozilla's Dev Org app for jump starting add on development: http://www.mozdev.org/projects/wizard/
I used a Application configurator which has provided me with a large number of files, in a typical moz/chrome layout.
c:\Program Files\MyApp\application.ini
c:\Program Files\MyApp\defaults\preferences\prefs.js
c:\Program Files\MyApp\chrome.manifest
c:\Program Files\MyApp\chrome\content\[*.xul|*.js]
c:\Program Files\MyApp\chrome\locale\en-US\*.dtd
c:\Program Files\MyApp\chrome\skin\*.css
I am uncertain about the minimum/maximum Gecko versions to specifiy at the current date: I have this for the moment, in application.ini:
[App]
Name=MyApp
ID=myapp#stainsby.ca
Version=0.1
BuildID=0001
Vendor=Stainsby
[Gecko]
MinVersion=1.9.2.0
MaxVersion=28.0.*
Any ideas?

RockMongo, "Unable to load dynamic library '/.../mongo.so' - wrong ELF class: ELFCLASS64 in Unknown"

I just installed RockMongo by extracting all the files to a lampp web folder /opt/lampp/htdocs/rockMongo/. Visiting index.php shows
To make things right, you must install php_mongo module. Here for
installation documents on PHP.net.
I followed the instructions there (I had to install php-pear):
sudo pecl install mongo
Add the following line to php.ini: extension=mongo.so
Now, when I start the web server (apache), I get the following warning, repeated hundreds of times:
Warning: PHP Startup: It is not safe to rely on the system's timezone
settings. You are required to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'America/New_York' for
'EDT/-4.0/DST' instead in Unknown on line 0
and also this warning a single time:
Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626/mongo.so' - /usr/lib/php5/20090626/mongo.so:
wrong ELF class: ELFCLASS64 in Unknown on line 0
The index page stills shows the same message (which means that class_exists("Mongo") returns false)
I tried putting in the absolute path to mongo.so, but that didn't do anything. What's going on?
edit: I used
$ file /usr/bin/php5
/usr/bin/php5: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
which seems to suggest my php installation is 64 bits, yet when I print out PHP_INT_MAX I get 2147483647 which seems to indicate my installation is 32 bits. How can I know the "bitness" of my php installation?
From the second PHP warning, it looks like you've mixed 32bit code and a 64bit library.
Make sure all the stuff you've downloaded is of the same "bitness" as your PHP installation.