Hi everybody, I can not use properly mysql on php web pages. It always gives me strage errors and I think it's related to my amp configuration. Everything goes smooth when I program under mysql itself and when I create web pages in php with the support of Apache. I have follow this guide:
http://www.linuxquestions.org/questi...icle&artid=456
I installed amp with these packages from linuxpackages.net:
apache2-2.0.54
mysql-5.1.14
php-apache2-5.0.4
t1lib-5.1.0
the kernel installed is 2.6.12.5
the error log of apache is:
[Tue Nov 01 20:15:23 2005] [notice] Apache/2.0.54 (Unix) DAV/2 PHP/5.0.4 configured -- resuming normal operations
[Tue Nov 01 20:17:52 2005] [notice] caught SIGTERM, shutting down
[Tue Nov 01 20:34:57 2005] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 01 20:34:57 2005] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/imap.so' - /usr/lib/php/extensions/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/ldap.so' - libldap-2.3.so.0: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mcrypt.so' - libmcrypt.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/odbc.so' - libodbc.so.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/pgsql.so' - libpq.so.3: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/snmp.so' - libnetsnmp.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.12: cannot open shared object file: No such file or directory in Unknown on line 0
[Tue Nov 01 20:34:59 2005] [notice] Apache/2.0.54 (Unix) DAV/2 PHP/5.0.4 configured -- resuming normal operations [client 127.0.0.1] PHP Notice: Undefined variable: aid in /var/www/htdocs/php-nuke/admin.php on line 16
[client 127.0.0.1] PHP Notice: Undefined variable: HTTP_SERVER_VARS in /var/www/htdocs/php-nuke/mainfile.php on line 47
[client 127.0.0.1] PHP Notice: import_request_variables() [<a href='function.import-request-variables'>function.import-request-variables</a>]: No prefix specified - possible security hazard in /var/www/htdocs/php-nuke/mainfile.php on line 64
[client 127.0.0.1] PHP Notice: Undefined variable: HTTP_SERVER_VARS in /var/www/htdocs/php-nuke/mainfile.php on line 47
[client 127.0.0.1] PHP Notice: import_request_variables() [<a href='function.import-request-variables'>function.import-request-variables</a>]: No prefix specified - possible security hazard in /var/www/htdocs/php-nuke/mainfile.php on line 64