Also,
On the phpinfo.php
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
ARE MISSING.
When I run a phpinfo.php page I get all my config info
with my php.ini file put in the etc dir i get no mention of the
above mysql info
Thanks for the response.
Ok with php.ini in the ect directory I get a
Call to undefined function: mysql_connect()
Without the php.ini file all my functions fail, because Mandrake
linux has all the latest and greatest apache php and mysql
stuff. so during that build (which doesn't use the php.
[snip]
...please snip replies
[/snip]
Your php.ini should be in /etc/apache/
Once you have it there restart your Apache server.
Now, let's creat a MySQL connection string in a seperate file (not in
the php.ini, which acording to some of the stuff I have read you have
done. Also there should n
I did set my php.ini file in the etc dir and it worked fine.
But there was no mysql listed when I did a phpinfo.php page.
So more specifically, when I ude my php.ini file i have globals
on but mysql_connect failures
When I don't use php.ini files I get globals set to off and
mysql access
in ref
When I remane my php.ini file I get
/var/lib/mysql/mysql.sock
When I take the .old of the the end of my php.ini.old and put in
my etc directory i don't see any mysql stuff listed.
Frank
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> check your mysql.default_socket setting in php.ini
>
> Fra
I can run mysql from a command line.
What I create a connection string using my php.ini file I get
failure. mysql_connect() errors
My connection string code is very simple:
";
$result2 = mysql_list_tables($db_data[0]);
$num_rows2 = mysql_num_rows($result2);
[snip]
I have installed Mandrake Linux and it comes standard with
Apache PHP and MySQL. You can install all these rpms through
the server selectionAnyway.
In my test environment it is function city and of course
register globals were on.
Now I have Taked my PHP.INI-DIST set the globals to o