Snow leopard where is php.ini




















Improve this question. Jeff Jeff. Add a comment. Active Oldest Votes. Improve this answer. Daniel Vandersluis Daniel Vandersluis 1 1 gold badge 6 6 silver badges 16 16 bronze badges. This was the one that fixed it. Then I read Vikash's answer to see why. Thanks so much! Community Bot 1. Sid Ahuja Sid Ahuja 51 1 1 silver badge 1 1 bronze badge. Works and you don't even have to restart anything! Bring the mysql. Vikash Vikash 4 4 bronze badges. Thank you so much for the awesome answer.

Renaming the php. I did the following to resolve the issue Mac OS x - 1. I made a copy of the php. Open it and find all the lines which have mysql. PlanetUnknown PlanetUnknown 1 1 silver badge 7 7 bronze badges.

Try just doing a symlink. Warden Warden 2 2 bronze badges. Lekensteyn Lekensteyn 5, 5 5 gold badges 36 36 silver badges 54 54 bronze badges. Lekensteyn, I created a page named "test. Powered by the Parse. It seems like the new PHP version in Snow Leopard wants you to explicitly set a default timezone when calculating stuff using the date function, and will warn you about this in your script's output.

Look for this line: date. After you're done with that, rename the file using sudo mv php. The following comments are owned by whoever posted them. This site is not responsible for what they say. This way you always have the default in case you make a mistake. The default at least on my computer has the timezone line commented out with a " ; ", so don't forget to remove the " ; " if you want to actually change it. Any ideas? Thanks in advance. Now edit the httpd. I personally prefer vim if I need to get something done on Terminal but you can also use TextMate or any other text editor.

It should look something like that in your httpd. Make sure that you have these two lines at the end of your httpd. Now lets start sudo apachectl start or restart sudo apachectl restart the Apache web server and test if PHP is running by creating a file in your Web directory containing a call to the function phpinfo.

You now have a hostname for your virtual host named perfectline. First you need to create the necessary folders. Paste these lines into the newly created wordpress. Enjoy your newly installed WordPress development platform. Could you tell me your process for transferring to the live server? I always find this a hassle and somewhat stressful! Hello… how do I completely remove the default apache and php installations from Snow Leopard? To be honest, Felix, I have absolutely no idea why anyone would like to do that except installing latest and greatest version of either.

I can get an info.



0コメント

  • 1000 / 1000