Hi everyone,
I installed the serweb according to the instructions but it doesn't work when i type http://localhost/index.php in the browser. I followed these instructions...
Step by Step Installation of WEBSER on RedHad Fedora Core 1 When the original distribution is installed the directory locations do not match up with the typical apache file locations. These notes document all the changes needed. SUGGESTION: For the Tutorial we should develop a new install TAR so delegates do not spend 30 minutes editing all the files.
Get the TAR, un-tar and place the files in the right directory from SER or from this server
untar tar -xvzf serweb_2004-01-04.tar.gz
change directory to where the files were untared to cd serweb_2004-01-04 Create the directory and move the files there mkdir /var/www/phplib chown root /var/www/phplib chgrp root /var/www/phplib chmod 755 /var/www/phplib cp ./phplib/* /var/www/phplib/ -R
# Move the html files to the DocumentRoot directory mkdir /var/www/html/serweb/ chown apache /var/www/html/serweb/ chgrp root /var/www/html/serweb/ chmod 755 /var/www/html/serweb/ cp ./html/* /var/www/html/serweb -R
edit these lines in /etc/php.ini and change short_open_tag = Off" to "On" and change register_globals = Off" to "On"
Create these files as part of the serweb module. vi /var/www/html/serweb/prolog.html <body><H1>AARNet SER SIP Server</H1>
vi /var/www/html/serweb/separator.html <HR>
vi /var/www/html/serweb/epilog.html <H1>End of page text</H1></BODY>
ALL the files that follw are with respect to /var/www/html/serweb cd /var/www/html/serweb
edit these lines in ./config.php
In general replace all 192.168.2.16 with 192.94.63.28
#If you have changed the mysql username, dbname or password you need to change these: $this->db_name="ser"; //database name $this->db_user="ser"; //database conection user $this->db_pass="heslo"; //database conection password # NOTE: The above relate to the mysql database, see /usr/sbin/ser_mysql.sh.
$this->root_path="/serweb/"; #The above must match where the serweb html directory is put
this->user_pages_path = this->root_path."user_interface/";
$this->prolog="/serweb/prolog.html"; $this->separator="/serweb/separator.html"; $this->epilog="/serweb/epilog.html"; # /* email address for questions concerning registration */
$this->root_uri.$this->root_path."user_interface/my_account.php?#session#\n\n". $this->root_uri.$this->root_path."user_interface/reg/confirmation.php?nr=#confirm#\n\n".
# There is heaps more to customise in this file which we will leave to the user. These include more email references # and text used in emails to users who register. Here are some example which do not need to be changed for this tutorial: $this->mail_header_from="Stephen.Kingham@aarnet.edu.au"; $this->web_contact="sip:Stephen.Kingham@aarnet.edu.au"; $this->title="The AARNet IP Telephony Site"; $this->infomail = "Stephen.Kingham@aarnet.edu.au"; $this->regmail = "Stephen.Kingham@aarnet.edu.au";
Edit /var/www/phplib/db_mysql.inc # You need to add the following to /* public: connection parameters */ var $Host = "192.94.63.28"; var $Database = "ser"; var $User = "ser"; var $Password = "heslo"; The follwoing changes can be applied two ways: 1. Get and extract this tar file get the file fixupserwebphp.tar from this server put it in the directory /usr/local/src/ser issue these commands cd /var/www/html/serweb tar -xvf fixupserwebphp.tar OR 2. Manualy make all these changes Generaly you have to add "../" to all these files so that they point correctly to where the phplib is.
Edit ./admin/prepend.php # change $_PHPLIB["libdir"] = "../../../phplib/";
Edit ./user_interface/prepend.php # change $_PHPLIB["libdir"] = "../../../phplib/"; Edit ./user_interface/reg/prepend.php # change $_PHPLIB["libdir"] = "../../../../phplib/"; Edit ./admin/acl.php # change require "../../../phplib/oohforms.inc"; Edit ./admin/index.php # require "../../../../phplib/oohforms.inc"; Edit ./admin/users.php # require "../../../../phplib/oohforms.inc"; Edit ./user_interface/accounting.php # require "../../../../phplib/oohforms.inc"; Edit ./user_interface/find_user.php # require "../../../../phplib/oohforms.inc"; Edit ./user_interface/index.php # require "../../../phplib/oohforms.inc"; Edit ./user_interface/missed_calls.php # require "../../../phplib/oohforms.inc"; Edit ./user_interface/my_account.php # require "../../../phplib/oohforms.inc"; Edit ./user_interface/phonebook.php # require "../../../phplib/oohforms.inc"; Edit ./user_interface/send_im.php # require "../../../phplib/oohforms.inc"; Edit ./user_interface/notification_subscription.php # require "../../../phplib/oohforms.inc"; Edit ./user_interface/reg/finish.php # require "../../../../phplib/oohforms.inc"; Edit ./user_interface/reg/get_pass.php # require "../../../../phplib/oohforms.inc"; Edit ./user_interface/reg/index.php # require "../../../../phplib/oohforms.inc";
LAST STEP: START APACHE /etc/rc.d/init.d/httpd start
Plz, help me how i can configure it to work.... waiting positive response...
--------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
It depends on what distribution you are instsalling. This manual, that you included in your previous email, is version 0.8.11 or smth like that! I am also trying to install serweb 0.9.4 under FreeBSD now, but unsuccessfully... :((
What kind of errors are you facing? Me, I am having trouble finding DB.php(this file comes with PEAR).
PEAR is installed and the include path is specified... The problem is that there's no DB.php existing in my system... there's DependencyDB.php and that's all
On 4/25/06, Karel Kozlik karel@iptel.org wrote:
What kind of errors are you facing? Me, I am having trouble finding DB.php (this file comes with PEAR).
Hi, it seems PEAR is not installed correctly. Check the 'include_path' directive in your php.ini if contain path to dir where PEAR is installled.
Karel
P.S. - i installed pear from ports (/usr/ports/devel/pear/)
On 4/25/06, Andrey Kouprianov andrey.kouprianov@gmail.com wrote:
PEAR is installed and the include path is specified... The problem is that there's no DB.php existing in my system... there's DependencyDB.php and that's all
On 4/25/06, Karel Kozlik karel@iptel.org wrote:
What kind of errors are you facing? Me, I am having trouble finding DB.php (this file comes with PEAR).
Hi, it seems PEAR is not installed correctly. Check the 'include_path' directive in your php.ini if contain path to dir where PEAR is installled.
Karel
ok, so try write:
pear install db
on your command line. You may also use:
pear list
to see which packages are installed
Karel
Andrey Kouprianov napsal(a):
P.S. - i installed pear from ports (/usr/ports/devel/pear/)
On 4/25/06, Andrey Kouprianov andrey.kouprianov@gmail.com wrote:
PEAR is installed and the include path is specified... The problem is that there's no DB.php existing in my system... there's DependencyDB.php and that's all
On 4/25/06, Karel Kozlik karel@iptel.org wrote:
What kind of errors are you facing? Me, I am having trouble finding DB.php (this file comes with PEAR).
Hi, it seems PEAR is not installed correctly. Check the 'include_path' directive in your php.ini if contain path to dir where PEAR is installled.
Karel
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Thank you =). I also found that FreeBSD has a precious port called pear-DB. Installed it and it worked.
On 4/25/06, Karel Kozlik karel@iptel.org wrote:
ok, so try write:
pear install db
on your command line. You may also use:
pear list
to see which packages are installed
Karel
Andrey Kouprianov napsal(a):
P.S. - i installed pear from ports (/usr/ports/devel/pear/)
On 4/25/06, Andrey Kouprianov andrey.kouprianov@gmail.com wrote:
PEAR is installed and the include path is specified... The problem is that there's no DB.php existing in my system... there's DependencyDB.php and that's all
On 4/25/06, Karel Kozlik karel@iptel.org wrote:
What kind of errors are you facing? Me, I am having trouble finding DB.php (this file comes with PEAR).
Hi, it seems PEAR is not installed correctly. Check the 'include_path' directive in your php.ini if contain path to dir where PEAR is installled.
Karel
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
hi, Folowing packages are installed on my SER box.
Installed packages: =================== Package Version State Archive_Tar 1.1 stable Console_Getopt 1.2 stable DB 1.7.6 stable HTML_Template_IT 1.1 stable HTTP 1.3.5 stable Mail 1.1.4 stable Net_SMTP 1.2.6 stable Net_Socket 1.0.6 stable Net_UserAgent_Detect 2.0.1 stable PEAR 1.3.5 stable XML_Parser 1.2.6 stable XML_RPC 1.2.2 stable
BR, M.f.b
Andrey Kouprianov andrey.kouprianov@gmail.com wrote: Thank you =). I also found that FreeBSD has a precious port called pear-DB. Installed it and it worked.
On 4/25/06, Karel Kozlik wrote:
ok, so try write:
pear install db
on your command line. You may also use:
pear list
to see which packages are installed
Karel
Andrey Kouprianov napsal(a):
P.S. - i installed pear from ports (/usr/ports/devel/pear/)
On 4/25/06, Andrey Kouprianov wrote:
PEAR is installed and the include path is specified... The problem is that there's no DB.php existing in my system... there's DependencyDB.php and that's all
On 4/25/06, Karel Kozlik wrote:
What kind of errors are you facing? Me, I am having trouble finding DB.php (this file comes with PEAR).
Hi, it seems PEAR is not installed correctly. Check the 'include_path' directive in your php.ini if contain path to dir where PEAR is installled.
Karel
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
--------------------------------- How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.