Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  phpMyEdit and PHP7

phpMyEdit General     phpMyEdit and PHP7
Post new topic   Reply to topic    
 
stanneo     Joined: 03 Feb 2011   Posts: 14  
Post Posted: 2016-03-27 20:33
Back to top  Reply with quote     

Hi,
Does phpMyEdit work with PHP7 ?
Thank You

stanneo

 
stanneo     Joined: 03 Feb 2011   Posts: 14  
Post Posted: 2016-06-26 11:54
Back to top  Reply with quote     

Can anyone answer this question?
lg stanneo

 
t22harris     Joined: 19 Mar 2009   Posts: 15  
Post Posted: 2017-03-29 22:54
Back to top  Reply with quote     

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     Joined: 25 Aug 2017   Posts: 1  
Post Posted: 2017-08-25 17:04
Back to top  Reply with quote     

I've updated and phpmyedit no longer connects. Will there be a fix coming soon?

 
doug     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2017-08-28 23:06
Back to top  Reply with quote     

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     Joined: 27 Oct 2017   Posts: 7  
Post Posted: 2017-11-07 17:05
Back to top  Reply with quote     

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     Joined: 23 Jul 2014   Posts: 11  
Post Posted: 2018-03-07 14:45
Back to top  Reply with quote     

you can use my file -
http://opensource.platon.org/forum/projects/viewtopic.php?t=10785846

please add your comments\improvements

 
xxxxl     Joined: 27 Jun 2018   Posts: 1  
Post Posted: 2018-06-27 16:06
Back to top  Reply with quote     

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     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2018-06-27 18:45
Back to top  Reply with quote     

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     Joined: 06 May 2019   Posts: 1  
Post Posted: 2019-05-06 14:12
Back to top  Reply with quote     

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     Joined: 22 Nov 2018   Posts: 1  
Post Posted: 2019-05-06 14:48
Back to top  Reply with quote     

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.

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy