|
InstallOsap
How to Install OSAP
What do I need to run OSAPThere are two non-technical mayor issues:
And technical requirements:
Install StepsOSAP is distributed in two kinds of packages:
1 with PEAR ExtensionsIf you download this package, just decompress the rar file and you have 3 examples ready to run. 2 without PEAR ExtensionsIf you already have PEAR installed on your system you may prefer not to have PEAR packages duplicated. So the steps to follow are: 2.1 Install Required PEAR packagesRequired PEAR packages you need to install in order to use OSAP are:
Note: If you plan to use a POP3 account with an SSL connection you need to have enabled openssl PHP Extension, as well. 2.2 Copy movistar_sms_http.phpCopy the OSAP movistar_spain_http.php file in the Net/SMS directory of your PEAR installation. That is, your pear packages are installed anywhere in your hard drive, find where. In that folder there must be a Net folder with an SMS subfolder. Just copy that file there. 2.3 PEAR PathIn order to run OSAP, you must include the directory of your pear installation in your PHP path. To do this just include this line in your code: $_CONFIG['pearDir']='pear/';
$delim = (PHP_OS == "WIN32" || PHP_OS == "WINNT") ? ';': ':';
ini_set('include_path', ".{$delim}{$_CONFIG[pearDir]}{$delim}");
unset ($delim);or edit your php.ini file. For example: include_path = ".;C:\php\pear" |
Sign in to add a comment