php problems

Newbie

Verified User
Joined
Dec 4, 2007
Messages
5
Hi,

I just got host with recently installed DirectAdmin. I'm 1st time useing DirectAdmin so it's new for me. When I logined in DirectAdmin I saw an error
"cannot find file: /usr/local/bin/php" how can I fix it?

Thanks
 
It seems like your installation is not complete...

You can try to build PHP yourself by logging into your server as root using SSH and going to /usr/local/directadmin/customapache and running
./build clean
./build update
./build php
Then restart apache and see if the problem still exists.

Regards,
 
It seems like your installation is not complete...

You can try to build PHP yourself by logging into your server as root using SSH and going to /usr/local/directadmin/customapache and running
./build clean
./build update
./build php
Then restart apache and see if the problem still exists.

Regards,

what does command ./build clean do? Will it clean up my server? or delete directadmin files?
 
There is no /usr/local/directadmin/customapache directory.
There're conf/, custombuild/, data/ and scripts/ folders in /usr/local/directadmin/ directory

Add:
looks like it working now, should I resetup my DNS/email/ftp settings in DirectAdmin after I made
./build clean
./build update
./build php

?
 
Last edited:
There is no /usr/local/directadmin/customapache directory.
There're conf/, custombuild/, data/ and scripts/ folders in /usr/local/directadmin/ directory

Then you must have a newer version than me ;) Try the custombuild/ directory...

./build clean
removes all the downloaded files that the build application uses to build PHP and other things.
 
Back
Top