jacekosuchowski
12-05-2000, 09:49 PM
These are the steps I used to install Apache Web Server (Secure) with PHP3 with MSSQL support. (PHP4 did not work correctly - some functions were messed up)
1. Install RH6.1 - GNOME Workstation.
2. Install Apache Server RPMs:
secureweb-3.1-1
secureweb-devel-3.1-1
3. Install Sybase RPMs:
sybase-ase-11_0_3_3-6_i386.rpm
sybase-ossd-10_0_4-6_i386.rpm
4. Configure Sybase:
run '/opt/sybase/install/sybinstall.sh'
add SQL server name to the '/etc/hosts' file
run '/opt/sybase/install/sybinit' to create 'interfaces' file
select opt 2 - "Edit / View Interfaces File"
select opt 1 - "Add a new entry"
select opt 1 - "Server name"
- enter the SQL server name you have entered into the '/etc/hosts' file
Ctrl-A to accept
select opt 3 - "Add a new listener service"
select opt 1 - "Hostname/Address"
- enter the SQL server name you have entered into the '/etc/hosts' file
select opt 2 - "Port"
- enter '1433'
Ctrl-A to accept , confirm if correct
Ctrl-A to accept , confirm to write to interfaces file
Ctrl-A twice to exit the program
test your SQL connection by running '/opt/sybase/bin/isql'
5. Get PHP3 tar 'php-3.0.16.tar' and extract it.
Configure and compile PHP:
run 'configure --with-apxs --with-sybase=/opt/sybase'
run 'make'
run 'make install'
6. Modify your Apache config files:
In 'httpd.conf' file:
modify 'LoadModule php3_module' to point to correct path
1. Install RH6.1 - GNOME Workstation.
2. Install Apache Server RPMs:
secureweb-3.1-1
secureweb-devel-3.1-1
3. Install Sybase RPMs:
sybase-ase-11_0_3_3-6_i386.rpm
sybase-ossd-10_0_4-6_i386.rpm
4. Configure Sybase:
run '/opt/sybase/install/sybinstall.sh'
add SQL server name to the '/etc/hosts' file
run '/opt/sybase/install/sybinit' to create 'interfaces' file
select opt 2 - "Edit / View Interfaces File"
select opt 1 - "Add a new entry"
select opt 1 - "Server name"
- enter the SQL server name you have entered into the '/etc/hosts' file
Ctrl-A to accept
select opt 3 - "Add a new listener service"
select opt 1 - "Hostname/Address"
- enter the SQL server name you have entered into the '/etc/hosts' file
select opt 2 - "Port"
- enter '1433'
Ctrl-A to accept , confirm if correct
Ctrl-A to accept , confirm to write to interfaces file
Ctrl-A twice to exit the program
test your SQL connection by running '/opt/sybase/bin/isql'
5. Get PHP3 tar 'php-3.0.16.tar' and extract it.
Configure and compile PHP:
run 'configure --with-apxs --with-sybase=/opt/sybase'
run 'make'
run 'make install'
6. Modify your Apache config files:
In 'httpd.conf' file:
modify 'LoadModule php3_module' to point to correct path