update PHP5 and Python not working

Raccoon

New member
Joined
Nov 18, 2006
Messages
2
Hi, sorry I'm kind of new to using Direct Admin and SSH but I was wondering if someone could show me a way that worked for them to update PHP4 to PHP5 and also install Python 2.4. I've found a few ways on google but I keep getting errors at the end of them. My server is Unix by the way.

EDIT: I believe I have found out how to install Python and get around that error. I still Need help with PHP though. So if someone could show me the SSH commands to update to php 5.2.0 from 4.4.4 that would be great. Thanks.
 
Last edited:
I must have forgotten to add that link, but I did mean to say i did see that and tried it, got an error, and server crashed.

Im gettting


Found /usr/local/directadmin/customapache/php-5.2.0.tar.gz
Extracting ...
Done.
Configuring php-5.2.0...
Can't open /usr/local/directadmin/customapache/configure.php_ap2: No such file o r directory.
./build: line 548: /usr/local/directadmin/customapache/configure.php_ap2: No suc h file or directory

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


OH and after this happen the server completly crashes and I cannot access SSH to restart it and must contact my host.
 
Last edited:
I assume you were using "./build php_ap2" while php_ap2 is only for Apache 2.

and I highly doubt that your server was not crashed by the the build script. The script just could not find configure.php_ap2, I dont thk this would crash a server.

This guild maybe a bit more detail:
http://help.directadmin.com/item.php?id=135
 
Back
Top