hi Karel,<br> thanx 4 your response.<br> But still i have the same problem, when i type the "Pear install db" it gives the messege "Package 'DB' already installed, skipping" .<br> <br> My serweb directory is at the path /var/www/html/serweb in fedoracore4, when i type http://localhost/users in the browser , i get's this messege.<br> <div>"The requested URL /users was not found on this server."<br> </div> <div>even i configured the ./config file.according to instructions.<br> </div> <div>If i makes any file with .php extension and puts that file in the html root it works properly....I am surprised...plz hep me solve this problem...<br> M.F.B<br> </div> <br><b><i>Karel Kozlik <karel@iptel.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> PEAR is extension repository for php. See
http://pear.php.net/<br>Yes you have to install it. I don't know the how-to bellow, but it seems <br>very obsoleted. Why you do not follow oficial installing instructions <br>included in serweb in INSTALL file?<br><br>And please use mailing list for next questions.<br><br>Karel<br><br><br>fay butt napsal(a):<br>> hi,<br>> sorry, I don't know exectly what is peer?...I have to install it <br>> seperatly?...i just followed these instructions..... you can check what <br>> paths i am using...thanx again<br>> <br>> <br>> Step by Step Installation of WEBSER on RedHad Fedora Core 1<br>> <br>> When the original distribution is installed the directory locations do <br>> not match up with the typical apache file locations. These notes <br>> document all the changes needed. SUGGESTION: For the Tutorial we should <br>> develop a new install TAR so delegates do not spend 30 minutes editing <br>> all the files.<br>> <br>> <br>>
* Get the TAR, un-tar and place the files in the right directory<br>> o<br>> from SER <http:> or from this server<br>> <http:><br>> o<br>> untar<br>> *tar -xvzf serweb_2004-01-04.tar.gz*<br>> o change directory to where the files were untared to<br>> *cd serweb_2004-01-04*<br>> o<br>> Create the directory and move the files there<br>> *mkdir /var/www/phplib<br>> chown root /var/www/phplib<br>> chgrp root /var/www/phplib<br>> chmod 755 /var/www/phplib<br>> cp ./phplib/* /var/www/phplib/ -R *<br>> o<br>> # Move the html files to the DocumentRoot directory<br>> *mkdir /var/www/html/serweb/<br>> chown apache /var/www/html/serweb/<br>> chgrp root /var/www/html/serweb/<br>> chmod
755 /var/www/html/serweb/<br>> cp ./html/* /var/www/html/serweb -R*<br>> * edit these lines in */etc/php.ini*<br>> and change short_open_tag = Off" to "On"<br>> and change register_globals = Off" to "On"<br>> *<br>> Create these files as part of the serweb module.<br>> vi /var/www/html/serweb/prolog.html<br>> </http:></http:><h1>AARNet SER SIP Server</h1><br>> <br>> vi /var/www/html/serweb/separator.html<br>> <hr><br>> <br>> vi /var/www/html/serweb/epilog.html<br>> <h1>End of page text</h1><br>> * ALL the files that follw are with respect to /var/www/html/serweb<br>> cd /var/www/html/serweb<br>> <br>> * edit these lines in ./config.php<br>> <br>> In general replace all 192.168.2.16 with 192.94.63.28<br>> <br>> #If you have changed the mysql username, dbname or password you<br>> need to change
these:<br>> $this->db_name="ser"; //database name<br>> $this->db_user="ser"; //database conection user<br>> $this->db_pass="heslo"; //database conection password<br>> # NOTE: The above relate to the mysql database, see<br>> /usr/sbin/ser_mysql.sh.<br>> <br>> $this->root_path="/serweb/";<br>> #The above must match where the serweb html directory is put<br>> <br>> this->user_pages_path = this->root_path."user*_interface*/";<br>> <br>> $this->prolog="/serweb/prolog.html";<br>> $this->separator="/serweb/separator.html";<br>> $this->epilog="/serweb/epilog.html";<br>> # /* email address for questions concerning registration */<br>> <br>> $this->root_uri.$this->root_path."user*_interface*/my_account.php?#session#\n\n".<br>>
$this->root_uri.$this->root_path."user_*interface*/reg/confirmation.php?nr=#confirm#\n\n".<br>> <br>> <br>> # There is heaps more to customise in this file which we will<br>> leave to the user. These include more email references<br>> # and text used in emails to users who register. Here are some<br>> example which do not need to be changed for this tutorial:<br>> $this->mail_header_from="Stephen.Kingham@aarnet.edu.au";<br>> $this->web_contact="sip:Stephen.Kingham@aarnet.edu.au";<br>> $this->title="The AARNet IP Telephony Site";<br>> $this->infomail = "Stephen.Kingham@aarnet.edu.au";<br>> $this->regmail = "Stephen.Kingham@aarnet.edu.au";<br>> <br>> <br>> * Edit /var/www/phplib/db_mysql.inc<br>> # You need to add the following to /* public: connection parameters */<br>> var $Host = "192.94.63.28";<br>> var $Database =
"ser";<br>> var $User = "ser";<br>> var $Password = "heslo";<br>> <br>> The follwoing changes can be applied two ways:<br>> 1. Get and extract this tar file <br>> get the file fixupserwebphp.tar <br>> <http:> <br>> from this server<br>> put it in the directory /usr/local/src/ser<br>> issue these commands<br>> cd /var/www/html/serweb<br>> tar -xvf fixupserwebphp.tar<br>> *OR* <br>> 2. Manualy make all these changes <br>> Generaly you have to add "../" to all these files so that they point <br>> correctly to where the phplib is.<br>> <br>> *<br>> Edit ./admin/prepend.php<br>> # change $_PHPLIB["libdir"] = "*../*../../phplib/";<br>> * Edit ./user_interface/prepend.php<br>> # change $_PHPLIB["libdir"] = "*../*../../phplib/";<br>> * Edit ./user_interface/reg/prepend.php<br>> # change $_PHPLIB["libdir"] = "*../*../../../phplib/";<br>> * Edit
./admin/acl.php<br>> # change require "*../*../../phplib/oohforms.inc";<br>> * Edit ./admin/index.php<br>> # require "*../*../../../phplib/oohforms.inc";<br>> * Edit ./admin/users.php<br>> # require "*../*../../../phplib/oohforms.inc";<br>> * Edit ./user_interface/accounting.php<br>> # require "*../*../../../phplib/oohforms.inc";<br>> * Edit ./user_interface/find_user.php<br>> # require "*../*../../../phplib/oohforms.inc";<br>> * Edit ./user_interface/index.php<br>> # require "*../*../../phplib/oohforms.inc";<br>> * Edit ./user_interface/missed_calls.php<br>> # require "*../*../../phplib/oohforms.inc";<br>> * Edit ./user_interface/my_account.php<br>> # require "*../*../../phplib/oohforms.inc";<br>> * Edit ./user_interface/phonebook.php<br>> # require "*../*../../phplib/oohforms.inc";<br>> * Edit ./user_interface/send_im.php<br>>
# require "*../*../../phplib/oohforms.inc";<br>> * Edit ./user_interface/notification_subscription.php<br>> # require "*../*../../phplib/oohforms.inc";<br>> * Edit ./user_interface/reg/finish.php<br>> # require "*../*../../../phplib/oohforms.inc";<br>> * Edit ./user_interface/reg/get_pass.php<br>> # require "*../*../../../phplib/oohforms.inc";<br>> * Edit ./user_interface/reg/index.php<br>> # require "*../*../../../phplib/oohforms.inc";<br>> <br>> <br>> LAST STEP: START APACHE<br>> /etc/rc.d/init.d/httpd start<br>> <br>> Plz, help me about that....<br>> Best regards<br>> <br>> <br>> <br>> <br>> <br>> */Karel Kozlik <karel @iptel.org="">/* wrote:<br>> <br>> ><br>> > What kind of errors are you facing? Me, I am having trouble finding<br>> > DB.php (this file comes with PEAR).<br>> <br>> Hi,<br>> it seems PEAR is
not installed correctly. Check the 'include_path'<br>> directive in your php.ini if contain path to dir where PEAR is<br>> installled.<br>> <br>> Karel<br>> <br>> <br>> _______________________________________________<br>> Serusers mailing list<br>> serusers@lists.iptel.org<br>> http://lists.iptel.org/mailman/listinfo/serusers<br>> <br>> <br>> ------------------------------------------------------------------------<br>> Yahoo! Messenger with Voice. <br>> <http: //us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/evt="39666/*http://beta.messenger.yahoo.com"> <br>> PC-to-Phone calls for ridiculously low rates.<br></http:></karel></http:></blockquote><br><p>
                <hr size=1>New Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com">Call regular phones from your PC</a> and save big.