Pear Package install

Status
Not open for further replies.

sampleweb30129

New Member
Messages
4
Reaction score
0
Points
0
hi.. i have been trying to install the pear package but finding it difficult. kindly guide me.
i have used this link as reference for now:
http://pear.php.net/manual/en/installation.shared.php

i used the traditional method given:
1. make a readable/writable folder outside public_html, named "ex1"
2. uploaded go-pear.php within one of the folder in public_html
3. when i run the go-pear.php script the file where pear should be downloaded is given as ex1.
4. when it is doing this within 30-45 seconds the process stops abdrubtly.

kindly guide me how i can install the pear package.
let me know if any further information is needed.

thanks in advance.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Basically anything that goes outside the server to grab content has been blocked.
 

sampleweb30129

New Member
Messages
4
Reaction score
0
Points
0
thanks for the reply...

I wanted pear package for sending mail...
I wanted to use gmail smtp account. It would be very kind of you if you could guide me or direct me to some resource i can use.

i have tried without gmail smtp with the following code, however there seems to be some problem.
$to = "sampleweb301@gmail.com";
$subject = $subject;
$body = $msg;
$from="sampleweb401@gmail.com";
$headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject).
"X-Mailer: php";
if (mail($to, $subject, $body, $headers))
{echo "a";}
else {echo "b";}

Kindly guide me for the above two problems..

I have been looking for a way to use the gmail smtp but cannot find one.
Thanks in advance
 
Status
Not open for further replies.
Top