Own version of PEAR

How to install your own version of PEAR

If you have an account with SSH support, you can add a local PEAR repository.

For other accounts, you need to download the packages you want from the PEAR website. Then put the files of your PEAR package in a subdirectory of your "public_html" folder.

Then you will need to adapt the PHP "include_path" using an .htaccess file:

php_value include_path /usr/www/users/FTP_LOGINNAME/PATH_TO_PEAR:.:/usr/local/lib/php/

Here, you need to replace the FTP_LOGINNAME with the FTP login names of the account, and replace PATH_TO_PEAR with the pathname of the subdirectory.

  • 0 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

Cache lifetime

How can I set the cache lifetime for a website? The module mod_expires is installed on Apache...

CGI scripts

Using CGI scripts File your CGI scripts in the "public_html" folder of your account. Make sure...

Content compression

Activate compression mod_deflate (for Gzip) is installed on our servers. You can activate it by...

CORS

Cross-origin resource sharing (CORS) is a mechanism that allows web applications to access...

Directory index

How can I protect a folder from being viewed in the browser? In the menu, go to "Manage...

Powered by WHMCompleteSolution