Check NetPBM

This script is designed to examine your NetPBM installation to see if it is ok to be used by Gallery. It really should be integrated into the config wizard, but one thing at a time. You should run this script after you have run the config wizard, if you have had problems with your NetPBM installation that the wizard did not detect.

  1. Loading configuration files. If you see an error here, it is probably because you have not successfully run the config wizard.

  2. Let us see if we can figure out what operating system you are using.

    This is what your system reports:
    Linux web161.extendcp.co.uk 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 x86_64 x86_64 GNU/Linux

    This is the type of system PHP was compiled on:
    Linux web161.extendcp.co.uk 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64

    Make sure that the values above make sense to you.

    Look for keywords like "Linux", "Windows", "FreeBSD", etc. in the output above. If both the attempts above failed, you should ask your ISP what operating system you are using. You can check via Netcraft, they can often tell you.

  3. You told the config wizard that your NetPBM binaries live here:

    If that is not right (or if it is blank), re-run the configuration wizard and enter a location for NetPBM.

  4. We are going to test each NetPBM binary individually. If you see errors, you should click here to see more details
    Checking /giftopnm
    Error! (File /giftopnm does not exist.) 
    
    Checking /jpegtopnm
    Error! (File /jpegtopnm does not exist.) 
    
    Checking /pngtopnm
    Error! (File /pngtopnm does not exist.) 
    
    Checking /pnmcut
    Error! (File /pnmcut does not exist.) 
    
    Checking /pnmfile
    Error! (File /pnmfile does not exist.) 
    
    Checking /pnmflip
    Error! (File /pnmflip does not exist.) 
    
    Checking /pnmrotate
    Error! (File /pnmrotate does not exist.) 
    
    Checking /pnmscale
    Error! (File /pnmscale does not exist.) 
    
    Checking /pnmtopng
    Error! (File /pnmtopng does not exist.) 
    
    Checking /ppmquant
    Error! (File /ppmquant does not exist.) 
    
    Checking /ppmtogif
    Error! (File /ppmtogif does not exist.) 
    
    Checking /
    Error! (Expected status: 0, but actually received status: 126) 
    
    

    If you see an error above complaining about reading or writing to /tmp/gallerydbgWr6LyN, then this is likely a permission/configuration issue on your system. If it mentions open_basedir then it's because your system is configured with open_basedir enabled. You should talk to your system administrator about this, or see the Gallery Help Page

    For other errors, please refer to the list of possible responses in FAQ 4.4 to get more information.