Pages: PreviousFirst...1617181920Next
Current Page: 19 of 20
Results 541 - 570 of 577
16 years ago
toivo
Hi, Do you really have an SMTP server running on the same physical server as your WAMP server? Usually in Windows environment the SMPT server is somewhere else, that is why the address of the SMTP server is in the php.ini file. If you really have an SMTP server running and listening on your Windows box (which you can verify by going to the command prompt and typing in 'netstat -an' and l
Forum: WampServer English
16 years ago
toivo
Hi, As the error message suggests, you may not have an SMTP server running in your WAMP server which would respond to requests sent to TCP port 25. You need to find out the IP address of a mail server to which your WAMP server can send the SMTP messages and edit your php.ini configuration file at c:\wamp\Apache2\bin. Look for the lines: ; For Win32 only. SMTP = nnn.nnn.nnn.nnn and replace
Forum: WampServer English
16 years ago
toivo
Hi, Please find the examples at You may want to start with the procedural style, get it working and then proceed to the object oriented style. Regards,
Forum: WampServer English
16 years ago
toivo
Hi, Good that everything has worked out :-) If you set up the folder for the virtual host correctly, Apache looks after the security so that the user will not be able to traverse above the document root. If you have just static content, or HTML pages and files to be downloaded, there is not much hackers can do other than look at the HTML source code to find clues about other details of your
Forum: WampServer English
16 years ago
toivo
Hi, You are getting there. Replace the following lines in httpd.conf: Order deny,allow Deny from all allow from 192.168.0.2 allow from 86.8.209.99 with these two lines: Order allow,deny allow from all Do not use 'subdomains' of localhost, like dummy-host.localhost. The use of subdomain preceding localhost seems to utterly confuse the domain lookup in Windows. Instead, add the
Forum: WampServer English
16 years ago
toivo
Hi, Have you tried using just 'allow from 192.168.5' to see if the subnet restriction works better? Regards,
Forum: WampServer English
16 years ago
toivo
547. Re: email
Hi, CyberSpatium is right, you need to use a mailer class or just the mail() command which is part of PHP. However, be careful how you use it because it is up to you to sanitize the data that is passed to the command as address parameters. Sending emails where you have static addresses is fine, but as soon as you accept data from forms, you can run into all sorts of spamming problems unless y
Forum: WampServer English
16 years ago
toivo
Hi, If you use a domain name, instead of an IP address, to access the site, your virtual host needs to be set up to listen to the name, not the IP address. Here are the key changes you should do: # # Use name-based virtual hosting. # NameVirtualHost *:80 If you use domain names, you should not list the IP address and port as the name of the virtual host. Therefore, remove the lines: NameVir
Forum: WampServer English
16 years ago
toivo
549. Re: email
Hi, Edit your php.ini configuration file c:\wamp\apache2\bin\php.ini. Find the following lines: ; For Win32 only. SMTP = nnn.nnn.nnn.nnn and replace nnn.nnn.nnn.nnn with the IP address of your SMTP server. Regards,
Forum: WampServer English
16 years ago
toivo
Hi, Yes, you have to give the router precise instructions what to do and therefore you need to find the configuration page for port forwarding from the user interface provided by the router. Sometimes the manuals that come with network routers do not tell you everything or they are a couple of releases behind the actual firmware running in the router. It is worth checking the version of the
Forum: WampServer English
16 years ago
toivo
Hi, Usually routers have a page which displays the connection status and the current external IP address. If you use that external i.e. public IP address from outside the LAN in a HTTP request, you should be able to connect to your server. Configure the router to respond to pings and ping your IP address from outside to see if you get a response. Then configure the router to log the IP traf
Forum: WampServer English
16 years ago
toivo
Hi, Have you created a text file similar to 'myphpinfo.php' which inludes the following lines: <?php phpinfo(); ?> If it fails, have a look at the file c:\wamp\logs\php_error.log which may have an error message if your script has a fatal error. Regards,
Forum: WampServer English
16 years ago
toivo
Hi, Being connected at all times is no guarantee that you have a static IP address. You may be able to keep the same dynamic address for quite some time, depending on the length of the lease, but eventually it will change. If your IP address is dynamic, you need a piece of software to monitor the IP address so that every time the IP address changes, it updates the DNS record with the servic
Forum: WampServer English
16 years ago
toivo
Hi, If your localhost works, you are almost there :-) If you want to run more than one site, for example a development site with internal access only, create the virtual hosts and put the sites in subfolders. Set up the name based virtual hosts with definitions in the folder c:\wamp\Apache2\conf\extra and include a reference to that file or those files into the httpd.conf file. You need to c
Forum: WampServer English
16 years ago
toivo
Hi, Try adding the following to the end of the query: ENGINE = MyISAM; The default table type InnoDB does not support FULLTEXT but MyISAM does. For more details, see Regards,
Forum: WampServer English
16 years ago
toivo
Hi, Could you please describe your network configuration. Is your server in a Local Area Network (LAN) or is it connected directly through an ADSL/DSL modem/router to an Internet Service Provider (ISP)? Does your connection have a fixed IP address or a dynamic IP address? Do you own a particular domain name? In principle, inside your network your router/firewall needs to forward packets addr
Forum: WampServer English
16 years ago
toivo
Hi, Your httpd.conf file does not seem to be accessible. However, here is my recent response to a similar question how to make Wamp serve two domains: Edit the Apache configuration file c:\wamp\Apache2\conf\httpd.conf. Find the following two lines : # Virtual hosts #Include conf/extra/httpd-vhosts.conf Uncomment the second line. This line adds the file c:\wamp\Apache2\conf\extra\httpd-vhosts
Forum: WampServer English
16 years ago
toivo
Hi, Usually one can just stop the Apache service from the icon in the system tray, rename the log file and restart Apache. Apache creates a new file when it starts. You will need to identify the other process holding the log file open. A workaround is to configure a new, unique name for the log file in the httpd.conf file, or in the virtual hosts definitions in the folder c:\wamp\Apache2\co
Forum: WampServer English
16 years ago
toivo
Hi, Check the hosts file c:\windows\system32\drivers\etc\hosts. It should have the following entry which resolves localhost in the URL to the local PC's IP address 127.0.0.1: 127.0.0.1 localhost Often viruses modify the hosts file, for example to prevent antivirus applications from downloading the latest definitions. You should check your server for both viruses and spyware. Regards,
Forum: WampServer English
16 years ago
toivo
560. Re: help
Hi, A lot depends on what type of site you had. If it was a CMS based site where the pages are created dynamically from the database, you should have a full backup of the MySQL database which you could restore to the system. If it was a site you wrote yourself in PHP, you should restore the document root folder. Regards,
Forum: WampServer English
16 years ago
toivo
Hi, Edit the Apache configuration file c:\wamp\Apache2\conf\httpd.conf. Find the following two lines : # Virtual hosts #Include conf/extra/httpd-vhosts.conf Uncomment the second line. This line adds the file c:\wamp\Apache2\conf\extra\httpd-vhosts.conf to the server configuration. The default configuration file httpd-vhosts.conf has a sample setup for two name-based virtual hosts. The lin
Forum: WampServer English
16 years ago
toivo
Hi, Here is some information about importing text files: if you have alpha fields like names or addresses which can contain commas, you would be better off using tab as the field separator, instead of comma (CSV). In that case, you do not have to worry about stripping quotes from around alpha fields either. If you receive a spreasheet as a CSV file, save it as a tab delimited text file befo
Forum: WampServer English
16 years ago
toivo
Hi, Use Notepad to have a look at the hosts file in c:\windows\system32\drivers\etc\hosts. It should have a line which is not commented out: 127.0.0.1 localhost If you add this line, the url starting with will be resolved to [127.0.0.1]. You can also add a dummy domain to the hosts file which is then available only locally in your workstation: 127.0.0.1 example.com Regards,
Forum: WampServer English
16 years ago
toivo
Hi, It would help if you could post the precise error message. You can check the message from the MySQL log in the folder c:\wamp\logs. Depending on the web application you are running, the error handling and reporting is done in the database module which can produce different messages. If you have not shut down the Windows 2003 server properly, there is a chance that the index of a table is
Forum: WampServer English
16 years ago
toivo
Hi, The real question is whether Windows runs in the environment, and how fast - or slowly it runs. Windows NT and 2000 would probably run all right, but NT would be faster. If the hard drive is reasonably new, say 40GB instead of the original 2GB or even less, you should be all right with the speed, but it would help if you can find an extra 128MB of RAM from a scrapyard :-) My experience
Forum: WampServer English
16 years ago
toivo
Hej Bertil, You need to increase the 8MB default RAM allocation for PHP sessions. Edit the php.ini file in c:\wamp\Apache2\bin and find the line: memory_limit = 8M Change the limit for example to 24MB: memory_limit = 24M Restart Apache from the WAMP icon in the System Tray and the new maximum memory allocation for a PHP session will be activated. If in doubt, create the following script
Forum: WampServer English
16 years ago
toivo
Hi, I would interested to know if anyone has used MySQL Administrator Backup and Restore functions for importing large databases like the one described in the thread? Regards,
Forum: WampServer English
16 years ago
toivo
Hi, Which type of table did you create? If you use MySQL Administrator to create a table, it creates by default a table using the InnoDB Storage Engine which does not support FULLTEXT indexes, whereas MyISAM tables support them. See the details at and . Regards,
Forum: WampServer English
16 years ago
toivo
Hi, Did you perhaps have MySQL and/or PHP installed in the workstation before you installed WAMP? That could cause some confusion and the simplest thing is to uninstall the previous installations. The php.ini file which controls the PHP functions under Apache is in c:\wamp\Apache2\bin. There is also another php.ini in c:\wamp\php which controls the PHP command line scripts. You should be abl
Forum: WampServer English
16 years ago
toivo
Hi, If you do not have a domain controller, you can just add the internal IP address and the name of the other server to the hosts file in the PC where the WAMP server is installed: c:\windows\system32\drivers\etc\hosts. Regards,
Forum: WampServer English
Pages: PreviousFirst...1617181920Next
Current Page: 19 of 20