• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fix problem with php-gettext

    Scheduled Pinned Locked Moved
    Linux Problems
    3
    3
    595
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      Ibizenco
      last edited by

      Re: insatllfog.sh can't get php-gettext

      If you use a “Bullseye” version of Debian or a newet version of Ubuntu (22.xx), the installation does not go smoothly…

      PHP-GETTEXT no longer exists and the version of PHP which is 7.4 does not start correctly.

      To overcome this problem, just before running the famous command to initialize the script (./installfog.sh) you must modify the config.sh file located in the /lib/ubuntu directory of your fogproject folder.

      You must add after line 93 (fi) the following line: php_ver=“7.4”

      Then on line 107 change the package name from php-gettext to php-php-gettext.

      Now you can run ./installfog.sh

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @Ibizenco This has been discussed in the forums and in issue reports at least a dozen of times. Please use the latest dev-branch version instead of 1.5.9 for now.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        P 1 Reply Last reply Reply Quote 1
        • P
          pilou92 @Sebastian Roth
          last edited by

          @sebastian-roth Thanks.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          165

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project