Jump to content


Photo

MYSQL Installation & PHP Configuration


  • Please log in to reply
1 reply to this topic

#1 AnilPujara

AnilPujara
  • Members
  • Pip
  • Newbie
  • 1 posts
  • LocationCA

Posted 08 January 2003 - 05:28 AM

I have downloaded the RPMs for mySQL client & server. PHP & Apache has already been installed & tested and works fine.

After I install mySQL, I test the server by creating and selecting some data from the databases through command line.

I try to run a php script that will access the database and select some statements and insert some data, however access to the database does not work. I get no errors on the PHP page, and I am positivce that there are no syntax errors in the php/sql statements.

There seems to be a problem with the php/mysql setup, that mySQL isn\'t properly configured with php.

I took a look at php configuration file in /etc/php.ini and try to edit the mySQL portion to have the correct parameters, however still I am not able to run the script.

I wrote a simple script that will load phpinfo(); however I am not sure where it is supposed to say whether mySQL is supported or what not?

What should I do?
-----
[br]Anil Pujara
[br]http://www.anilpujara.com
[br]AnilPujara@anilpujara.com

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 08 January 2003 - 07:36 AM

an, i responded to your post under the php section. please do not double post. thanks :shock:
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users