updating error

uguronur

Verified User
Joined
Mar 18, 2007
Messages
13
Location
Istanbul
Hi all,

I was trying to update apache2 and php5 from apache1.3 and php4. I did everything step by step from directadmin help. after restart services my httpd works but php pages does not showup. some one can tell me why?

Apache 2.2.11
DirectAdmin 1.33.6
Exim 4.67
MySQL 5.0.67

when i restart services i am getting this error..

Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: cannot open shared object file: No such file or directory




regards
 
Last edited:
cd /usr/local/directadmin/custombuild
./build update
./build php d
 
cd /usr/local/directadmin/custombuild
./build update
./build php d

Hi SCSI thanks for helping me.. I tried your command and at the final i got this error..

There was an error while trying to configure php. Check the configure/ap2/configure.php5 file


any idea ?

regards.
 
configure/ap2/configure.php5 include this data:

#!/bin/sh
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-pdo-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-mbstring


and also when i try restart i am getting this:

Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 31 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
 
For a while the site as been solid but I have started getting these errors again randomly over the last couple of weeks. Fix it yo
 
Back
Top