![]() Browsing through the internet I’ve stumbled upon the solution that worked for me. After clicking restart all or just Start for MySql database its just going into ‘starting’ and then goes back to ‘stopped’. mail() function should work for you absolutely fine. After successfully running XAMPP on my Mac OS X I have upgraded my system to Yosemite my MySql server stopped starting through my XAMPP manager. ![]() Notice that env -i is important here, That was the part I was missing in my configuration and banging my head all the time. How to put my project outside htdocs folder in XAMPP on Mac OSX 1. Now Apache does not start up at all anymore. Then, I spent some time trying to install a library, in which I somehow messed up the installation of XAMPP. I had a local XAMPP stack running on my Macbook Pro fine for weeks (OS X Yosemite 10.10.3, XAMPP 5.5.24). XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. XAMPP won't start Apache on Mac OS X 10.10.3 Yosemite. Sendmail_path = "env -i /usr/sbin/sendmail -t -i" XAMPP is the most popular PHP development environment. In your php.ini file ( xamppfiles/etc/php.ini for XAMPP). ![]() If you are not receiving any email with this, Check your unix mailbox under var/mail/, many times Gmail just bounce back the email considering it as a SPAM. Things were weird because I was able to run the unix mail command from command line and it was working perfectly fine.įirst lets check if this command works for youĭate | mail -s testing should work out of the box in OSX (Yosemite), You wont need to configure any SMTP for this command to work. I spent a lot of time of figuring out how to send mails through PHP mail() function on my new installation of Yosemite.
0 Comments
Leave a Reply. |