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 web162.extendcp.co.uk 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 07:11:46 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux

    This is the type of system PHP was compiled on:
    Linux web162.extendcp.co.uk 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 07:11:46 EDT 2024 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/gallerydbgAo5vox, 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.