Problems with php an mysql update

Z4P

Verified User
Joined
Aug 31, 2007
Messages
14
Hey,
I tried to update php, mysql and apache.

I did that with the custombuild script, but i only ran into problems.

When i try to start apache i get this error:

Code:
Stopping httpd:         [ FAILED ]
Starting httpd:         [ OK ]
web01# httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: Undefined symbol "ap_signal"
First i was asking for help here:
http://www.directadmin.com/forum/showthread.php?t=19221&page=8&highlight=php

I did the update but only got problems. When i do ./build mysql i get this at the end:

Code:
Stopping mysqld:                [ FAILED ]
mysql-5.0.45-linux-i686.tar.gz                100% of   75 MB  407 kBps 00m00s
Starting mysqld:                [ OK ]
ELF binary type "0" not known.
./bin/my_print_defaults: 26: Syntax error: "(" unexpected
This script updates all the mysql privilege tables to be usable by
the current version of MySQL

ELF binary type "0" not known.
Got a failure from command:
cat /usr/local/mysql/share/mysql_fix_privilege_tables.sql | /usr/local/mysql/bin/mysql --no-defaults --force --user=da_admin --host=localhost --database=mysql
Please check the above output and try again.

Running the script with the --verbose option may give you some information
of what went wrong.

If you get an 'Access denied' error, you should run this script again and
give the MySQL root user password as an argument with the --password= option
cp: directory /usr/lib/mysql does not exist
web01# ELF binary type "0" not known.
./bin/my_print_defaults: 26: Syntax error: "(" unexpected
ELF binary type "0" not known.
./bin/my_print_defaults: 26: Syntax error: "(" unexpected
ELF binary type "0" not known.

web01# ps waux | grep mysql
root     10547  0.0  0.0  1592   940  p0  S+    4:17PM   0:00.00 grep mysql
And this when i ran ./buil php n

Code:
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
any ideas how i can get it working?
 
Last edited:
Top