WARNING: unlink(/home/users/web/b372/ipw.oxyscrip/public_html/public/templates_c///%%CC/CC4/CC4BC2E3%%inc_head.tpl.php.php) [function.unlink]: No such file or directory (on line 44 of file '/hermes/bosweb/web037/b372/ipw.oxyscrip/public_html/3rdparty/Smarty-2.6.11/libs/internals/core.write_file.php')
Oxyscripts - PHP Development, tutorials, articles, news, programming, scripts and forums.
OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :
 
Manual installation

Manual installation

Installing packages manually is no recommended way, but a lot of people run into problems using the automated ways, when their sites are located in web hosting environments with no shell access.

In the following paragraphs, we will demonstrate how to install packages manually on a site with the following path scheme: The document root of the site is /var/www/www.example.com/htdocs/. On the same level than htdocs there is another directory called includes. This directory can not be accessed via HTTP but via FTP or WebDAV.

The installation consists of some easy to follow steps:

  1. Download the package:

    You can download the package from the PEAR homepage with your web browser. If you do not know the URL of the package information page for the package, you can use the package browser to view the currently available packages.

  2. Upload the package source code

    After having downloaded the .tgz file of the package, you have to extract the contents of the archive file to a temporary directory on your local machine. After that you must upload the source code via FTP, WebDAV or another method to the directory /var/www/www.example.com/includes/, so that the source code for Mail_Mime now e.g. resides in /var/www/www.example.com/includes/Mail/.

  3. Adjust your include_path directive.

    Now you have to adjust PHP's include_path directive so that it contains the location where you just uploaded the source code. If you have access to the php.ini configuration file for your site, you have to add /var/www/www.example.com/includes/ to the directive there. If you do not have access to the configuration, you have to set the include_path in each script where you want to use the package:

    ini_set("include_path", '/var/www/www.example.com/includes/' . PATH_SEPARATOR . ini_get("include_path"));

  4. After having finished the installation, you can now make use of the package:

    require_once "Mail/Mime.php";
    
    $mime = ...

If you have more questions concerning manual installation, you can ask on the user mailing list.

 
   Print this page

Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting

Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005