Skin doesn't parse PHP

ReneDx

Verified User
Joined
Feb 28, 2007
Messages
20
Hello,

I got one problem since a hour or 2. I just was give me scripting a big update, so i needed DirectAdmin for a simple new DB. I was login in to Directadmin and was looking like; :eek: WTF!?

I got this strange things:
..

I know its something with the PHP parsing of the Directadmin FILE, but i coldn't find the correct file. Now is my qeustion, how can i fix this without re-installing?

Thank you,
René.
 
Last edited:
Are you running /usr/local/bin/php as cgi or cli? You can't have PHP as CGI in /usr/local/bin/php.
 
Just reinstall your PHP :) Go to /usr/local/directadmin/customapache and use: ./build php n
 
If i use that command it gives me this error:

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

The configure file source:
#!/bin/sh
./configure \
--with-apxs \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-gd \
--with-gd-dir=/usr/local \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--with-imap=/usr/local/imap-2004g \
--with-openssl \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit

Nevermind, i use Apache 2, so i needed; --with-apxs2 \
 
Last edited:
Thank you, i'm not that good with Directadmin (i always use Plesk).

Thank you again, it works.
 
Back
Top