HowTo : NginX - The Apache Replacement

How useful is this script/tutorial?


  • Total voters
    59
Thanks for your clarification.

As far as his link to his own page, my understanding is that this should be allowed in direct response to questions. Perhaps I'm wrong. Perhaps he should only post a link in this thread to his advertising post (which is allowed). Or perhaps I'm completely wrong and he shouldn't be allowed to post anything related to his product in this thread. however I'm not going to be the judge of that.

Yep.
But even if it isn't against the rules, its basic etiquette not to spam advertising.
He wasn't answering a question but advertising his product to someone who was providing constructive criticism.
 
I HAVE INSTALL IT now.
how about apache.
should i disable apache ? (how)
 
i recive this error on part 3:

cp: cannot stat `./spawn-fcgi': No such file or directory
 
problem rewrite-ini

Hello,
i got a problem
[root@rd init.d]# /etc/init.d/nginx.php rewrite-init
Could not open input file: rewrite-init
Please tell me how.
Thanks
 
Maybe i will get a quick answer maybe not if not then i will discontinue my licensing of directadmin and go elsewhere

But as many have asked and not been answered i will ask the same.
My server is CentOS with DirectAdmin preinstalled

The following error is in response to this input:

/etc/init.d/nginx start

Warning: Invalid argument supplied for foreach() in /etc/rc.d/init.d/nginx.php on line 229
spawn-fcgi: bind failed: Address already in use
spawn-fcgi: bind failed: Address already in use

This is line 229 in nginx.php:

foreach($apache_main_codeblock as $key => $value) {
$vhost = "";
unset($ip, $port, $domain, $docroot, $log, $php);
foreach($value as $key2 => $value2) {
$vhost .= $value2."\n";
}


Please someone help if they have solved this as i need it like yesterday.

Kind regards

Dj
 
Last edited:
Back
Top