Giter Site home page Giter Site logo

Comments (2)

ifsnop avatar ifsnop commented on May 9, 2024

Code has no difference between php 5.3 or php 5.5 regarding class
definition, namespaces or the 'use' keyword.. Both also build correctly
under travis-ci. There is no particular keyword or definition from php 5.5,
everything must work on php 5.3

Maybe the problem is with your php 5.3 host, that has an old version of
composer that doesn't understand PSR4 (class autoloading).

To use it directly (without atuloading, please try:

include_once(dirname(FILE) .
'/vendor/ifsnop/mysqldump-php/src/Ifsnop/Mysqldump/Mysqldump.php');
$dump = new Ifsnop\Mysqldump\Mysqldump( 'database', 'root', 'password',
'localhost', 'mysql', array());
$dump->start('support/backup/ldatabase.sql');

Regards,

On Mon, Jun 2, 2014 at 3:23 PM, Chris Stevens [email protected]
wrote:

I just upgraded from Clouddueling/Mysqldump to dev-master using Composer.

I followed the example from the README and it runs great on my PHP 5.5
instances.

I have a few older PHP 5.3.15 instances that show the class not found
error. I still have to support those for a short time.

Any thoughts or workarounds?

Reply to this email directly or view it on GitHub
#57.

-- Use of a keyboard or mouse may be linked to serious injuries or
disorders.
diego dot torres at gmail dot com - Madrid / Spain

from mysqldump-php.

stevenscg avatar stevenscg commented on May 9, 2024

Thanks Diego!

I am running it directly without the autoloading for now. I'll update this issue if I run across the origin of my particular issue.

from mysqldump-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.