Comments (2)
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.
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)
- Missing port DSN parsing HOT 1
- We created a new new fork HOT 16
- Can we dump data without structures? HOT 4
- Laravel Integration
- Thank you!
- Change " to ` in CREATE TABLE part HOT 1
- Is it possible to get the output line by line HOT 3
- Memory problem with large tables HOT 3
- Add truncate option
- remove execution tokens option HOT 4
- Version 2.10 returning error 500 with large DB HOT 1
- Not default connection collation HOT 3
- Mysqldump-php generates inconsistent snapshot of Database. HOT 9
- Delete database name on exported triggers HOT 1
- [TLS] no way to specify that connection should use TLS
- Exporting all triggers when using include-tables
- restore error - Mysql 8
- Use an existing PDO connection? HOT 1
- Dumping events is not skipping definer
- Resetting sql_mode on top of sql file breaks import when ANSI_QUOTES was in the original
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysqldump-php.