Jump to content

rolling_titan

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling
  • Location
    Pune,India

rolling_titan's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Fatal Error still exists. I added extension=mysql.so extension=msql.so extension imap.so extension ldap.so extension odbc.so extension pgsql.so anything to be added in LoadModule of httpd.conf ?
  2. In the php.ini file I found extension =msql.so commented so i uncommented it and also changed the value to mysql.so
  3. Hello all, I have on RH-9 installed apache server, mysql and PHP. I could view the test page via the browser, hence Apache is installed correctly. I could create databases / tables, hence mysql is working fine. Using the vi editor i could create a sample .php file and saved it in the default document root \"/var/www/html\". I could view this file, but when i add a database connection using mysql_connect i get the following error :Call to undefined function: mysql_connect(). In php.ini file i have left the default_port blank. default_socket as /var/lib/mysql/mysql.sock default_host as the server name where LAMP is installed default_user as root default_password as blank. my syntax for db connection is :mysql_connect(\"servername\",\"root\",\"\"); httpd version :httpd-2.0.40-21.5 mysql :MySQL-3.23.51-1 php :php-4.2.2-17.2 php-mysql :php-mysql-4.2.2-17.2
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.