Re: R: [PHP-DB] PHP/Mysql
| From: | Andrey Hristov | Date: | Fri, 30 Nov 2001 15:56:00 +0000 |
| Subject: | Re: R: [PHP-DB] PHP/Mysql | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76219@lists.php.net to get a copy of this message | ||
Set include_path to the place where is your php_mysql.so
and uncomment
extension=php_mysql.so
Regards,
Andrey Hristov
Bye
----- Original Message -----
From: "Riccardi Moreno" <m.riccardi@webtrade.it>
To: "Andrey Hristov" <ahristov@icygen.com>
Cc: <php-db@lists.php.net>
Sent: Friday, November 30, 2001 5:45 PM
Subject: [PHP-DB] R: [PHP-DB] PHP/Mysql
> This is the value:
> ;;;;;;;;;;;;;;;;;;;;;;;;;
> ; Paths and Directories ;
> 3;1H;;;;;;;;;;;;;;;;;;;;;
> include_path = ; UNIX: "/path1:/path2" Windows: "\path1;\path2"
> doc_root = ; the root
> of th
> user_dir = ; the
> directory
> ;upload_tmp_dir = ; temporary directory for HTTP
> uploaded
> upload_max_filesize = 2097152 ; 2 Meg default limit on file uploads
> extension_dir = /usr/lib/apache/php ;
> direct
>
> -----Messaggio originale-----
> Da: Andrey Hristov [mailto:ahristov@icygen.com]
> Inviato: venerdì 30 novembre 2001 16.26
> A: Riccardi Moreno
> Cc: php-general@lists.php.net
> Oggetto: Re: [PHP-DB] PHP/Mysql
>
>
> Fatal error: Call to undefined function: mysql_connect() means to things.
> php is not built with integrated mysql support, or php
> cannot find php_mysql.so on your comp. What is the value of php.ini variable
> include_path or something similar.
>
> Regards,
> Andrey Hristov
> ----- Original Message -----
> From: "Riccardi Moreno" <m.riccardi@webtrade.it>
> To: <php-db@lists.php.net>
> Sent: Friday, November 30, 2001 5:21 PM
> Subject: [PHP-DB] PHP/Mysql
>
>
> > Hello,
> > I've got cobalt raq4 with php(work) and mysql(work) but when I try to
> > connect via mysql_connect() this error happens:
> > Fatal error: Call to undefined function: mysql_connect()
> > This is my php.ini:
> > [MySQL]
> > mysql.allow_persistent = On ; allow or prevent persistent link
> > mysql.max_persistent = -1 ; maximum number of persistent
> > links. -1 means no limit
> > mysql.max_links = -1 ; maximum number of links
> > (persistent+non persistent). -1 means no
> > mysql.default_port = ; default port number for
> > mysql_connect(). If unset,
> > ;
> > mysql_connect() will use the $MYSQL_TCP_PORT, or
> > ; entry in
> > /etc/services, or the compile-time defin
> > ; (in that
> > order). Win32 will only look at MYSQL_P
> > mysql.default_host = ; default host for
> > mysql_connect() (doesn't apply in safe mode)
> > mysql.default_user = ; default user for
> > mysql_connect() (doesn't apply in safe mode)
> > mysql.default_password = ; default password for
> > mysql_connect() (doesn't apply in safe mode)
> > ; Note
> that
> > this is generally a *bad* idea to store
> > ; in this
> > file. *Any* user with PHP access can run
> > ; 'echo
> > cfg_get_var("mysql.default_password")' and
> > ;
> password!
> > And of course, any users with read acc
> > ; file
> will
> > be able to reveal the password as well.
> > And this is my httpd.conf:
> > # Extra Modules
> > #LoadModule php_module
> > #LoadModule php3_modul
> > LoadModule php4_module
> >
> > # because mod_perl lea
> > #LoadModule perl_modul
> >
> > # make sure that this
> > LoadModule ssl_module
> >
> > # Reconstruction of t
> > # (static and shared
> > # [WHENEVER YOU CHANG
> > #ClearModuleList
> >
> > # Extra Modules
> > AddModule mod_php4.c
> > #AddModule mod_php.c
> > #AddModule mod_php3.c
> > #AddModule mod_perl.c
> > #AddModule mod_casp2.c
> > I thing that it's all ok but it doesn't work.
> > Any Ideas?????
> > Hi
> >
> > --------------------------------------------
> >
> > - Moreno Riccardi
> >
> > --------------------------------------------
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>