ID:               42822
 User updated by:  chriswhite31 at hotmail dot com
 Reported By:      chriswhite31 at hotmail dot com
 Status:           Open
 Bug Type:         Dynamic loading
 Operating System: Redhat Linux Fedora 5
 PHP Version:      5.2.4
 New Comment:

Ive made the directory unwriteable because i forgot to remove the
exposed link / database.


Previous Comments:
------------------------------------------------------------------------

[2007-10-02 00:06:45] chriswhite31 at hotmail dot com

Description:
------------
Hey, i am trying to run a Scheduled Cron Job using "php --dump (link) >
/dev/null" and i am recieving this error;

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/mysql.ini' - /usr/lib/php/modules/mysql.ini: file
too short in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/php_mysql.dll' -
/usr/lib/php/modules/php_mysql.dll: invalid ELF header in Unknown on
line 0
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
Could not open input file:
http://www.theshadowofevil.com/crons/backupDB.php?StartBackup=normal

PHPInfo():http://www.theshadowofevil.com/phpinfo.php
PHP Version:5.1.6
System hostname:theshadowofevil.com
Operating system:Redhat Linux Fedora 5
Webmin version:1.370

Reproduce code:
---------------
Contents of mysql.ini
; Enable mysql extension module
extension=mysql.so

Contents of php_mysql.dll
MZ

Contents of mysql.so
ELF

Expected result:
----------------
Backup mysql database.
Another script should update mysql database.

Actual result:
--------------
Produces error from the command line.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42822&edit=1

Reply via email to