php-install Digest 9 Aug 2003 02:01:46 -0000 Issue 1494
Topics (messages 11403 through 11409):
Error Configuring freetds with php
11403 by: Dipesh Khacharia
Call to undefined function: mysql_connect()
11404 by: Samuel Gessner
11405 by: Samuel Gessner
PHP install problem on Apache2
11406 by: Maciej Wiznerowicz
11408 by: Maciej Wiznerowicz
Help with install on macOSX 10.2
11407 by: Roland Swingler
compiling extension modules on Red Hat 7.3
11409 by: Yuval Levy
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 ---
Hi,
I am Dipesh from BG Broadband, India. I am working on linux-php. I am
trying to configure freetds with php, but it does not allow me to connect to
mssql server 2000.
The problem is not related to login. I can ping the server.Using command
'tsql' i can connect to the database. So the problem must be with the
configuration of freetds with php. It doesn't work with perl too.
tsql -H "host" -p 1433 -U dips
worked
I have tried various version of freetds like 0.53 and also 0.61.
I have to use version 0.53 only but I just tried 0.61 so please give
solution regarding this version only.
With 0.53 I am getting error as
connect: Connection refused
DB-Library: Login incorrect
With 0.61 I am getting error as
src/tds/login.c: tds_connect: 172.16.3.36:4000: Connection refused
I have configured freetds with the following options
./configure --prefix=/usr/local/freetds0.53 --with-tdsver=7 --enable-msdblib
make
make install
Also I have configred PHP with the following options
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-sybase=/usr/local/freetds0.53/' '--with-odbc' '--with-mysql'
'--with-ldap' '--with-pgsql'
'--with-oci8=/home/oracle/m01/app/oracle/product/8.1.7/' '--with-gbdm'
'--enable-dbase' '--enable-calendar' '--enable-bcmath' '--enable-filepro'
'--enable-track-vars' '--enable-force-cgi-redirect'
make
make install
Then I copied the php.ini-dist file to /usr/local/lib/php.ini and then
restarted apache.
But I can't connect to it and the above error was shown.
So please help me and thanx in advance.
Suggestions are appreciated...............
Regards,
Dipesh
BG Broadband, India
--- End Message ---
--- Begin Message ---
Hi there,
My php seems ill configured : I get ...
Call to undefined function: mysql_connect()
My server is : Apache/2.0.40 (Red Hat Linux)
My php version : php-4.2.2
phpinfo gives as configure options :
--with-mysql=shared,/usr
--with-apxs2=/usr/sbin/apxs
...and many others
Several questions :
- does apxs2 really work already with php-4.2.2 ?
- if not, how do I "uninstall" php-4.2.2 and install a more recent php ?
- could it work right just by configuring : --with-mysql (without any path) ?
Thank you very much in advance ...
Samuel Gessner
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi there,
My php seems ill configured : I get ...
Call to undefined function: mysql_connect()
My server is : Apache/2.0.40 (Red Hat Linux)
My php version : php-4.2.2
phpinfo gives as configure options :
--with-mysql=shared,/usr
--with-apxs2=/usr/sbin/apxs
...and many others
Several questions :
- does apxs2 really work already with php-4.2.2 ?
- if not, how do I "uninstall" php-4.2.2 and install a more recent php ?
- could it work right just by configuring : --with-mysql (without any path) ?
Thank you very much in advance ...
Samuel Gessner
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi,
I tried to instal PHP on Apache2 (installed itself with./configure
--enable-so ) and got the following error during make
I am using MacOSX 10.2.6
Should I delete repetitive files?
I would appreciate any help
ld: warning multiple definitions of symbol _pcre_free
ext/pcre/pcrelib/pcre.o definition of _pcre_free in section
(__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_free
ld: warning multiple definitions of symbol _pcre_fullinfo
ext/pcre/pcrelib/pcre.o definition of _pcre_fullinfo in section
(__TEXT,__text)
/usr/local/apache2/bin/httpd definition of _pcre_fullinfo
ld: warning multiple definitions of symbol _pcre_malloc
ext/pcre/pcrelib/pcre.o definition of _pcre_malloc in section
(__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_malloc
ld: warning multiple definitions of symbol _regcomp
/usr/local/apache2/bin/httpd definition of _regcomp
/usr/lib/libm.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
/usr/local/apache2/bin/httpd definition of _regexec
/usr/lib/libm.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
/usr/local/apache2/bin/httpd definition of _regfree
/usr/lib/libm.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_php_ob_gzhandler_check
make: *** [libs/libphp4.bundle] Error 1
************************************************
Maciej Wiznerowicz MD, PhD
Dpt of Genetics and Microbiology
Faculty of Medecine at University of Geneva
Rue Michel Servet 1, CH-1211 Geneva
Switzerland
Tel. +41-22-3795717
Fax +41-22-3795702
--- End Message ---
--- Begin Message ---
Hi,
I tried to instal PHP on Apache2 (installed itself with./configure
--enable-so ) and got the following error during make
I am using MacOSX 10.2.6
Should I delete repetitive files?
I would appreciate any help
ld: warning multiple definitions of symbol _pcre_free
ext/pcre/pcrelib/pcre.o definition of _pcre_free in section
(__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_free
ld: warning multiple definitions of symbol _pcre_fullinfo
ext/pcre/pcrelib/pcre.o definition of _pcre_fullinfo in section
(__TEXT,__text)
/usr/local/apache2/bin/httpd definition of _pcre_fullinfo
ld: warning multiple definitions of symbol _pcre_malloc
ext/pcre/pcrelib/pcre.o definition of _pcre_malloc in section
(__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_malloc
ld: warning multiple definitions of symbol _regcomp
/usr/local/apache2/bin/httpd definition of _regcomp
/usr/lib/libm.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
/usr/local/apache2/bin/httpd definition of _regexec
/usr/lib/libm.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
/usr/local/apache2/bin/httpd definition of _regfree
/usr/lib/libm.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_php_ob_gzhandler_check
make: *** [libs/libphp4.bundle] Error 1
************************************************
Maciej Wiznerowicz MD, PhD
Dpt of Genetics and Microbiology
Faculty of Medecine at University of Geneva
Rue Michel Servet 1, CH-1211 Geneva
Switzerland
Tel. +41-22-3795717
Fax +41-22-3795702
--- End Message ---
--- Begin Message ---
Having problems installing php.
Have installed the binary version from www.entropy.ch. I have changed the httpd.conf
file to uncomment the load and add module, and added the addtype bit. However it still
doesn't work, when i try <?php phpinfo() ?> i get:
Warning: Failed opening '/Library/WebServer/Documents/test.php' for inclusion
(include_path='.:/usr/lib/php') in Unknown on line 0
What is going wrong and what do I need to do to get php running?
thanks in advance
roland
___________________________________________________
What is the largest joint in the human body?
Find out at postmaster.co.uk
http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=205
--- End Message ---
--- Begin Message ---
Good day
I am trying to create a self-contained php extension (as in README.SELF-
CONTAINED-EXTENSIONS).
My box is a standard redhat 7.3 with all updates applied.
After copying the module directory, when running
$phpize
the following error messages appear:
$ phpize
aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never
used
aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used
You should update your `aclocal.m4' by running aclocal.
running aclocal returns the same error messages.
I tried to search the archive but found nothing about this. Sorry if the
question is old - I am a newbie.
Details about my box: Pentium III, Red Hat 7.3
php-4.1.2-7.3.6
autoconf-2.13-17
automake-1.4p5-4
libtool-1.4.2-7
m4-1.4.1-7
I am thankful for any hint.
Yuval Levy
--- End Message ---