Date: 11/30/01
- Next message: Craig Vincent: "Re: [PHP-DB] How to update all the column types in a table..."
- Previous message: Paul Warner: "Re: [PHP-DB] PHP/Mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>]
Inviato: venerd́ 30 novembre 2001 16.26
A: Riccardi Moreno
Cc: php-general <email protected>
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 <email protected>>
To: <php-db <email protected>>
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 <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Craig Vincent: "Re: [PHP-DB] How to update all the column types in a table..."
- Previous message: Paul Warner: "Re: [PHP-DB] PHP/Mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

