Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - cinereus

Pages: [1]
1
CentOS-WebPanel GUI / Can't open panel: No Loader is installed
« on: October 21, 2020, 05:53:48 PM »
Hello,

I accidentally deleted the /usr/local/cwp/php71/php.ini file and copied the /usr/local/php/php.ini in its place. At the time I didn't realize that the cwp .ini file had cwp specific module information. 

When I try to load the panel login I get the following error:

   No Loader is installed, please try to run this command or
   contact support: sh /scripts/update_ioncube restart

I ran sh /scripts/update_ioncube restart with no errors, but still can't start the panel.

I added this to the copied /usr/local/cwp/php71/php.ini file, but it didn't help the outcome:

   zend_extension = /usr/local/ioncube/ioncube_loader_lin_7.4.so

How can I get a hold of a copy of the correct cwp php.ini file for php 7.4.11?  Or how can I recreate this file with having to rebuild cwp and loose hours of work?  Is this even the cause of my problem?

Thank you.



2
PHP / PHP not rendering properly
« on: October 18, 2020, 10:27:04 PM »
Hi,

Apache doesn't recognize PHP files or PHP scripts embedded within HTML.  All PHP code is displayed within web pages as text and is not rendered by the PHP engine.  Here is what I have:

  PHP 5.6.37
  Apache 2.4.39
  CentOS 7.8.2003

I have tried the following in order to get Apache to recognized the file types:

  httpd.conf:

    <FilesMatch \.(html|php)$>
       SetHandler application/x-httpd-php56
    </FilesMatch>

  .htaccess:
 
     AddHandler application/x-httpd-php56 .php .html .htm

These directives did not fix the issue.  I tried different suggestions from other forums too, but no success there either.

I did recompile both Apache and PHP (in that order) with no change.  I suspect the issue may be that the libphp5.so module cannot be found anywhere on my server, and there is no associated LoadModule command in the httpd.conf file (LoadModule php5_module modules/libphp5.so).  Thus, it seems Apache doesn't know that PHP even exists.

Any ideas how to recompile so that this module will be included?  Or ideas how to obtain this module so that I can move on with development?  Could it be a LAMP issue?  Any help is appreciated...

Thank you

Pages: [1]