WebFaction
Community site: login faq
1
1

I have a guide with an semi-automated shell script but I am not sure what to edit to make it compile with PHP-FPM APC and MYSQLnd.

Here is the guide I have for just PHP-FastCGI 5.3.1:

  1. Create a "Custom app listening on port" call it phpstack, note the port number you are assigned.
  2. SSH into the server into the new application directory (~/webapps/phpstack/)
  3. run: wget http://wiki.webfaction.com/attachment/wiki/MiscellaneousFiles/build_php_worker_531.sh?format=raw
  4. Check that the file is executable by running: chmod +x build_php_worker531.sh
  5. Run the script: ./build_php_worker531.sh . PORT_NUMBER
  6. Wait for it to finish building and read the instructions at the end. (This can take 1 to 2 hours to complete.)

Does anyone have any experience with the particular setup I want, or tips to editing the shell script to make it build properly?

asked 05 Dec '10, 12:08

chapel
3124
accept rate: 0%

edited 05 Dec '10, 12:10

This is what I've managed to do so far - it actually installs three different PHPs one of which has FPM but I too would like to get 5.3.3 up-and-running!

(06 Dec '10, 07:16) nevstokes

According to the developers website PHP 5.3.3 is bundeled with PHP-FPM,

http://php-fpm.org/

In our script, you should be able to search and replace '5.3.1' with the correct version, update md5 sums and other shell commands to use the new version and have that package included. It also mentions MySQLnd support.

permanent link

answered 05 Dec '10, 12:34

johns
5.4k312
accept rate: 23%

edited 06 Dec '10, 11:55

seanf
12.2k41836

I guess I am just confused with all the different php flags, should I just replace any fastcgi stuff, and do --enable-fpm?

(05 Dec '10, 19:27) chapel

Basically, I have not built it myself so there may be more that needs to be done.

(05 Dec '10, 20:02) johns

I've started investigating this very topic and have got Nginx and PHP-FPM running. Not yet included APC. Documentation at http://keithkim.org/wiki/Userland

permanent link

answered 28 Nov '12, 21:33

karmakaze
1
accept rate: 0%

edited 28 Nov '12, 22:33

ryans ♦♦
5.0k93360

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262
×9
×6
×2

question asked: 05 Dec '10, 12:08

question was seen: 7,142 times

last updated: 28 Nov '12, 22:33

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM