Just a very quick post that might help somebody stuck in the hell of having php.ini not recording your changes to the include_path. Here's some things to check.
1) shut off apache to edit the file.
2) make sure you have permission to edit the file. you might have to change permissions. check to see if you're writing to the file by checking the time the file was last updated.
3) if you've installed pear check to see if pear didn't add something to the php.ini file near the bottom. it's basically another include_path configuration. since there can only be one it will override the one at the top of the file. simply add your changes to the one configuration are and you should be good to go.
4) another thing to check is whether you can write to the file in another configuration option. just throw something down and restart apache and check it. if you can write to the file but just not see include_path then you have another include_path somewhere in the file that's overriding your settings.
5) the other obvious thing is to check to make sure the php.ini file is the one that's being loaded. do this by looking in the phpinfo() file. you can add this to a php file and run it in htdocs or wherever your root is, or in the case of xampp just run localhost and find the phpinfor() on the left bar.
hope this helps.
13 July 2012
24 March 2012
Cheapest, most minimal, and best iPad case
My tip is simple. Go to the hardware store and ask for the small felt pads that are used on the inside of cupboard doors. They are very tough, have great adhesion and they will allow you to put the iPad down on most surfaces without worrying about scratching your baby. The bonus is that you can still have a naked iPad. If you're like me, I just slide mine into a laptop compartment of my knapsack when I go out with it.
06 March 2012
Best Way To Implement Basic Version Control While Keeping Important Files In Sync Between Computers
![]() |
Dropbox |
05 March 2012
How to Configure PHPStorm to Open Php Files in Your Browser in Localhost
How do you get PHPStorm to show your PHP files in your browser by clicking on the little browser icons in the right part of the window or right clicking and opening in your browser. PHPStorm doesn't just do this automatically. You have to configure it, and the configuration is entirely obvious. Here's what you have to do.
I'm assuming you have XAMPP or its equivalent installed and running on your machine. I'm also assuming you dumped your php files in the htdocs directory of XAMPP and that you can view your files in your browser just by typing the address using localhost/yourfile.php. And now you want to be able to open your files from within PHPStorm.
28 January 2012
Cross Platform PHP Development With Or Without An IDE
PHPstorm 3.x |
I'm into PHP development and I've gotten to the point where I need a development tool that can handle proper PHP debugging. I've spent a couple of days reading things on the net and trying various solutions. So far I've checked out Netbeans 7.1, PHPstorm 3.0, Komodo Edit, and Eclipse PTD. I've played with some of these before, but never for a sustained time. All of these IDE's are butt ugly in my opinion. I guess I'm picky. I know, you can get used to ugly coding environments with time. I used to love Windows XP at one time, after all. I'm not going to go into too many details here, but I found that Netbeans 7.1 and Komodo were better than Eclipse. But I think of the IDE's out there for PHP it's hard to beat PHPstorm 3.x. It reminds me of visual studio in a lot of ways, except snappier.
27 September 2011
Mac OS X's Finder: The Most Important Tweak to Make Search Function
Apple has made some decisions with Finder that some users might find a bit annoying. So, for instance, if you just open Finder and you hit command + F you get this window by default:

This is a completely useless result. On my Mac the search in fact chokes because so many results are found. This is almost always not what you want in a search result. So, you have to follow these steps to solve the issue and bring some sanity to Finder.
First, you need to change "search the current folder" setting in the Finder advanced preferences.

This is a completely useless result. On my Mac the search in fact chokes because so many results are found. This is almost always not what you want in a search result. So, you have to follow these steps to solve the issue and bring some sanity to Finder.
First, you need to change "search the current folder" setting in the Finder advanced preferences.
Labels:
Apple,
Best Tweaks,
Finder,
Mac,
OSX,
Snow Leopard,
Tips,
Tweaks
26 April 2011
Earth Day: Vandana Shiva and Maude Barlow
I just wanted to draw your attention to a very inspiring talk by two amazing human beings: Vandana Shiva and Maude Barlow. This is a Democracy Now Earth Day special. In the discussion they both claim that the only way humans will survive is for us to recognize the intrinsic worth of the nonhuman world. They speak about this in terms of the rights of nature. I spent a number of years reading the philosophical literature on this issue, and despite what many foolish academics have argued, the idea of recognizing the intrinsic worth of the natural world is key to moving past the current silliness that environmentalism has become. Rather than this being a strange and foreign view, as many Westerners seem to believe, Vandana Shiva notes that this is actually the dominant view among non-industrial people around the world. Anyhow, check out the video clip and post your thoughts below. http://www.democracynow.org/2011/4/22/earth_day_special_vandana_shiva_and
Subscribe to:
Posts (Atom)