stanneo
Založený: 03.02.2011
Príspevky: 14
Zaslal: 2016-03-27 20:33
Návrat hore
Odpovedať s citátom
|
Hi,
Does phpMyEdit work with PHP7 ?
Thank You
stanneo
|
stanneo
Založený: 03.02.2011
Príspevky: 14
Zaslal: 2016-06-26 11:54
Návrat hore
Odpovedať s citátom
|
Can anyone answer this question?
lg stanneo
|
t22harris
Založený: 19.03.2009
Príspevky: 15
Zaslal: 2017-03-29 22:54
Návrat hore
Odpovedať s citátom
|
Because PHP 7 does not provide support for mysql_connect() and associated functions it will not work for phpMyEdit.
I have changed the file phpMyEdit.class.php to use the mysql PDO library. I have a number of web sites using it successfully. I have also fixed a number of underlying bugs in the php code.
On a fresh Ubuntu 16.04 install PHP 7.1 is loaded as well as MySQL 5.7. Some complex queries set up by phpMyEdit will not run on MySQL 5.7 such as a join where an ORDER BY sort condition is placed on a join field. I have not solved that yet but I worked around by removing the sort field.
|
sealdana
Založený: 25.08.2017
Príspevky: 1
Zaslal: 2017-08-25 17:04
Návrat hore
Odpovedať s citátom
|
I've updated and phpmyedit no longer connects. Will there be a fix coming soon?
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2017-08-28 23:06
Návrat hore
Odpovedať s citátom
|
I could be completely wrong, but I wouldn't count on an update any time soon.
It's not that difficult to re-write all the queries, but it does take time, patience, and a few syntax changes. I can't offer up a copy of my re-write as it has so many hacks for my personal use that it would probably confuse more people than it would help.
|
rumex
Založený: 27.10.2017
Príspevky: 7
Zaslal: 2017-11-07 17:05
Návrat hore
Odpovedať s citátom
|
The alternative (which I use) is to run two Apache instances on your server. One serves the default php7 (on standard port 80) and the other on port 81 serves php5. Thus I access my phpMyEdit forms at eg http://localhost:81/proj1/form1.php
The following link explains it.
https://gist.github.com/aaronbloomfield/92c707631a0191152bc7faf0124fd651
|
Atara.H
Založený: 23.07.2014
Príspevky: 11
Zaslal: 2018-03-07 14:45
Návrat hore
Odpovedať s citátom
|
you can use my file -
http://opensource.platon.org/forum/projects/viewtopic.php?t=10785846
please add your comments\improvements
|
xxxxl
Založený: 27.06.2018
Príspevky: 1
Zaslal: 2018-06-27 16:06
Návrat hore
Odpovedať s citátom
|
Hi Doug,
it is possible to have a new version of PHPMYEDIT for work with PHP7 and PDO.
I have also view the PHPForm with your name :
http://hockinson.com/php_form_generator/app-about.php
What is this product ?
It is possible to obtain a version ?
Thanks
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2018-06-27 18:45
Návrat hore
Odpovedať s citátom
|
PDO is NOT an option. It does appear to work with PHP 7 and MySQLi improved methods; see the link below to bugs.
Having commercially license phpMyEdit, I sold various versions of the project for over ten years. I discontinued selling it after security issues with most email servers declined to email a ZIP file containing the project files. I could automate the email with attachment following PayPal payment ... but most users never received the files due to an over abundance of caution on the part of their email Admin. So then I'd have to set up a temporary download link and email it to people. Paying a third party a high percentage of the $25 selling price seemed like more of a hassle than it was worth, given declining sales, newer technologies, etc.
My health sucks and it can take me a day to get around to doing certain things. But if you wanted to use PayPal to send $25 to doug@hockinson.com then I'd set up a download link for the ZIP file.
Or email me at the above address if you have more questions. Note the none bugs / issues at
http://www.hockinson.com/php_form_generator/app-about.php
|
Kimball
Založený: 06.05.2019
Príspevky: 1
Zaslal: 2019-05-06 14:12
Návrat hore
Odpovedať s citátom
|
phpMyEdit v5.7.1 does not work on PHP7 because the __construct functions names, and mysql_* calls. I have an updated version available for download with:
* __construct functions
* migrated the mysql_* calls to mysqli_*
See https://kimballrexford.com/phpmyedit-for-php7-and-mysqli/
|
PatG
Založený: 22.11.2018
Príspevky: 1
Zaslal: 2019-05-06 14:48
Návrat hore
Odpovedať s citátom
|
I have upgraded phpMyEdit to php 7.
It can be downloaded from www.yooperlinux.com, click on Downloads.
There is also a version on github.com -phpMyedit-php-7.0
Maintainer, you can get a copy and host it on your site.
|
|
Odoslať novú tému
Odpovedať na tému
|