How do you feel about PHP?

How do you feel about PHP?  From a setup and administration side, I hate it.  I was trying to get it up and running so I could play around with Azoogle’s SOAP API.  (Their SOAP API isn’t setup correctly to be used by C#/.Net/Visual Studio)

Well, I can’t get it to work worth crap.

I left trying to get OPEN SSL up and running on a Windows/IIS box.  Open SSL just crashed PHP.  Everybody also runs PHP on too many different OS’s/Web Servers that searching for information that was ever accurate is hard.  Finding accurate and up to date information is almost impossible.

You can trash talk Windows all you want, I’m used to it.  However for me, PHP can suck it.

PHP Curl and IIS

Apologies to my normal blog readers, this post is one that I am writing to help others that may need help getting PHP’s Curl up and running on IIS.  You won’t find this post worthwhile unless you have Googled this problem.

Background:

1. Installed PHP 5.2.9-2 using the installer.  Worked Fine

2. Could not access the Curl methods/functions.

 

The problem is that the file that you need is not included in the install.  You need php_curl.dll

Fix:

1. Download the normal PHP Windows Binary Package
image

2. Unzip and find php_curl.dll

3. Place php_curl.dll in your installation directory usually c:\program files\php

4. Open php.ini in notepad

5. Find “Dynamic Extensions” in php.ini

6. Insert “extension=php_curl.dll” (without quotes) in php.ini in the Dyanamic Extensions section and SAVE the change.

7. Click “Start”, “Run”.  Type in “IISRESET”.

You should now be able to use the Curl functions.

3 Stocks I Bought

Palm PreA few months ago I bought 3 stocks.  C, AIG and Palm.

The first 2 I bought simply because I think they’ll have big profits by the end of the year.  I should have bought C (Citigroup) back when it was a $1.  However, it’s still a steal.

More excitingly I bought PALM.  This is pure semi-long speculation.  This is all based on the new phone the Pre (and perhaps a smaller cheaper phone to be released soon as well).

If the Palm Pre does well, the company should sky rocket (and perhaps take Sprint (S) up with it).  Palm needs to prevent the same mistakes that the Blackberry Storm had.  Blackberry even admits they screwed up on the initial release.

There is speculation that Palm may “Short” the supply of Pre’s to keep “Buzz” up.  Similar to what Nintendo did with the Wii.  If that happens the stock price may drop.  If the phone is deemed worthy, but in short supply, there could be a sell off of the stock.  If most of the reviews are favorable then I highly recommend buying.  A favorable review would just mean that it’s better than Google Android and the Blackberry Storm.  It doesn’t need to be better than the iPhone.

Furthermore, if it is comparable to the iPhone, Sprint might be the best possible network for it to get off to a huge start.  I know, most people think Sprint sucks.  However, their unlimited voice and data plans are right around $80.  Compare that to the $120+/month for AT&T’s data/voice plan.