Need help installing php classes with Abyss please ;-)

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
lestat
-


Joined: 15 Sep 2003
Posts: 130
Location: GREEN BAY

PostPosted: Wed Nov 02, 2005 10:26 pm    Post subject: Need help installing php classes with Abyss please ;-) Reply with quote

OK I wasn't sure where to post this. I'm thinking this was the right place.

I'm trying to install the phpMailer class.

The instructions say to add 'include_path" in the php.ini file
1) I added a folder to make the dir c:\Php\includes *done*

2) So i uncommented and changed include_path = "C:\Php\includes" *done*

3) Then the instructions say to add a couple files to the c:\Php\includes folder*done*

4) The instructions give some test code to call. I did this but get warnings...
Warning: main(class.phpmailer.php): failed to open stream: No such file or directory in C:\Program Files\Abyss Web Server\htdocs\html\path\callMailerTest.php on line 9 Fatal error: main():

Failed opening required 'class.phpmailer.php' include_path='.;c:\php4\pear') in C:\Program Files\Abyss Web Server\htdocs\html\path\test\callMailerTest.php on line 9

whereas line 9 is what calls the class
Code:
require("class.phpmailer.php");


I know this is beceause of the how/what I'm doing or not doing installing this class. Is there anything special I need to do in Abyss? Otherwise, can I just put these classes in my /html/someFolderforClasses ?

thanks!
_________________
XP Pro sp2
Abyss Web Server X2 (v 2.9.3.5)
PHP 5.3.8
Back to top View user's profile Send private message AIM Address MSN Messenger
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Thu Nov 03, 2005 6:41 am    Post subject: Reply with quote

I imagine you altered the wrong php.ini or something, use the one in C:\WINDOWS, as it's the first one it looks for.
On a second note, you may could just put the class in the working directory, or in C:\Php\pear, to try and keep things simple.
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
lestat
-


Joined: 15 Sep 2003
Posts: 130
Location: GREEN BAY

PostPosted: Thu Nov 03, 2005 4:32 pm    Post subject: Reply with quote

I just put it in a working dir and it worked just fine. I haven't played with pear yet. I'm pretty new to php. THanks for the help!
_________________
XP Pro sp2
Abyss Web Server X2 (v 2.9.3.5)
PHP 5.3.8
Back to top View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group