Install problem on DEBIAN 3.1

pug123

Verified User
Joined
Feb 5, 2006
Messages
54
Location
Poland
Hello!

When I install DA on Debian 3.1 (on Centos is ok) everything seems to be ok but when I login to panel as admin I see in extra features statement:

cannot find file: /usr/local/bin/php

Why?

thank you for your help
 
Try compiling php to see why it didn't compile:
Code:
cd /usr/local/directadmin/customapache
./build clean
./build php n
Past the last page of output if the compile fails.

John
 
escuse me to bump the topic I have the same problem and tells me this

Code:
Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of apxs follows:
./configure: line 6669: apxs: command not found
configure: error: Aborting

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

configure.php5 :

Code:
#!/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/local/mysql \
	--with-mysqli=/usr/local/mysql/bin/mysql_config \
	--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
 
Back
Top