Jump to content

[SOLVED] Where to find a WAMP installer


Recommended Posts

Its most probably not the package you're using, but PHPs configuration (php.ini) Whats is the errors you are getting?

If the package you are using doesn't come with an email server then that will be why. If you are using the standard mail (mail())function then you will need to open up the php.ini and find the following lines:
[code]; For Win32 only.
SMTP = localhost
smtp_port = 25[/code]
You will need to change localhost to an SMTP server address, try your ISPs SMTP server (if they use POP/SMTP for emails).

Once you have setup the SMTP directive you'll need to save the php.ini and restart the server.
Link to comment
Share on other sites

Hi
I have set the php. ini to reflect the SMTP server address(this is on the same remote server) as follows:
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Syslog]
define_syslog_variables=Off

[mail function]
SMTP=213.210.25.37
sendmail_from=hawkesley_2jags@yahoo.co.uk

; For Unix only.  You may supply arguments as well (default: 'sendmail -t -i').
;sendmail_path =

I am using a package from www.easyserv.com

There is a strange aspect to the php.ini
eeasyserv installs aconfiguration file php.ini and the settings above are taken from this.
However, if I run phpinfo() the response shows no values for these fields.
Therefore I was thinking of changing to a different package or maybe doing a manual install.
If you have any views that would be welcome.
Do you know of a package that comes with an email server?
Thanks,
lassie
Link to comment
Share on other sites

Hi,
Yes I have restarted the server and I still have mixed inormation from the phpinfo() and the php.ini file
This is what the phpini() returns:

sendmail_from
no value no value
sendmail_path
no value no value
short_open_tag
On On
SMTP
localhost localhost
sql.safe_mode
Off Off
track_errors
Off Off
unserialize_callback_func

This is what the php.ini file says it has:

[mail function]
SMTP=213.210.25.37
sendmail_from=hawkesley_2jags@yahoo.co.uk

; For Unix only.  You may supply arguments as well (default: 'sendmail -t -i').
;sendmail_path =

Apart from deinstalling and reinstalling I dont know how to proceed.
I have tried dynamically setting the php.ini with this test:
<?php
ini_set("SMTP","213.210.25.37");
$to = "hawkesley_2jags@yahoo.co.uk";
$subj = "test";
$mess = "This is a test of the mail function";
$headers = "From:Hawkesley House<hawkesleyhouse@btinternet.com>\r\n";
$mailsent = mail($to,$subj,$mess,$headers);


if ($mailsent){
 
  echo "Test message sent";
}
else {
  echo "There was an error";
}
ini_restore("SMTP");
exit();
?>
I get the same error message.
I thoughtr I would configure another pc and see if I can just get mail to work hence the question if you know of a differenr install to easyserv.
Thank you for you interest.
lassie

Link to comment
Share on other sites

OK is PHP using the correct php.ini? You can check this by running the phpinfo function and looking for the [b]Configuration File (php.ini) Path line[/b]

To the right of that should be the full path to the php.ini file PHP is using. Is that the correct php.ini? If its not. Where is the php.ini you are editing?

Also it does no matter what "installer" you use it will not help. As it is a configuration issue.
Link to comment
Share on other sites

Hi,
Thanks for coming back.
The config path in the phpinfo() says C:\winnt
A search on that points to winntbtbu.dll
The php.ini I have edited is in the Easyserv directory - C:\Easyserv\php.ini
This is labeled as Configuration Settings.

Should I change the path if so where?
Thanks again for your help.
Link to comment
Share on other sites

Hi,
Sorry to be slow coming back - forced to xmas shopping!
Your advice was good and it all now works.Many thanks.
Not sure what u would like on the home page but this is the link
http://www.easyphp.org/
Do you know this set up?
Have a good xmas and thanks again
lassie
Link to comment
Share on other sites

EasyPHP is a quite an old package. I prefer to manaully install Apache, PHP and MySQL rather than using a prebuilt package. Once you become more confident try to install AMP manually. However when I started PHP I started out using EasyPHP then moved on to installing AMP manually.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.