View Full Version : admin password
shdwkat
08-01-2003, 12:19 AM
I setup the server as per the installation instructions.
I really like it however I have encountered a small problem.
It will not acccept any password I try to set up with 'admpass.sh'
when I examine the htpasswd file I see this appeneded to it
'incorrectly built binary which accesses errno, h_errno or
_res directly. Needs to be fixed'
any suggestions
shdwkat
mistwang
08-01-2003, 05:24 PM
Thank you for trying our server.
Can you tell me more information about your system?
Linux or other OS, version of (g)libc?
It is likely because that you use newer version of (g)libc.
The prebuilt php binary is not good.
You can built php binary yourself if you have the environment.
use following commands.
cd php-4.3.1
./configure --enable-fastcgi --with-config-file-path=../conf
make
cp -f sapi/cgi/php [lsws_home]/admin/fcgi-bin/admin_php
cp -f sapi/cgi/php [lsws_home]/fcgi-bin/php
and run admpass.sh again.
If you can not compile php yourself, we can build it for you after we get detail information about your system (if we can setup the same environment).
Best,
mistwang
shdwkat
08-03-2003, 10:34 PM
I am using Red Hat version 9.
I downlaoded the PHP4.3.2 and compiled as per your instructions.
Now I get serice not available.
any new ideas ?
thanks
scott
mistwang
08-04-2003, 07:57 AM
It is documented already :-)
Due to bugs in Fast CGI interface of PHP 4.3.2, it has to be configured with additional option --enable-discard-path, please disregard what is said about this option in its README.FastCGI.
And 4.3.2 does not populate path info correctly, so we still recommend 4.3.1.
We already submit bug reports to php.org.
Best regards,
Mistwang
mistwang
08-04-2003, 11:54 AM
We find a way to fix the "errno" error message in PHP binary, please download our repackaged binary package and try again.
Best Regards,
Mistwang
shdwkat
08-07-2003, 12:06 AM
Thanks for your help !! :D
everything works great now. A very fast web server.
scott[/b]