url directory

Discussion in 'General' started by illuder, Feb 6, 2022.

  1. illuder

    illuder Member HowtoForge Supporter

    hi all
    I went via ssh to
    /var/www/fayview.com/web
    and I added a directory /portal
    so now it reads /var/www/fayview.com/web/portal
    www.fayview.com/portal
    under that directory, I've copied the WHMCS files ready for installation.
    I've CHOWN to the same user
    I've ensured the read/write is same and correct.
    it reads ERROR 500

    any suggestion on where I can check what the problem is?

    thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look into the error.log of the website /var/www/fayview.com/log/error.log
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    So you either have to get a version that#s encoded for PHP 7, or you install PHP 5.6 as an additional PHP version and select it for this website.
     
  4. illuder

    illuder Member HowtoForge Supporter

    PHP Fatal error: The file /var/www/clients/client1/web6/web/portal/install/index.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.

    Hmphh, ok, tx for guidance.. will address
     
  5. illuder

    illuder Member HowtoForge Supporter

    Hmm, any direction on this option please?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

  7. illuder

    illuder Member HowtoForge Supporter

    thank you , will peruse.
     
  8. illuder

    illuder Member HowtoForge Supporter

    Hello, if I could please have further support on this..

    I have installed php5.6

    I now need to add it in ISPCONFIG, but I cannot find the path to install this... or to ensure that 5.6 is allotted to that particular website and its running 5.6. How do I install via the GUI and how do i test?
     
  9. illuder

    illuder Member HowtoForge Supporter

    i tried following this tutorial, but was unsuccessful on Centos 8.4
     
  10. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    In ISPConfig ui you add this under System > Additional PHP Versions, then edit the website and choose that php version. To test you can create a simple php file that runs phpinfo(), open that in your browser and it will show you the php info.
     
  11. illuder

    illuder Member HowtoForge Supporter

    Thank you, however, the FastCGI Settings and PHP-FPM Settings tabs need populating? If so, with what?
    Tx in advance
     
  12. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    You probably don't need to add info for both modes of you only use one, but it doesn't hurt to do so. If you have any, you can refer to other additional PHP versions for what to put there; I don't know what centos 8 needs offhand.
     
  13. illuder

    illuder Member HowtoForge Supporter

    The sites do not show the PHP5.6 I just added, probably because the FastCGI Settings and PHP-FPM Settings tabs is blank...
     

Share This Page