Frank Tudor wrote:
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 d
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.
Frank Tudor wrote:
Yes to the php-mysql rpm,
But listen I think it was the way it built the initial appach
php mysql configurations I don't think the php.ini refects an
accurate setup of my php mysql setup.
Frank
Let's get away from the php.ini for a moment. Being that you did
everything from R
[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
Frank Tudor wrote:
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.
You installed all of this from RPM's, right? Did you install the
php-mysql RPM?
# rpm -q php-mysql
So more specifically, when I ude my php.ini file i hav
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
Frank Tudor wrote:
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:
$link_id = mysql_connect("localhost", "username", "password");
$result = mysql_list_dbs($link_id);
$nu
Frank Tudor wrote:
It worked like a charmbut guess what. I can't create a
connection string to my database. Now I have to find a
solution
to get this website to work with globals on and mysql.
Register globals has nothing to do with making a connection to MySQL.
Post your code for the conne
check your mysql.default_socket setting in php.ini
Frank Tudor wrote:
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:
$link_id = mysql_connect("localhost", "username",
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);
I'm forwarding this from the php-windows group. (I sent it to
both with the hopes someone with information would see this).
> 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
[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
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 on and
c
15 matches
Mail list logo