Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload Broken on PHP 5.3.3 #74

Closed
stapleup opened this issue May 10, 2017 · 3 comments
Closed

Upload Broken on PHP 5.3.3 #74

stapleup opened this issue May 10, 2017 · 3 comments
Assignees
Labels

Comments

@stapleup
Copy link

Hi, I hope this finds you well. We just signed up and we are trying to intergrate your SDK in our php 5.3.3. based application to upload images. Your documentation and composer.json file says this sdk works on php 5.3.3 but we are seeing lots of parse errors on features that are missing in php 5.3. The most common error we are seeing when trying to upload image by using

\Cloudinary\Uploader::upload($file);

is
PHP Parse error: syntax error, unexpected '[' in '/cloudinary/cloudinary_php/src/Cloudinary.php on line 281

Any help in this matter would be greatly appreciated.

Thanks

@MaorGariv
Copy link

Hi @stapleup,

Sorry but PHP 5.3 is not supported by our SDK. We'll update the documentation and the Readme file of this SDK to reflect the supported versions.

We support PHP 5.4 onward.

@MaorGariv MaorGariv self-assigned this May 10, 2017
@crispconcepts
Copy link

I was moving forward with the integration of Cloudinary under the assumption it was available for PHP 5.3, as your readme indicates... Wish I would have seen this first, before I started getting 500 errors when I tried to include Cloudinary.php into my script.

You should really keep your documentation up to date... Now I have to go back to my client and explain that the solution proposed will no longer be viable and that they wasted money signing up for it.

The whole point of us using Cloudinary was to avoid a PHP upgrade, thus opening a can of worms in their ancient/vast framework, which would have been required to use ImageMagick + PNGQuant.

Setup

...

Or download cloudinary_php from here

Note: cloudinary_php require PHP 5.3

@marissa-masangcay
Copy link
Contributor

Hi @ljacobs-sml,

We deeply apologize for this inconvenience that you've experienced. It seems we updated this in our documentation (https://cloudinary.com/documentation/php_integration#php_library_features), but have yet to do so in our README. We are working on updating it now. Once again we're truly sorry for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants