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

Should I define sql functions myself? #28

Open
liumiao-p opened this issue Apr 17, 2020 · 1 comment
Open

Should I define sql functions myself? #28

liumiao-p opened this issue Apr 17, 2020 · 1 comment

Comments

@liumiao-p
Copy link

liumiao-p commented Apr 17, 2020

sql-connection目录下找不到定义操作sql的一系列函数的php文件,比如mysql_connect(),mysql_query()等等,是不是需要读者自行定义?

@liumiao-p liumiao-p changed the title shou Should I define sql functions myself? Apr 17, 2020
@psi-cmd
Copy link

psi-cmd commented Jul 1, 2020

No, just follow this pull request #19 (comment)
Problem is that mysql_connect is banned from php-7.x, the fork of the pull request did the compatible work.

By the way, you may need to apt install php7.x-mysql and modify the php.ini in /etc/php/7.3/apache2 to enable the mysql extention. Then restart related services.

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

No branches or pull requests

2 participants