Results 26 to 34 of 34
-
06-01-2011, 01:24 AM #26Newbie
- Join Date
- Jun 2011
- Posts
- 10
ioncube
Have you tried installing ionCube loader on this configuration?
I followed your guide and Nginx and PHP work great. Thank you! BUT...I can't get ionCube loader to work on this set up.
IonCube loader's wizard says it installed successfully and it's listed in the output from phpinfo() as an installed component, but when trying to view an encoded pages, they're just pure white or read "This encoded file cannot be run. Please run the file ioncube-loader-helper.php for more information." I don't *think* my test files are corrupted.
(Our set ups are identical with one exception. I configured PHP to listen on a unix socket instead of over TCP, based on another guide I read too, which I can share those steps if you're interested to save on the TCP overhead.)
-
06-01-2011, 04:18 PM #27Junior Guru Wannabe
- Join Date
- Oct 2010
- Location
- USA
- Posts
- 53
Honestly I have never used IonCube loader so I will have to test it and get back to you. I've never had the need to run anything but open source unencrypted applications on PHP before.
I doubt the unix sockets would cause the issue but we'll see after I test it. I don't know anything about IonCube. Is there an application you can suggest that I can use to test it with?AltruHost - Our Public Beta has been announced!!! - A webhost on the Rise... Altruism AKA Selflessness AKA The Golden Rule. That is what AltruHost is all about.
http://www.altruhost.com - Like Us on Facebook - Follow Us on Twitter
-
06-01-2011, 07:04 PM #28Newbie
- Join Date
- Jun 2011
- Posts
- 10
I'm not sure what I changed, but I *just* got it working! I used the ioncube loader-wizard.php that comes in the download package over & over many times and lots of trial and error. I must have bungled it up and then eventually ironed out the issues. But it works.
p.s. I keep trying to post my how-to over unix sockets, but the forum won't let me. It keeps saying I need 5 posts to use vb features such as smilies or links. Though I don't have any of either. hmm Maybe I'll just go post 3 more times then come back.
-
06-01-2011, 07:17 PM #29Newbie
- Join Date
- Jun 2011
- Posts
- 10
It thinks my code are links apparently. Even without [ code ] it still blocks it without 5 posts.
-
06-01-2011, 08:08 PM #30Newbie
- Join Date
- Jun 2011
- Posts
- 10
Alright. I went out and made a bunch of posts Got 5 now. Let's try this again.
To connect PHP to nginx over a unix socket, avoiding the TCP overhead and squeezing out every last drop of performance (at least that's the goal), this is what I did:
Paste this within the server block of each vhost file:
Code:# connects nginx & PHP-FPM over unix socket (matches in /etc/php5/fpm/pool.d/www.conf) location ~ .php$ { fastcgi_pass unix:/tmp/php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
Code:sudo nano /etc/php5/fpm/pool.d/www.conf
Code:listen = 127.0.0.1:9000
Code:listen = /tmp/php-fpm.so
(I'm sure you know how to save out of nano. But it caused me so much frustration the first time I tried that I figured it better to mention it for anyone else that comes along.)
Have you tried Varnish too? That's the only other thing I can thing to make it faster. (I've already got APC installed.) I've ready mixed reviews about varnish on nginx, but figure that once I finish the essentials like phpmyadmin, I'll give it a try.
-
06-08-2011, 10:11 AM #31Junior Guru Wannabe
- Join Date
- Sep 2003
- Posts
- 40
thanks, and sudo is not exsit in debian, i think
-
06-08-2011, 07:00 PM #32Newbie
- Join Date
- Jun 2011
- Posts
- 10
Sure it does. I'm on Debian 6.0. But if you're logged in as the root user, you won't need to use sudo. Only if you're logged in using a non-root account.
-
07-24-2011, 12:52 PM #33Temporarily Suspended
- Join Date
- Jul 2011
- Location
- India
- Posts
- 16
well mate am done installing naginx , but am not able to install wordpress , seems some rewrite rule is creating problem i think
-
07-25-2011, 01:01 PM #34Temporarily Suspended
- Join Date
- Jul 2011
- Location
- India
- Posts
- 16
thanks for sharing
Similar Threads
-
nginx + php-fpm shared hosting
By AltruHost in forum Web HostingReplies: 19Last Post: 03-04-2011, 08:33 AM -
nginx and php installation on Debian tutorial
By fb904 in forum Hosting Security and TechnologyReplies: 3Last Post: 07-27-2010, 03:05 PM -
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