$ php -l sdb.php
No syntax errors detected in sdb.php
Looks fine to me.
You'll want to check a couple of things:
- Make sure you're using PHP 5.1 or greater (I think 5.1 works, anyway), just upgrade to the latest to be sure:
$ php -v
PHP 5.2.13-pl0-gentoo (cli)(built: Apr 18201017:24:19)
Copyright (c)1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c)1998-2010 Zend Technologies
I'm running a build of 5.2 on gentoo, but anything 5.1 or greater on any distro (or on Windows) should work fine.
- Make sure the 'curl' and 'openssl' PHP extensions are installed and enabled:
If you check these things and you still can't get it to work, please send the output of "php -i" to my sourceforge email account and I'll see if I can figure out what's wrong.
Glad you like the class :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello there,
getting this error: Parse error: syntax error, unexpected T_PUBLIC in /sdb.php on line 545
version 0.5.2 worked ok (only tried createrecord)
this seems definitley the best simpledb class out there, great work sir-
jay
$ php -l sdb.php
No syntax errors detected in sdb.php
Looks fine to me.
You'll want to check a couple of things:
- Make sure you're using PHP 5.1 or greater (I think 5.1 works, anyway), just upgrade to the latest to be sure:
I'm running a build of 5.2 on gentoo, but anything 5.1 or greater on any distro (or on Windows) should work fine.
- Make sure the 'curl' and 'openssl' PHP extensions are installed and enabled:
If you check these things and you still can't get it to work, please send the output of "php -i" to my sourceforge email account and I'll see if I can figure out what's wrong.
Glad you like the class :)