Page 2 of 2 FirstFirst 12
Results 26 to 33 of 33
  1. #26
    Quote Originally Posted by deepmob View Post
    when I am restarting the lnmp i am getting this error

    http://imagemate.info/image-E885_4D31171D.jpg

    and when I am adding a domain then afer adding I am getting this error on the page

    Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/wwwroot/inc/config.php on line 5
    Could not connect
    Looks like you have added the same domain twice! Did you added your domain name when installing? and added again by command ./vhost.sh ?

    And please run the "Top" command and find out current PID for mysql process and kill it! Then issue lnmp restart command!

    For example if mysql pid value is "5000"
    Issue command "kill 5000" then restart lnmp! It will fix the mysql problem!

  2. #27
    hey bro.

    I had buyed a new vps and I get 2 additional ip

    now I had setup the LNMP if I want to use these ip for different domain then how I can use it.

    one more thing.

    when adding a domain with vhost if I am entering xxxx.com and somebody trying to access the domian with www.xxxx.com then I am getting page cant be displayed.

    and if I am enterting www.xxxx.com while adding domain with vhost then if I try to enter xxxx.com then also getting same error.

    please help me with these.

    thanks

  3. #28
    Quote Originally Posted by drspliff View Post
    Why not provide them as a set of .deb packages instead of a naive 'installer' script?

    And why use the external PDO_MYSQL when it was merged into the PHP mainline (where it has received bugfixes and improvements) and the last update to the pecl module was in 2006?

    It seems like far too much effort to get the same setup which is provided by Debian stable with a few pinned packages with one or two other well maintained package repositories (like the nginx official ppa, dotdeb.org PHP packages etc.)
    You won't catch me installing third party .deb files

  4. #29
    Quote Originally Posted by deepmob View Post
    hey bro.

    I had buyed a new vps and I get 2 additional ip

    now I had setup the LNMP if I want to use these ip for different domain then how I can use it.

    one more thing.

    when adding a domain with vhost if I am entering xxxx.com and somebody trying to access the domian with www.xxxx.com then I am getting page cant be displayed.

    and if I am enterting www.xxxx.com while adding domain with vhost then if I try to enter xxxx.com then also getting same error.

    please help me with these.

    thanks
    Edit your nginx configuration file and add www.domain to the server_name

  5. #30
    This very very good solution

  6. #31
    Join Date
    Jul 2013
    Location
    United Kingdom
    Posts
    23
    I prefer to install everything manually, that way I know what I should be updating and also know where the files are so I can manage them later.

  7. #32
    Quote Originally Posted by teradrop View Post
    I prefer to install everything manually, that way I know what I should be updating and also know where the files are so I can manage them later.
    Same here !
    But thanks for the tutorial anyway

  8. #33
    when will it be compatible with ubuntu or centos?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Install Nginx - PHP-FPM Install: package could not be found
    By minhmeo in forum Hosting Security and Technology
    Replies: 8
    Last Post: 07-29-2010, 11:36 AM
  2. nginx with php-fpm troubles
    By whdev in forum Hosting Security and Technology
    Replies: 4
    Last Post: 04-10-2010, 01:52 PM
  3. Replies: 2
    Last Post: 01-15-2010, 02:01 PM
  4. Apache vs Nginx (mod_php VS php-fpm)
    By bostjan in forum Hosting Security and Technology
    Replies: 7
    Last Post: 06-25-2009, 07:19 AM
  5. nginx quirk on running encrypted script? (running with php-fpm)
    By Darvil in forum Hosting Security and Technology
    Replies: 20
    Last Post: 10-13-2008, 06:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •