php-install Digest 6 Aug 2003 21:37:58 -0000 Issue 1491

Topics (messages 11396 through 11399):

Problems with unixodbc on RedHat 9
        11396 by: Spirovski Bozhidar

runtime error with php-mapscript
        11397 by: D. Scott Davidson

PHP5+Apache 2.0.47
        11398 by: Jorge

installing PHP 4.3.2 on Debian Potato
        11399 by: Michael Taekema

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
have installed freetds and unixODBC on a RedHat 9 box. 
The problem is that i persistently cannot connect to a SQL server. What
seems to be the error???
This is the actual configuration and the tests i performed
 
# /usr/local/freetds/bin/tsql -S MyServer70 -U sa
locale is "en_US.UTF-8"
charset is "UTF-8"
Password: 
Msg 5703, Level 0, State 1, Server ACSSQL, Line 0
Changed language setting to us_english.
 
 
# isql -v MyServer70 sa password
[unixODBC]Client unable to establish connection
[ISQL]ERROR: Could not SQLConnect
 
[EMAIL PROTECTED] etc]# cat /etc/odbcinst.ini 
[PostgreSQL]
Description             = ODBC for PostgreSQL
Driver          = /usr/lib/libodbcpsql.so
Setup           = /usr/lib/libodbcpsqlS.so
FileUsage               = 1
 
[TDS]
Description             = v0.52 with protocol v4.2
Driver          = /usr/local/freetds/lib/libtdsodbc.so
FileUsage               = 1
 
cat /etc/odbc.ini
[MyServer70]
Driver          = TDS
Description             = Northwind sample database
Trace           = No
Servername              = 195.26.152.120
Database                = Northwind
UID             = sa
 
 
Spirovski Bozhidar
System Engineer, MCP, MCSA
MTnet
Orce Nikolov b.b. 1000 Skopje
Macedonia
Phone: +389 2 3296091
Fax: +389 2 3213480
E-mail: [EMAIL PROTECTED]
 

--- End Message ---
--- Begin Message ---
Hello,

I have installed mapserver with php-mapscript on Solaris 2.8 .

I configured mapscript as:

configure --without-tiff --with-proj=/usr/local/lib --with-gdal
--with-wmsclient --with-gd=/usr/lib --with-php=/usr/local/include/php/

When I run the phpinfo_mapscript.php file I get:

Warning: dl(): Unable to load dynamic library 'php_mapscript.so' - ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
php_mapscript.so: symbol gdImageCopyResampled: referenced symbol not found
in /www/htdocs/phpinfo_mapscript.php on line 21


I have enabled ld and got the extension directory set in php.ini

Does anyone know what is wrong here ?



-------------------------------------------------------------------------------

Scott Davidson
USGS/WRD Little Rock, Ar
(501) 228-3636
-------------------------------------------------------------------------------



--- End Message ---
--- Begin Message ---
When u start apache with php5 it give a error message,
http://users.skynet.be/jorge/php5.jpg
Config file:
---------------------------------
##############
#  PHP Conf  #
##############
LoadModule php5_module "C:/server/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

The entry's in my error.log:
---------------------------------
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
[Wed Aug 06 13:48:23 2003] [notice] Parent: Child process exited
successfully.
 in Unknown on line 0
[Wed Aug 06 13:49:29 2003] [warn] pid file
C:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?

Hope this is inuf information? and sry for my poor english.
You can mail me if you need more info

Jorge



--- End Message ---
--- Begin Message ---
Hello.

I am fairly new at linux but am learning fast. Here is my problem.

Specs on box:

166 MHz Dell tower
Debian Potato 2.2.7
Apache 1.3.28

I am trying to install PHP 4.3.2 on this machine and to work with apache.
However the PHP site has nothing for info under their docs section. It just
says find a distro with php already installed. :-s

Anyone know how this can be done manually?

Thank you.



--- End Message ---

Reply via email to