By using the --with-mysql By using the --with-mysql configuration option you enable PHP to access MySQL databases . With PHP4 MySQL support is always enabled ; if you don 't specify the configure option , the bundled libraries are used .
The behaviour of the MySQL functions is affected by settings in the global configuration file php.ini .
טבלה 1 .
Wether to allow persistent connections to MySQL .
The first one is the link identifier for a database connection , the second a resource which helds the result of a query .
טבלה 2 .
דוגמה 1 .