Ioncube on a plesk server
Hi, I have vps with plesk on it, i am going to install ioncube on it because i have a website hosted (As a ''customer''.)that needs it for whmcs on the back to work. But because of it being hosted it has restricted rights to my server, it has it's own space and can't interact with the the main vps directories. Because of this, it can't see some files of the ioncube installed on my server.
23 Replies
Are you saying that PHP can't see the
.php
files in your web root or ioncube isn't running due to not being fully installed?
Using the ioncube wizard (on their homepage) should show if it's been installed correctly, if it isn't, that's something that'll need to be turned on in Plesk if available
If PHP can't see the files, then you're going to need to check that the web user and group recursively own all files and directories (chmod
/chown
) in the web root and can read/write to those files as neededhi thank you for your response
this is the message I am getting, see this txt file for a better overview of the paths
Is it okay if I private message you about giving a user access to these paths?
The user shouldn't have access to the global PHP configurations, though if you have root access to the Plesk server you can just
We try to keep all support forums to this channel so it can benefit our community and anyone with additional knowledge can chime in
Ofcourse, just for privacy reasons of my ip and users
I will try it later this day, keeping you updated
I do not really understand what you have written here
do i need to copy and paste it 1 on 1?
because that doesn't work
oh it did work in the websites space
but now there is another problem
I accidentally installed a php 8.3 version before I think was following a tutorial but it really messed things up
don't really understand what this is saying exactly
This shows that ionCube for PHP 8.1 is successfully installed
Do you have a new error or other issue appearing?
yeah but as you see whmcs still doesn't work
I'd enable the
display_errors
directive in your php.ini temporarily or go check the error logs in the error_log
directive file path (also in the ini)this one?
It is really weird, used cpanel before, and that always worked without issues. Plesk has better overview in my opinion, but is a bit more secure in a good and bad way
Viewing Website Error Log
To view the error log for a particular website
Go to Websites & Domains > the site’s domain name > click ...
Plesk preconfigures the
error_log
location, so you can just go find it thereerrors don't give errors about whmcs, because it isn't installed I think, the installer needs ioncube. can someone maybe call with me to solve the issue?
If you reach out to WHMCS support they can take a look in there for you, included with your license
Also if you can send the error message I might be able to tell you what's wrong
i did today, they said they can't call with me and look to the problem, nice
i am not going for the security things because of all the right and roles problems
@DirtyJ do you have time to maybe hop on a call, or later?
They won't call (I won't have time to this weekend either), but if you can set up temporary access details they can review the logs for you and find any issues if they're related to the WHMCS product itself or common PHP misconfigurations. Likely, if the installer won't show at all, then there's an issue with the PHP environment or the system requirements haven't been met
we can close this ticket, I am in a talk with the plesk support