Jump to content
The Uniform Server Community

Yoni

Support Team
  • Posts

    96
  • Joined

  • Last visited

Posts posted by Yoni

  1. The faulty php5ts.dll module warning will no go away. Here are two things that will certainly keep your apache running even when the php5ts.dll address violation won't go away:

     

    1- Open you apache config file (./core/apache2/conf/httpd.conf) and add the following lines in there somewhere:

     

    AcceptFilter http none
    AcceptFilter https none
    EnableSendfile Off
    EnableMMAP off
    You can put them before your modules list if you need a reference.
    Open Uniserver Server Console and type ' httpd_z -t ' to test configuration before restarting apache. If everything looks good, go ahead an give the service a restart.
    2- Copy the php5ts.dll from the active PHP folder into %SystemRoot%\system32 folder.
    I've been serving @6GB worth of daily data with Uniserver in production on a Server 2008R2 rock solid for the most part. #1 Did the trick for me.
  2. Hi Mike,

     

    I think you are either confusing yourself here or you are mixing up things in a not so productive way. If you are talking about Web PI as in Microsoft Web Platform, you do not need to use Microsoft Web Platform for anything if you are running UniServer. Simply download Wordpress from their website, extract it to the location where it will be running in your UniServer and browse to it to start setting it up.

  3. Just wanted to share with you guys that Coral 8.7.2 is broken under Server 2008 R2. The service installs but it fails to start.

     

    I have solved the problem by running nssm. It runs the .vbs as a service and that works for me :)

     

    UniServer keeps getting better and better. I luv it!

  4. I install forum VBB, but VBB require eAccelerator upgrade to 0.9.3 or newer. How to upgrade eAccelerator. I try download new version uniformserver to install vbb, but i got more error can not install this. So i want to use old version of uniformserver (7.0.9 Orion) to install vbb.

    eAccelerator 0.9.6.1

     

    Give me about an hour and i will give you a download link.

  5. First of all I am a tad confused, I have to Apache logs which are www.my-domain.com-access.log and access.log. The access log for my domain has the odd bot connecting to it but access.log has loads of IP's mainly from Russia & China and a few form the USA with things like...

    I guess they are looking for particular versions of phpMyAdmin so they can exploit a security hole. Also how come both access are being used and is there an htaccess code I can add to block entire IP ranges? It would be good to have a custom redirect too.

     

    Supposedly this is an IP from Delafield, WI, US. I've seen the same script ran against my server. I've banned the IP from accessing my servers.

     

    You should be fine though... They are looking for phpmyadmin that's why you always want to keep it inaccessible from the outside. You can VPN into your network and work in phpmyadmin if necessary or just work with it locally.

     

    Get used to it. These scripts are more common than what you may think. Even though you certainly want to block repeated offenders if possible.

  6. I have ran Coral 8.0 x32 in Server 2008R2 just fine. There was a post not long ago about issues concerning UniServer package in Windows 7. Bob advised to run 8.1.2... See it here: http://forum.uniformserver.com/index.php?showtopic=2558

     

    As for production I have made a custom package for MADLAX (See it here: http://forum.uniformserver.com/index.php?showtopic=2548) which is what I've been running myself.

     

    You may want to give it a try since it packages some good features and it is been rock solid in my environment.

     

    apache 2.2.21

    mod_security

    suhosin PHP Protection

    PHP 5.3.10 NTS

    FastCGI

    eAcelerator,

    APC

    wincache (enabled by default and performs at least twice faster than APC and 40% faster than eAccelerator in my own tests)

     

    Maybe it works for you. Hope it does.

  7. When I ping my domain it gives me my wan ip

    That means DNS is resolving properly to your dynamic IP with your No-IP service.

     

    and browsing locally on localhost...

     

    This hints to believe the test was performed on the same machine your webserver is installed... which is running properly.

     

    or LAN IP works fine and connects to my /mydomain folder

     

    I'll assume you tested it by browsing from a different computer other than your UniServer "server" which tells me that your webserver is up and running...

     

    I also have the no ip client installed

    Good.

     

     

    Then I can only think of your firewall blocking your webserver and not an .htaccess file in www or www/yoursite/ configured not to allow external connections because your server will respond with Forbidden 404 error and you mentioned earlier that there is no connection whatsoever.

     

    Hints: Firewall / Port Forwarding

     

     

    Try the following:

     

    Even when you mentioned you turned off Windows Firewall I would like you to add an exception rule... Add Uniserver/usr/local/apache2/bin/httpd1.exe to your firewall exception list (make sure you enable Home/Work and Public access)

     

    Let us know

  8. Ok thanks.

     

    I have made changes as suggested and put some test files in my mydomain folder but the domain and WAN IP still do not resolve. The online status is still saying its offline.

     

    I have the W7 firewall off and I have XAMPP installed on my XP laptop and that seems to work fine when its on.

    Do you have the No-IP client installed in your UniServer machine? is it configured in the router? How it that working on your end?

     

    Get on any machine in your network and ping your domain name... it should resolve to your external IP even when your webserver is not running/accessible.

     

    command prompt:

     

    >ping yourdomain.com

    pinging yourdomain.com [xx.xx.xx.xx] It has to resolve to your external IP regardless because that's DNS resolving and not your UniServer installation...

     

    Browse locally to http://xx.xx.xx.xx/yourdomain.com/ and you should hit your uniserver website (xx.xx.xx.xx is the local IP of your webserver host e.g 10.1.1.50)

     

    This will clear up if the issue is with your UniServer or DNS not resolving for other reasons...

  9. I just installed US on Windows 7 and set up vhosts the following way:

     

    DocumentRoot C:/UniServer/www

    ServerName localhost

    ErrorLog "logs/error.log"

    CustomLog "logs/access.log" common

     

    ServerAdmin webmaster@mydomain.com

    DocumentRoot C:/UniServer/www/mydomain.com

    ServerName mydomain.com

    ServerAlias www.mydomain.com *.mydomain.com

    ErrorLog logs/mydomain.com-error.log

    CustomLog logs/mydomain.com-access.log common

    Options Indexes Includes

    AllowOverride All

    Require all granted

     

    You have to make sure that DocumentRoot C:/UniServer/www/mydomain.com is a folder and your site files will go into that mydomain.com folder

     

    In httpd.conf

     

    ServerName localhost

     

    In .htaccess

     

    #Order Deny,Allow

    #Deny from all

    #Allow from 127.0.0.1 192.168

    #Allow from ::1

     

    Note you have to comment it to allow external access. Read the .htaccess info:

    # Server root folder www .htaccess

    # This file provides server security limiting access to the localhost only.

    # Comment next four lines to deactivate. (Allows external access)

     

    Also when I ping my domain it comes back as 127.0.0.1 when it should be my IP address. My DNS is hosted with No-IP Plus.

    Your No-IP resolves to your external IP fine almost sure. You have to ensure your firewall (Router/Windows Firewall) isn't blocking port 80.

     

    Your domain comes back as 127.0.0.1 (loopback address) because when you create your virtual host most likely UniServer added it to your hosts file (C:\WINDOWS\system32\drivers\etc\hosts) so you can resolve locally. using a different computer and pinging yourdomain.com should resolve back to your external IP address since DNS will knock at your No-IP DNS server.

     

    Hope this help

  10. I have the package up there for download. I hope you enjoy this package as much as I do :)

     

    Mod Security is amazing but you have to be really careful with it. I recommend everyone to start with 'SecRuleEngine DetectionOnly' that way you can log and detect if anything will be blocked in your site as a flase-positive. This happens a lot and mod_security requires time, understanding and patience.

     

    You may have several questions for me in relation to this package. Please, I'll try to document everything I can WITH TIME. Everything should be working out of the box and you shouldn't have any major problems to find your whereabouts if you have ran a UniServer WAMP package before.

     

    Download from here: http://turbo.icctek.net/apps/UniServer/UniServer.exe

     

    Defaults:

    CGI/FastCGI

    Wincache 1.1

    Default Storage Engine=InnoDB

    MyISAM is enabled too just not default. As such, I have configured InnoDB settings a little beefier than MyISAM.

    Mod_security with based rules.

    (All rules can be applied/removed just by dragging and dropping in/out of the D:\UniServer\usr\local\apache2\conf\crs\activated_rules folder. (Apache restart required, of course).

     

    Don't expect to run this package with less than 100MB RAM! I have tried hard to keep it low in memory consumption but remember that this is suppose to be your "production package". You are going to need to throw RAM at it one way or another.

     

    In my server, the package alone it is currently using @ 600-700MB RAM. I have assigned Wincache 255MB RAM, beefier InnoDB memory assignment plus apache cache/disk-cache.

     

    You should definitely note a performance increase running this package and it feels solid as a rock. I have it in production with @50-70 guests/minute and it seems to hold strong :)

     

    Good luck.

  11. Maybe a production version of uniform server, were stability is key not updating to all the new stuff?? :)

    I have the package up there for download. I hope you enjoy this package as much as I do :)

     

    Mod Security is amazing but you have to be really careful with it. I recommend everyone to start with 'SecRuleEngine DetectionOnly' that way you can log and detect if anything will be blocked in your site as a flase-positive. This happens a lot and mod_security requires time, understanding and patience.

     

    You may have several questions for me in relation to this package. Please, I'll try to document everything I can WITH TIME. Everything should be working out of the box and you shouldn't have any major problems to find your whereabouts if you have ran a UniServer WAMP package before.

     

    Download from here: http://turbo.icctek.net/apps/UniServer/UniServer.exe

     

    Defaults:

    CGI/FastCGI

    Wincache 1.1

    Default Storage Engine=InnoDB

    MyISAM is enabled too just not default. As such, I have configured InnoDB settings a little beefier than MyISAM.

    Mod_security with based rules.

    (All rules can be applied/removed just by dragging and dropping in/out of the D:\UniServer\usr\local\apache2\conf\crs\activated_rules folder. (Apache restart required, of course).

     

    Don't expect to run this package with less than 100MB RAM! I have tried hard to keep it low in memory consumption but remember that this is suppose to be your "production package". You are going to need to throw RAM at it one way or another.

     

    In my server, the package alone it is currently using @ 600-700MB RAM. I have assigned Wincache 255MB RAM, beefier InnoDB memory assignment plus apache cache/disk-cache.

     

    You should definitely note a performance increase running this package and it feels solid as a rock. I have it in production with @50-70 guests/minute and it seems to hold strong :)

     

    Good luck.

  12. I had to downgrade to 8.1.2 coral, i was getting too many errors an load problems

    Coral 8.1.2 works without any errors.. :) so it seems it was apache 2.4, withs feels like a beta to me..

     

    Your right Yoni, about newer Coral version with apache 2.4 feel all like beta because of 2.4 on it..

    RIC should make a stable version with apache 2.2 an maybe wait a bit with apache 2.4..

    Maybe a production version of uniform server, were stability is key not updating to all the new stuff?? :)

    UniServer is great as it is. I don't believe the course needs to be changed since this is a wonderful tool for testing proposes. I have sent you a PM to offer you a package for production under very specific circumstances.

     

    Even though, I do believe that Uniserver needs to stick to its root and consider not to release packages that are not 100% usable. My personal experiences with the latest releases (8.2 and up) have not been very pleasant. Then again, it will all come down to preferences and opinions...

  13. Here are the notes for 8.5.0-Coral release:

     

    This release updates MySQL server.

    Bug fixes see change log for details.

    Core components:

    Apache 2.4.1

    MySQL 5.5.22 -- Update

    PHP 5.4.0 - Update

    phpMyAdmin 3.4.10.1

    Go-Pear 1.1.6 - Preinstalled

    msmtp 1.4.27

    eAccelerator 1.0-snv427 ---- To be added

    APC 3.1.7 ----- To be added

    OpenSSL 1.0.0e

    ActivePerl via Installer

    Cron - Scheduler

    DtDNS - IP address updater

    db_backup - Database back-up

     

    So it is not surprise they do not "work" since they haven't been included.

×
×
  • Create New...