502 Bad Gateway
-
tried all the tips mentions in the forum.
try to install php-fpm manually.
getting the following error.code010-09-06 19:32:25 (20.6 MB/s) - `php-fpm-0.6~5.3.0.tar.gz' saved [387857/387857]root@mail ~: tar -xzf php-fpm-0.6~$PHP_VER.tar.gz
root@mail ~: php-fpm-0.6-$PHP_VER/generate-fpm-patch
root@mail ~: wget "http://us.php.net/get/php-$PHP_VER.tar.bz2/from/us.php.net/mirror"
--2010-09-06 19:32:25-- http://us.php.net/get/php-5.3.0.tar.bz2/from/us.php.net/mirror
Resolving us.php.net... 208.69.120.58
Connecting to us.php.net|208.69.120.58|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://us.php.net/distributions/php-5.3.0.tar.bz2 [following]
--2010-09-06 19:32:26-- http://us.php.net/distributions/php-5.3.0.tar.bz2
Connecting to us.php.net|208.69.120.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10097840 (9.6M) [application/octet-stream]
Saving to: `mirror'100%[=====================================================>] 10,097,840 632K/s in 16s
2010-09-06 19:32:42 (605 KB/s) - `mirror' saved [10097840/10097840]
root@mail ~: bzip2 -cd php-$PHP_VER.tar.bz2 | tar xf -
bzip2: Can't open input file php-5.3.0.tar.bz2: No such file or directory.
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
root@mail ~: patch -d php-$PHP_VER -p1 <fpm.patch
patch: **** Can't change to directory php-5.3.0 : No such file or directory
root@mail ~: cd php-$PHP_VER
-bash: cd: php-5.3.0: No such file or directory
root@mail ~: ./buildconf --force
-bash: ./buildconf: No such file or directory
root@mail ~: mkdir /etc/php
mkdir: cannot create directory/etc/php': File existscode`Please someone help me to get my server running.
Thank you.
Posted 1 year ago # -
hey Rahulin .. the old PHP-FPM compilation patch is now obsolete, script largely changed now to reflect it being in PHP's core .. PHP is installed using modules with this script, so easily maintained as well.
http://vpsbible.com/vps-setup-guides/stackscripts/lemp-stack-lite-ubuntu-32bit-php-fpm/
Posted 1 year ago # -
Will you update the Debian 5 script for this as well?
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
