Results 1 to 25 of 31
-
03-07-2011, 06:04 PM #1Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
Nginx + PHP-FPM + MySQL on CentOS. Works on 64MB RAM.
Run this:
Code:wget http://freevps.us/downloads/nginx-centos.sh bash nginx-centos.sh
RAM usage:
64 bit OpenVZ VPS:
Code:Total Used Free Kernel: 2048.00M 4.51M 2043.49M Allocate: 256.00M 69.64M 186.36M (128M Guaranteed) Commit: 128.00M 30.46M 97.54M (37.3% of Allocated)
Code:free -m total used free shared buffers cached Mem: 59 54 4 0 1 18 -/+ buffers/cache: 40 18 Swap: 2047 0 2047
Code:total used free shared buffers cached Mem: 246 81 165 0 2 46 -/+ buffers/cache: 32 213 Swap: 0 0 0
-
03-07-2011, 06:56 PM #2WHT Addict
- Join Date
- Jul 2009
- Location
- Tangerang, ID
- Posts
- 168
nice one, will try this shortly after my vps has finished reload
Last edited by lxspcby; 03-07-2011 at 07:00 PM.
-
03-08-2011, 04:31 AM #3Disabled
- Join Date
- Feb 2011
- Posts
- 293
I would try niginx this way.
-
03-09-2011, 08:32 AM #4Disabled
- Join Date
- Feb 2010
- Posts
- 121
how to create mysql database ???
-
03-09-2011, 08:41 AM #5WHT Addict
- Join Date
- Jul 2009
- Location
- Tangerang, ID
- Posts
- 168
-
03-09-2011, 08:43 AM #6Disabled
- Join Date
- Feb 2010
- Posts
- 121
:| that share topic i did not make it
-
03-09-2011, 08:46 AM #7Lord of live chats
- Join Date
- Jul 2009
- Location
- UK
- Posts
- 1,312
Live Chat Support Software for your Business website - IMsupporting.com
-
03-09-2011, 08:46 AM #8WHT Addict
- Join Date
- Jul 2009
- Location
- Tangerang, ID
- Posts
- 168
-
03-09-2011, 10:26 AM #9Disabled
- Join Date
- Feb 2010
- Posts
- 121
-
03-13-2011, 03:54 PM #10Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
nano /etc/nginx/conf.d/smiling-dream.info.conf
and add it to the end of the server_name line before the ; and then run
service nginx reload
-
03-14-2011, 12:26 AM #11Disabled
- Join Date
- Feb 2010
- Posts
- 121
i have been fix it creating another vhost file and config it for same dir
anyway thanks
and if possible give one way to install php 5.2 lots of script yet not capable for 5.3
-
04-08-2011, 05:57 PM #12Web Hosting Master
- Join Date
- Jun 2003
- Location
- California
- Posts
- 2,786
Nice ... I've been playing with this today on a 128MB OpenVZ VPS from BuyVM.
I guess the conf files are in /etc/nginx/conf.d ... is the default.conf file there the main nginx configuration file? The reason I ask is that most of the configuration guides on the 'net say to configure nginx.conf, which I can't seem to find in the usual places cited.
-
04-09-2011, 11:33 PM #13Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
-
04-18-2011, 01:21 AM #14Newbie
- Join Date
- Apr 2011
- Posts
- 28
Cann't install in my fresh install Centos 64 bit. Can you help me?
-
04-18-2011, 02:13 AM #15Newbie
- Join Date
- Apr 2011
- Posts
- 28
Update info :
CentOS release 5.6 (Final) 64 bit
Kernel Version: 2.6.18-194.el5xen
Thanks
-
04-18-2011, 08:12 AM #16Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
I did make some changes last night, and inbetween saving them and testing it you might have downloaded it. Delete the version you downloaded (rm nginx-centos.sh) and download and run it again.
-
04-18-2011, 12:55 PM #17Newbie
- Join Date
- Apr 2011
- Posts
- 28
i downloaded the new version, install everything seem fine, but can't get ngix work with php. I tried edit the nginx.conf and the domain added but useless. Can you check again your script?
-
04-18-2011, 01:02 PM #18Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
did you use the script to create the vhost or edit it manually?
-
04-18-2011, 10:08 PM #19Newbie
- Join Date
- Apr 2011
- Posts
- 28
i use the script, don't work, then try to edit it manually, don't work too
-
04-18-2011, 10:08 PM #20Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
are you getting a error message or is it just sending the php to the browser as a download?
-
04-18-2011, 10:15 PM #21Newbie
- Join Date
- Apr 2011
- Posts
- 28
No error or php file download, just can't access the server via ip or domain (time out or some thing like that, but my server is fine, no down time).
-
04-18-2011, 10:22 PM #22Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
run service nginx start
-
04-18-2011, 10:34 PM #23Newbie
- Join Date
- Apr 2011
- Posts
- 28
nginx is start, I even tried to reboot the server, restart nginx, restart php, checked with other install script work fine
-
04-18-2011, 10:35 PM #24Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
Then it might be iptables. run service iptables stop
-
04-20-2011, 12:36 PM #25Newbie
- Join Date
- Apr 2011
- Posts
- 28
I tried but no success, thanks for your advice, dmmcintyre3.
Similar Threads
-
Install Nginx 0.8.53 +phpmyadmin+mysql+php-fpm+ftp script!
By Ruchirablog in forum Hosting Security and Technology TutorialsReplies: 32Last Post: 08-18-2013, 07:26 AM -
nginx + php-fpm shared hosting
By AltruHost in forum Web HostingReplies: 19Last Post: 03-04-2011, 08:33 AM -
nginx with php-fpm troubles
By whdev in forum Hosting Security and TechnologyReplies: 4Last Post: 04-10-2010, 01:52 PM -
Any dedicated host provider with nginx+php-fpm+mysql support
By hvs69 in forum Dedicated ServerReplies: 2Last Post: 01-15-2010, 02:01 PM -
Apache vs Nginx (mod_php VS php-fpm)
By bostjan in forum Hosting Security and TechnologyReplies: 7Last Post: 06-25-2009, 07:19 AM