PHP 7.3



  • Hello

    I just upgraded debian an it’s now php 7.3 but the installer of fog 1.5.7 is looking for php 7.0.
    Do i have to install the dev-branch ?
    Actually nothing works anymore
    Service Unavailable

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Apache/2.4.38 (Debian) Server at 192.168.39.243 Port 80
    

    I i try a upgrade here is what i have :

    * Skipping package:   apache2.................................(Already Installed)
    * Skipping package:   bc......................................(Already Installed)
    * Skipping package:   build-essential.........................(Already Installed)
    * Skipping package:   cpp.....................................(Already Installed)
    * Skipping package:   curl....................................(Already Installed)
    * Skipping package:   g++.....................................(Already Installed)
    * Skipping package:   gawk....................................(Already Installed)
    * Skipping package:   gcc.....................................(Already Installed)
    * Skipping package:   gzip....................................(Already Installed)
    * Skipping package:   htmldoc.................................(Already Installed)
    * Skipping package:   lftp....................................(Already Installed)
    * Skipping package: libapache2-mod-php7.0.....................(Does not exist)
    * Skipping package:   libc6...................................(Already Installed)
    * Skipping package:   libcurl4................................(Already Installed)
    * Skipping package:   m4......................................(Already Installed)
    * Skipping package:   mariadb-server..........................(Already Installed)
    * Installing package: mysql-client............................Failed! (Will try later)
    * Skipping package:   net-tools...............................(Already Installed)
    * Skipping package:   nfs-kernel-server.......................(Already Installed)
    * Skipping package:   openssh-server..........................(Already Installed)
    * Skipping package: php7.0....................................(Does not exist)
    * Skipping package: php7.0-bcmath.............................(Does not exist)
    * Skipping package: php7.0-cli................................(Does not exist)
    * Skipping package: php7.0-curl...............................(Does not exist)
    * Skipping package: php7.0-fpm................................(Does not exist)
    * Skipping package: php7.0-gd.................................(Does not exist)
    * Skipping package: php7.0-json...............................(Does not exist)
    * Skipping package: php7.0-mbstring...........................(Does not exist)
    * Skipping package: php7.0-mysql..............................(Does not exist)
    * Skipping package:   php-gettext.............................(Already Installed)
    * Skipping package:   sysv-rc-conf............................(Already Installed)
    * Skipping package:   tar.....................................(Already Installed)
    * Skipping package:   tftpd-hpa...............................(Already Installed)
    * Skipping package:   tftp-hpa................................(Already Installed)
    * Skipping package:   unzip...................................(Already Installed)
    * Skipping package:   vsftpd..................................(Already Installed)
    * Skipping package:   wget....................................(Already Installed)
    * Skipping package:   xinetd..................................(Already Installed)
    * Skipping package:   zlib1g..................................(Already Installed)
    * Updating packages as needed.................................OK
    * Installing now everything is updated........................Failed!
    


  • @george1421
    It seems yes


  • Developer

    @plegrand Seems like you have figured it out already but I just feel like adding this in case others read this and wonder about it. As I see it you had “php7.0” in /opt/fog/.fogsettings from the previous installation and our scripts were not smart enough to update this for you. So manually changing /opt/fog/.fogsettings should have fixed it.


  • Moderator

    @plegrand said in PHP 7.3:

    @plegrand
    Everything seems work fine and i’ve no more error in log files.

    Including the errors from the FOG Multicast manager??



  • @plegrand
    Everything seems work fine and i’ve no more error in log files.



  • @george1421

    I had to modify this file :
    /etc/php/7.3/fpm/pool.d/www.conf

    ;listen = /run/php/php7.3-fpm.sock
    listen = 127.0.0.1:9000
    

    Now it seems to work.

    I’ve always these errors :

    août 26 11:49:05 fog FOGMulticastManager[788]: PHP Warning:  Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' (this will throw an Error in a future version of PHP) in /var/www/fog/lib/fog/fogurlrequests.class.php on line 160
    août 26 11:49:15 fog FOGMulticastManager[788]: PHP Warning:  Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' (this will throw an Error in a future version of PHP) in /var/www/fog/lib/fog/fogurlrequests.class.php on line 158
    août 26 11:49:15 fog FOGMulticastManager[788]: PHP Warning:  Use of undefined constant CURLOPT_SSL_VERIFYHOST - assumed 'CURLOPT_SSL_VERIFYHOST' (this
    

    will throw an Error in a future version of PHP) in /var/www/fog/lib/fog/fogurlrequests.class.php on line 159



  • aptitude versions php 2:7.3+69
    aptitude versions php-fpm 2:7.3+69
    aptitude versions php7.3-fpm 7.3.4-2

    I’ve got a lot of these errors in error.log :

    [Mon Aug 26 11:31:37.008348 2019] [proxy:error] [pid 9312] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
    [Mon Aug 26 11:31:37.008383 2019] [proxy_fcgi:error] [pid 9312] [client 192.168.39.124:54346] AH01079: failed to make connection to backend: 127.0.0.1
    

  • Moderator

    While I don’t know about the installer requirements, I can tell you that php-fpm must be at the same version as php that is installed or php-fpm won’t start and you will get a 503 error with service not available.


Log in to reply
 

482
Online

6.3k
Users

13.7k
Topics

128.9k
Posts