Lassie Posted December 5, 2006 Share Posted December 5, 2006 Can any one point me to a good instal package for Apache 2.0 PHP 4.2 and mysql 4.0I have an easyserv installation and am having significant mail problems and think I will try a different set up and see if the problem is replicated.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/ Share on other sites More sharing options...
wildteen88 Posted December 5, 2006 Share Posted December 5, 2006 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 = localhostsmtp_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. Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-135640 Share on other sites More sharing options...
Lassie Posted December 6, 2006 Author Share Posted December 6, 2006 HiI 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.37sendmail_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.comThere is a strange aspect to the php.inieeasyserv 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 Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-136277 Share on other sites More sharing options...
wildteen88 Posted December 6, 2006 Share Posted December 6, 2006 Did you restart the server? It is important you restart the server. Otherwise the new settings will not load until you do so. Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-136313 Share on other sites More sharing options...
Lassie Posted December 7, 2006 Author Share Posted December 7, 2006 Hi,Yes I have restarted the server and I still have mixed inormation from the phpinfo() and the php.ini fileThis 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.37sendmail_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 Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-136813 Share on other sites More sharing options...
wildteen88 Posted December 7, 2006 Share Posted December 7, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-137037 Share on other sites More sharing options...
Lassie Posted December 11, 2006 Author Share Posted December 11, 2006 Hi,Thanks for coming back.The config path in the phpinfo() says C:\winntA search on that points to winntbtbu.dllThe php.ini I have edited is in the Easyserv directory - C:\Easyserv\php.iniThis is labeled as Configuration Settings.Should I change the path if so where?Thanks again for your help. Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-138951 Share on other sites More sharing options...
wildteen88 Posted December 11, 2006 Share Posted December 11, 2006 PHP isnt using the correct php.ini that case. Copy the php.ini from C:\EasyServ to C:\WINNT insteadRestart EasyServ Is PHP now using the correct php.ini?Also could you post me to the EasyServ homepage too Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-139223 Share on other sites More sharing options...
Lassie Posted December 16, 2006 Author Share Posted December 16, 2006 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 linkhttp://www.easyphp.org/Do you know this set up?Have a good xmas and thanks againlassie Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-142490 Share on other sites More sharing options...
wildteen88 Posted December 16, 2006 Share Posted December 16, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/29555-solved-where-to-find-a-wamp-installer/#findComment-142498 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.