PHP difference between --without-mysql and extension=mysql.so
difference between --without-mysql and extension=mysql.so
-------------------------------------------------------------------------------- When i run php4 -i the output tells me that it is compiled with the configure parameter --without-mysql But i can activate mysql support via the php.ini setting extension=mysql.so and now i can use the mysql_connect() function from a web. app php through apache. But when i run a php script in a terminal the mysql_connect() function is undefined. root@2[www]# php4 test.php Fatal error: Call to undefined function: mysql_connect() in /var/www/test.php on line 3 I guess because of the --without-mysql parameter. Is this the only difference? That i can not run php scripts from the command line and only as web app's from apache? |
All times are GMT -5. The time now is 05:14 AM. |