New Install: Cannot find /usr/local/bin/php. Please recompile php with custombuild

chun1617

Verified User
Joined
Oct 7, 2009
Messages
14
When i have going the new install, i get the following error msg:
=======================================================
Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d
=======================================================

I have following the description but i get the error msg again:
=======================================================
[root@node0226 local]# cd /usr/local/directadmin/custombuild
-bash: cd: /usr/local/directadmin/custombuild: No such file or directory
[root@node0226 local]# /build php n
-bash: /build: No such file or directory
=======================================================
 
it requires a . infront of /build

./build

NOT

/build

Code:
cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build update
./build all d
 
Last edited:
run the com"./build all d" have follow error:


checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
 
When I run ./build mysql , i get the error again:

[root@node0226 custombuild]# ./build mysql
You can not install MySQL, because you do not have it set in options.conf file.
 
Code:
cd /usr/local/directadmin/custombuild
./build set mysql_inst yes
./build set mysql 5.1
 
I have the same problem. I've tried many times from a clean server, following the same installation routine I used installing all our other servers. After running setup.sh the servers work fine.

But the past 4 days I've had nothing but "Cannot find /usr/local/bin/php" at the end of the installation. Also none of the webmail programs get installed, which usually does happen.

Sure, I can go back to custombuild and install php, suphp, squirrelmail, roundcube and atmail but I can't install uebimiau. It just won't. You type in
./build uebimiau

and after a few seconds you get back to the prompt without anything happening.

What's going on then?
 
Back
Top