Author Topic: MYSQL Installation & PHP Configuration  (Read 3091 times)

0 Members and 1 Guest are viewing this topic.

Offline AnilPujaraTopic starter

  • Irregular
  • Posts: 24
    • View Profile
    • http://www.anilpujara.com
MYSQL Installation & PHP Configuration
« on: January 08, 2003, 12:28:41 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?                    

Offline effigy

  • Staff Alumni
  • Freak!
  • *
  • Posts: 7,301
  • Gender: Male
  • We must be the change we wish to see in the world.
    • View Profile
MYSQL Installation & PHP Configuration
« Reply #1 on: January 08, 2003, 02:36:45 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/