Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : New to AMPPS (few questions)



Threaded Mode | Print  

 New to AMPPS (few questions), startup, php version, php on custom domain, email, etc (1 Replies, Read 9254 times)
qfunk
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hi!

I've just recently installed AMPPS mainly for website development purposes.
I have Windows 7 64bit. My AMPPS installation folder is in the D:\ Drive

I have few questions regarding setting up the ampps installation..

1. How can I add AMPPS server to run (mimized) on startup?
(I've currently added it to the startup folder. It starts, but not minimzed to system tray)

2. How can I change php version?
(I found that the default/current php version was 5.3 via AMPPS>configuration?>filename of the .ini file opened in notepad.)

3. Does PHP function if I have setup addon domain to a folder outside ampps folder?
(I have setup wwmydomain/ to a directory in "C:\website2\" folder, while my ampps is installed in the D:\downloads folder. I'm having trouble with some email send in PHP (described below), due to which I think that the website must be in the ampps/www folder for the php to function.

4. Email test (PHP): This is an important question, and the main reason I started this thread on this forum/board....

On my ampps domain "wwmydomain", as detailed above, I'm developing a website that has an jQuery ajax form sending data to a php script, and on receiving the data, it returns json format array.

Since I'm only working on this via ammps, there is no mail server available. Before this I was using XAMPP and I was able to test the sent email perfectly! (smtp4dev (on codeplex.com). smtp4dev listens on the desired port nad domain (localhost), and alerts if any mail activity has happened. It was notifying me of the emails sent via my website's contact page on XAMPP installation. But it's not able to trace any activity on the new AMPPS installation on my system. smtp4dev is basically a fake email server, that lets you track php mail send for development. I tried other alternatives to smtp4dev, but neither worked.

I tried smtp settings for an online free smtp server, and tried sending mails to my gmail account, but didn't receive any of these emails too! I tried these smtp settings in both the PHP file and the AMPPS > Email settings. Still no acknowledgement of successful email sent or not.

I don't know where the error logs are stored for the php or email in AMPPS, I only found the Apache logs, and the code in those logs that I could understand was something like this:

Code
127.0.0.1 - - [03/Dec/2014:23:24:24 +0530] "POST /scripts/send_email.php HTTP/1.1" 200 50 "//wwmydomain/contact.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"


I don't what what the text : "POST /scripts/send_email.php HTTP/1.1" 200 50
means...?
200 = success
50 = bytes sent or received?
If 50 = bytes sent then where's the log for bytes received?

Question 5: How can I enable sendmail or any sort of email send (PHP) on the ampps. I don't know how sendmail functions, but XAMPP has this functionality to use sendmail in PHP.ini

Question 6.: How Can I setup a parked domain on my WAN/LAN network?
Quote
and I have created a parked domain ITC so I can access it from anywhere by going to //itc/


Quoted from the OP on this thread : [ softaculous.com/board/index.php?tid=4942&title=Sending_EmailSending Email ]

Question 7: How can I edit the file/folder path in the php.ini ? I tried setting up email logs in the php.ini but I don't know how to set the file paths.

Well, that's mostly all...
Thanks for any help.
IP: --   

New to AMPPS (few questions)
qfunk
Group: Member
Post Group: Newbie
Posts: 2
Status:
hi!

There was an error in my PHP script, due to which the form submission was't successful. I altered the script and now it's working perfectly alright! The mail's being send and received by the smtv4dev, without requiring smtp settings. Since I only needed to view the sent email, an smtp server was therefore not required.

Anyways, I found about the php script error in xampp (email logs), and I still don't know where these logs are being saved in ampps...

So Question 4 & 5 are solved for my thread (this thread, OP).
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is June 22, 2024, 2:53 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.021