• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

php and executable

B

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;
Error: html2ps [/usr/local/bin/html2ps] not 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?

Thnx
 
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'
 
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.

Thanks
 
how to install GhostScript

Hi I have PLESK 7.5.4 Reloaded
Fedora C3

how can I install GhostScript?

Thanks a lot.
 
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.
 
Back
Top