1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

php and executable

Discussion in 'Plesk for Linux - 8.x and Older' started by bonsaidouglas, Nov 7, 2005.

  1. bonsaidouglas

    bonsaidouglas Guest

    Hi I've installed Ghostscript and html2ps to convert HTML pages to PDF, but there seems to be a permissions problem on the html2ps executable;
    I've chmodded the permissions on the file itself to no effect. Is there a PHP or HTTPD setting that dissallows PHP from executing programs?

  2. ShadowMan@

    ShadowMan@ Guest

    There is PHPs open_basedir, if "/usr/local/bin/" is not within the allowed path, then php scripts won't be able to access the file.

    Also check your php.ini file to see if anything has been defined in the directive 'disable_functions'
  3. bonsaidouglas

    bonsaidouglas Guest

    Outstanding, that was it. I already had a vhost.conf going so I added it there as "php_admin_value open_basedir" and it's working perfectly.

  4. fgonzalez

    fgonzalez Guest

    how to install GhostScript

    Hi I have PLESK 7.5.4 Reloaded
    Fedora C3

    how can I install GhostScript?

    Thanks a lot.
  5. bonsaidouglas

    bonsaidouglas Guest

    I can't remember if I installed it with YUM or if I downloaded the package from the GhostScript site and installed... Either of those should point you in the right direction though.