Re: mysql in php (no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Wentworth pise:
> when trying to get a mysql database to work with mysql
> which is working and full of data
> with a simple statement like this
> $db = mysql_connect("localhost", "root");
> mysql_select_db("jamdb",$db);
> Fatal error: Call to undefined function: mysql_connect() in 
> /var/www/html/mysql.php on line 13
> I seems something is wrong with the php installation
> so I tried to recompile php as a dynamic module since
> apache in 8.0 is compiled with support for dynamic modules
> but I get a error that it can't find apxs
> does anyone know anything about this problem in redhat 8.0
> any suggestions
> detailed instructions would be a help I'm new to mysql and php
	Install the php-mysql package, then take a look at the file
/etc/php.ini, uncomment the line in containing
extension=mysql.so
and set apropriate parameters in section
[MySQL]
The last thing might be unnecessary.

-- 

--Zdenek Pytela, <letty@mrakoplas.phil.muni.cz>



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux