Control Web Panel
WebPanel => Installation => Topic started by: DA_MAN on March 03, 2021, 06:48:30 PM
-
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.0.so: /usr/local/ioncube/ioncube_loader_lin_8.0.so: cannot open shared object file: No such file or directory
PHP Warning: Missing arginfo for uploadprogress_get_info() in Unknown on line 0
PHP Warning: Missing arginfo for uploadprogress_get_contents() in Unknown on line 0
The ioncube loader is not even getting written to usr/local/ioncube/ --> it is missing
I am not sure why uploadprogress is not being compiled but it's not.
Can the developers please look into this, ioncube is a necessity for certain web applications like WHMCS and so on. (Oh and CWP 7!)
-
Did you select ioncube when you compiled PHP?
PHP Selector 2 under the CWP Root Menu, or PHP FPM Selector if you have a pro license
-
Yes I did and it didn't install it. - That's the problem...
-
Which option are you using?
PHP Switcher or FPM?
-
PHP-FPM Selector (NEW)
-
can you put a file in the user account with just these lines
<?php
phpinfo();
?>
also
Webserver Settings -> Webservers Main Config, Nginx/Apache (Which one you use) default PHP-FPM version
Webserver Settings-> Webservers Domain Config, tell me what it says for the users config files
-
rcschaff IT'S NOT THERE. Just like the original post says. It (ioncube_loader_lin_8.0.so) is not in the /usr/local/ioncube folder - older versions are but 8.0 is not. Posting a phpinfo.php is only going to show you that in that section of the page Ioncube is not loaded.
...and the forums won't let me insert an image here, go look at:
https://photos.google.com/search/_tra_/photo/AF1QipMbF-4_IPYTrntRq8J0O5o6TdMWYv9s60J1adYF
See it is NOT THERE. It is installing the .ini but not the module - that's why the error came up it is trying to load a module that is not there...
https://photos.google.com/search/_tra_/photo/AF1QipPtfSUVPMlgxoFk1yV9gEFFCCgexPfqg229lreb
-
Webserver Settings-> Webservers Domain Config
Is set to apache>php-fpm
PHP-FPM version: 8.0
This setting overrides the other setting you asked for...
-
I'm sorry I am just frustrated that the developers don't double-check their work is all. And this isn't the first time for ioncube loader not to be installed with a PHP recompile. I had it hose a CWP server because it didn't install ioncube for CWP.
And we aren't even talking about the missing uploadprogresss installation either.
-
I just now noticed from my own phpinfo that "imagick" is not installed either and it is surely selected in the settings. Come on guys and gals...
-
uploadprogress IS showing up in the phpinfo as version 1.1.3 but there is some mystery problem that has PHP throwing an error over it - maybe a misconfiguration somewhere. The file:
/opt/alt/php-fpm80/usr/php/php.d/uploadprogress.ini
Seems OK. "extension=uploadprogress.so" --> which should be right...
I don't know but it throws an error when I try to use the PHP CLI executable.
-
You failed to mention that you were trying to run in via CLI in the original post. the CLI version php uses,is the system install php (Which is v5.6 or v7.1 by default).
If your trying to run php cli, you need to specify the full path the the php version that has the modules compiled.
Ex: /opt/alt/php-fpm71/usr/bin/php -v
-
You take me for a fool Sir. I specified the path to the php-fpm PHP executable in:
sudo -u accountusername /opt/alt/php-fpm80/usr/bin/php ./command goes here
Why are you arguing with me over this? Can you not see the missing ioncube module that is getting called by ioncube.ini (/opt/alt/php-fpm80/usr/php/php.d/ioncube.ini) in my image? There is no "ioncube_loader_lin_8.0.so" (or ioncube_loader_lin_8.0_ts.so either...) present in the folder. So naturally it's not showing up in phpinfo.php. What gives? I have over 40 years doing this...
Then there's a problem with uploadprogress and no imagick installation either. All of this is visible in my posts. You have asked me a question that was answered by the title of my post even! If you are a dev for the project I see why there are problems.
Is this plain enough for you? Here are the contents of the ioncube.ini file. Show me where that is (not) in the folder...
zend_extension=/usr/local/ioncube/ioncube_loader_lin_8.0.so
-
Thank you for your rude reply. I am neither a dev, nor staff of any kind. Just someone willing to help you out. If you have over 40 years of doing this, fix it yourself, and don't come on a forum begging for answers. After all, you're smart enough to manually install ioncube yourself...
If you're reporting a bug, that different. But DO NOT get condescending with people who are simply asking for more information/ giving advice. Good luck to you.
-
Just an FYI. There is no loader for PHP 8, because ioncube has not made a loader for php8 as of yet. Just checked the site myself, as I have a license. When one becomes available, I'm sure CWP will include it.
The uploadprogress extension works on PHP 5, PHP 7, and PHP 8. It requires the use of the Apache HTTP Server with mod_php. Other web servers and PHP-FPM are not yet supported.
-
"If you're reporting a bug, that different."
My apologies. Yes I am reporting several bugs here, table for three? - ioncube8.0, uploadprogress, and imagick are not compiling right when selected... (Well uploadprogress is installed but is strangely throwing errors.)
I pay money for this software - I expect you do too. It is not too much to ask that it works as advertised. I know how to and do run LAMP stacks...
____
Now thank you Sir, that IS helpful:
"Just an FYI. There is no loader for PHP 8, because ioncube has not made a loader for php8 as of yet. Just checked the site myself, as I have a license. When once becomes available, I'm sure CWP will include it."
But CWP should not include the option to install something that doesn't exist yet. If they didn't want to remove the option they could have added text to the line informing people it is not yet available.
Okay so PHP 8 is not ready for release in CWP yet, but software is - that happens, but it would have been simple to make that clear in the compiler settings. Or post it as a thread in the forums or in some sort of documentation... Oh, that's right CWP does not publish changelogs which would have told us this. Oh yeah... Bone of contention for a long time with CWP.
Sorry we got off on such the wrong foot. I will never understand why they created the ioncube.ini with a reference to something nonexistent then. If that were not generated I would likely have never ended up posting as I would have sought the wisdom you did and ran a simple search.
I digress, imagick and uploadprogress still need attention.
-
I totally agree. They need a better development team, with changelogs and notations. I as well as others have offered our services to no avail. Most of the problem is they're hiding behind ioncube, instead of making most of the code open source so that others can bug fix. But I digress.
As a note, I would say that yes PHP8 should be notated as not fully implemented. Though 8 is considered stable, it was a complete rewrite of the code, and therefore requires all dependencies to completely rewrite their codes to be compatible. Most mod developers were prepared, but a good chunk of them are behind the 8 ball.
Have a good night ;)
-
Thanks, you too. :)