July 21st, 2000, 08:25 AM
Ive been trying to install MySql for a long time now following all types Tutorial I could find but... I got it installed to C:MySql and it works fine but I dont seem to get it integrated with php =(!
Im using the phpinfo(); to look for Mysql but its not in the list. ive command linies such as this : ./configure --prefix=/usr/local/mysql
that is supposed to set it up itself.. but ok im a newbie tell me how? PLZ
Im using Win98 Php3 Omnihttpd
mysql ver. 3,22
July 21st, 2000, 09:35 PM
I'm kind of a newbie also but thought I'd throw this your way.
First of all. MySQL has to be installed first for obvious reasons. Then I found this piece in the PHP 3 manual. Should be the same for 4 also. You may need to re-install PHP so it can find the directories to Mysql or maybe there's a way to fix a .ini file???
Enables MySQL support. The parameter to this option is the MySQL install directory and defaults to /usr/local. This is the default installation directory of the MySQL distribution.
See also MySQL Configuration Directives in the configuration file.
MySQL home page
Did you install mysql to the default directory? If so great if not replace DIR with where it's at. Good Luck.
Not sure if this applies to win 98. The / may need to be instead.
Let me know if this helps as I'm interested also. Good Luck.
July 22nd, 2000, 10:26 AM
July 22nd, 2000, 08:26 PM
there is a line in the php.ini file called
that should point to where php is at. there is a .dll in that php folder that mysql needs, i think.
i had this problem and i think that was what solved it. let me know if it doesn't...
does php work fine by itself, just not with mysql??
July 23rd, 2000, 06:19 AM
Thx it works again now =)