login community 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 Dec 05 '10 at 12:08

chapel's gravatar image

chapel
314

edited Dec 05 '10 at 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!

(Dec 06 '10 at 07:16) nevstokes nevstokes's gravatar image

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

1
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.

answered Dec 05 '10 at 12:34

johns's gravatar image

johns ♦♦
340427

edited Dec 06 '10 at 11:55

seanf's gravatar image

seanf ♦♦
55991220

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

(Dec 05 '10 at 19:27) chapel chapel's gravatar image

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

(Dec 05 '10 at 20:02) johns ♦♦ johns's gravatar image

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

answered Nov 28 '12 at 21:33

karmakaze's gravatar image

karmakaze
1

edited Nov 28 '12 at 22:33

ryans's gravatar image

ryans ♦♦
28161420

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
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

Tags:

×146
×7
×2
×1

Asked: Dec 05 '10 at 12:08

Seen: 1,663 times

Last updated: Nov 28 '12 at 22:33

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited