Re: [PHP-INSTALL] can't access mysql from a php script

2006-03-22 Thread php
On Thu, 23 Mar 2006, Jahislove wrote: > To: php-install@lists.php.net > From: Jahislove <[EMAIL PROTECTED]> > Subject: Re: [PHP-INSTALL] can't access mysql from a php script > > [EMAIL PROTECTED] a écrit : > > OK, forget the last mail - lets start again. > > > > Does the output from phpinfo() sa

Re: [PHP-INSTALL] can't access mysql from a php script

2006-03-22 Thread Jahislove
[EMAIL PROTECTED] a écrit : OK, forget the last mail - lets start again. Does the output from phpinfo() say you have the mysql module loaded? No there is nothing about mysql in my phpinfo() If yes, you may need to tell php to speak to mysql on the socket that mysql is listening on, so ph

Re: [PHP-INSTALL] can't access mysql from a php script

2006-03-22 Thread php
OK, forget the last mail - lets start again. Does the output from phpinfo() say you have the mysql module loaded? If yes, you may need to tell php to speak to mysql on the socket that mysql is listening on, so php can connect to the mysql database. You may need to alter the following directi

Re: [PHP-INSTALL] can't access mysql from a php script

2006-03-22 Thread Jahislove
Sorry , i don't understand what you mean : i installed php with a NetBSD package: # cd /usr/pkgsrc/www/ap-php # ls -l drwxr-xr-x 2 root wheel 512 Mar 2 19:08 CVS -rw-r--r-- 1 root wheel 368 Nov 4 2004 DESCR -rw-r--r-- 1 root wheel 821 Mar 30 2005 MESSAGE -rw-r--r-- 1 root wheel 90

Re: [PHP-INSTALL] can't access mysql from a php script

2006-03-22 Thread php
remove --without-mysql: You need to explicitly enable mysql like this: ./configure --with-apxs2=/usr/local/apache-2.2.0/bin/apxs' --prefix=/usr/local/php-5.1.2' --with-mysql=shared,/downloads/mysql/bin/mysql-standard-5.0.18-linux-i686' --with-mysqli=shared,/downloads/mysql/bin/mysql-standard-5.0

[PHP-INSTALL] can't access mysql from a php script

2006-03-22 Thread Jahislove
hello all , i am under NetBSD 3.0 and i have installed apache/php/mysql as described on this wiki http://wiki.onetbsd.org/index.php/How_to_install_a_LAMP_Server /usr/pkgsrc/www/apache2 /usr/pkgsrc/databases/mysql5-server /usr/pkgsrc/www/ap-php (Installing the PHP Module for Apache) apache

[PHP-INSTALL] Installing PEAR environment

2006-03-22 Thread Vicki Brown
We were running PHP 4.3.9. I decided to upgrade to 4.4.2. I'm not sure if the messages below signify warnings, errors, or general information I can ignore. Can someone tell me: Was my installation successful or do I have to do something to "fix" PEAR? Installing PEAR environment: /usr/local

RE: [PHP-INSTALL] php make error for (imap support)

2006-03-22 Thread priou alexandre
hi normaly you can compile your php distrib with = --enable-imap when i compile php, i get this option : --enable-so --apxs= --with-gd my imap is compliled before php, with : --with-ld --enable-so ( or --disable-static ) try to compile with so lib ( dynamic lib option of your distrib

RE: [PHP-INSTALL] php make error for (imap support)

2006-03-22 Thread priou alexandre
hi normaly you can compile your php distrib with = --enable-imap when i compile php, i get this option : --- GajendranA <[EMAIL PROTECTED]> a écrit : > > Hi > > I trying to compile php-imap support and installed > c-client (imap-2001). Php > make gives this error. Can anybody help plz? >

[PHP-INSTALL] php make error for (imap support)

2006-03-22 Thread GajendranA
  Hi   I trying to compile php-imap support and installed c-client (imap-2001). Php make gives this error. Can anybody help plz?     usr/bin/ld: /usr/local/include/php-imap/imap-2001/lib/libc-client.a(mail.o): relocation R_X86_64_32 against `a local symbol' can not be used when making