php.ini
Re: php.ini
Place this in a php file and upload it to one of your websites on your server with the problem and provides us with a link to it please.webass wrote:This was a good way to find out more.
I added it toand it came to an error whil performing php -mCode: Select all
/etc/php5/cli/php.ini
which was:Now a little research on "wrong ELF class: ELFCLASS32" implements, that I installed a 32 bit version of the library and try to get it to run on a 64 bit seystem. But I definetely downloaded the 64bit version...Code: Select all
Failed loading /usr/local/ioncube/ioncube_loader_lin_5.5.so: /usr/local/ioncube/ioncube_loader_lin_5.5.so: wrong ELF class: ELFCLASS32
On all other php.ini files it has no effect at all.
So, I suppose that the /etc/php5/cli/php.ini is the right one to add it, while I have no clue why this should be...
Anyway. the 64bit files of iconcube I downloaded and installed cannot be really the problem can they?
Code: Select all
<?PHP phpinfo(); ?>
Re: php.ini
Hi,
hope this helps:
link
hope this helps:
link
Last edited by webass on Mon Dec 29, 2014 8:30 pm, edited 1 time in total.
Re: php.ini
webass wrote:Hi,
hope this helps:
add the followingnano /etc/php5/apache2/conf.d/20ioncube.ini
Code: Select all
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.5.so
zend_extension_ts = /usr/local/ioncube/ioncube_loader_lin_5.5_ts.so
Re: php.ini
Cool. Thx. I'll try this soon. I havent even thought about nginx
Soon.
Andre
Soon.
Andre
Re: php.ini
webass wrote:Cool. Thx. I'll try this soon. I havent even thought about nginx
Soon.
Andre
You should not need to place anything in nginx config or apache config just the file above.
Re: php.ini
Hi,
I did it but am not sure if it worked...
with php -m it still doesnt show.
I did it but am not sure if it worked...
with php -m it still doesnt show.
Re: php.ini
webass wrote:Hi,
I did it but am not sure if it worked...
with php -m it still doesnt show.
did you restart httpd?
Re: php.ini
yes, like this I did already.root@123:~# service apache2 restart
* Restarting web server apache2 AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/conf.d/1.2.3.4.conf:1
[ OK ]
root@123:~# service nginx restart
* Restarting nginx nginx
Now did again...
Here I can verify also if its working its the req check by Ioncube.
link
Last edited by webass on Mon Dec 29, 2014 8:30 pm, edited 1 time in total.
Re: php.ini
Download a fresh copy of ioncube and upload the wizard to weilfair.com also reupload the phpinfo page pleasewebass wrote:yes, like this I did already.root@123:~# service apache2 restart
* Restarting web server apache2 AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/conf.d/1.2.3.4.conf:1
[ OK ]
root@123:~# service nginx restart
* Restarting nginx nginx
Now did again...
Here I can verify also if its working its the req check by Ioncube.
http://trax.weilfair.com/check-server-requirements.php
Re: php.ini
I have no idea why, but now it works. link
I just used the new ones and copied over.
I tried first to instlal here: extension_dir => /usr/lib/php5/20121212 => /usr/lib/php5/20121212
Didnt work...
BUT.... why isnst it stored in /usr/lib/php5/20121212 but in /usr/local/ioncube/ioncube_loader_lin_5.5.s
I just used the new ones and copied over.
I tried first to instlal here: extension_dir => /usr/lib/php5/20121212 => /usr/lib/php5/20121212
Didnt work...
BUT.... why isnst it stored in /usr/lib/php5/20121212 but in /usr/local/ioncube/ioncube_loader_lin_5.5.s
Last edited by webass on Mon Dec 29, 2014 8:31 pm, edited 1 time in total.