how to run cgi in cpanel hosting

I built web app in xojo, How to run cgi in hosting with cpanel editor?, I run in local server no problems

Here are some guidelines for deploying to Linux:

http://documentation.xojo.com/index.php/Web_Deployment_Overview
http://documentation.xojo.com/index.php/Deploying_Web_Apps_on_Linux

You can find more in User Guide Book 4.

My experience with Linux cPanel:

——— Linux cPanel XOJO WEB APP CONFIGURATION problem ------

I receive tis message:

For a correct xojo web app configuration (after reading the User Guide Book 4 and Web Deployment Overview) I had to:

  1. Make sure the Linux server and the Xojo web apps are 64 bit
    =================================
    PHP Version 5.6.17
    BUILD = X86_64-REDHAT-LINUX-GNU
    CGI / FastCGI - FastCGI Process Manager
    PCRE (Perl Compatible Regular Expressions) Support - Perl Compatible Regexps
    (see http://sigma.docstool.it/info.php for more info)
    ==============OK DONE============
    test64_001.xojo_binary_project Build LINUX x86 64-bit
    ==============OK DONE============

  2. Make sure that the Application Identifier is unique. If there is another web app running on the server with the same Application Identifier, then your new app will not start.
    =================================
    Unique Application Identifier: com.calvitecnologie.test64
    ==============OK DONE============

  3. Make sure you’re getting SSH access
    =========with SSH keys===========
    ssh lb123456@lhcp1031.webapps.net -p 25000
    ==============OK DONE============

  4. Make sure permissions are 775 or 755 for all files and directories
    In particular that the owner and group of the files matches that of the system. If you’re FTP client shows owners/groups and it says something like “mixed” you’ve got a problem. You’ll need to figure out how to change the owner/group on your own. This may involved getting SSH access. It may be easier to work through the CPanel File Manager to upload files because you’re guaranteed, then, to have the right owner/group.
    =================================

lb123456@lhcp1031 [~/public_html/sigma.docstool.it/cgi-bin/test64]$ ls -lh totale 7,1M drwxrwxr-x 4 lb123456 lb123456 4,0K 29 feb 03:09 ./ drwxr-xr-x 3 lb123456 lb123456 4,0K 29 feb 02:53 ../ -rwxrwxr-x 1 lb123456 lb123456 53 29 feb 00:10 config.cfg -rwxrwxr-x 1 lb123456 lb123456 86 28 feb 23:56 .htaccess* -rwxrwxr-x 1 lb123456 lb123456 7,1M 28 feb 23:56 test64* -rwxrwxr-x 1 lb123456 lb123456 6,9K 29 feb 03:09 test64.cgi* drwxrwxr-x 2 lb123456 lb123456 4,0K 29 feb 03:22 test64\\ Libs/ drwxrwxr-x 3 lb123456 lb123456 4,0K 28 feb 23:56 test64\\ Resources/
==============OK DONE============

  1. Make sure permissions for the config.cfg file is 664 or 666
    =================================

chmod 666 public_html/sigma.docstool.it/cgi-bin/test64/config.cfg -rw-rw-rw- 1 lb123456 lb123456 53 29 feb 00:10 config.cfg
==============OK DONE============

  1. Make sure the .htaccess file has been uploaded.
    ============.htaccess============
    Options +ExecCGI
    order allow,deny
    deny from all
    <Files *.cgi>
    allow from all

    ==============OK DONE============

  2. Does the server have libicu installed?
    Xojo 2015 R2 requires libicu and if you don’t have it your app will just crash with maybe an obscure error in the error log like “Can’t find missing file.”
    If you suspect you’re missing a library and have SSH access, try starting the app via the command line. It will tell you what the missing library is.
    =================================

lb123456@lhcp1031 [~]$ public_html/sigma.docstool.it/cgi-bin/test64/test64.cgi /home/lb123456/public_html/sigma.docstool.it/cgi-bin/test64/test64: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/lb123456/public_html/sigma.docstool.it/cgi-bin/test64/test64 Libs/XojoConsoleFramework64.so) Use of uninitialized value $ENV{"REQUEST_METHOD"} in string eq at public_html/sigma.docstool.it/cgi-bin/test64/test64.cgi line 110. Can't use an undefined value as a symbol reference at public_html/sigma.docstool.it/cgi-bin/test64/test64.cgi line 118.
=============ERROR ! ============

Question to cPanel server administrator:
Could you please help me and intall libicu on my virtual server?

Question to Xojo community: do you think I’ve done everything correct?

Thanks Roberto Calvi

P.S. I’m waiting cPanel server administrator answer from a couple of days

cpanel is a very turnkey solution that manages the server for you. Many providers would not be willing to install additional libraries if its not an option in cpanel. Hopefully yours will be willing too. If they are not you will have to change providers or use an older version of Xojo that does not require libicu.

Your error demonstrates for whatever reason your glibc library as being out of date or unavailable. This is essentially the same as libicu as being a necessary library to be installed by the system administrator.