daloradius icon indicating copy to clipboard operation
daloradius copied to clipboard

centos7 + mysql 5.5+Php7 +php5 installation failed

Open chinamore opened this issue 5 years ago • 7 comments

I recently installed this source code in CENTOS7, found that the program can not run at all, the lack of DB.PHP (PEAR INSTALL DB) has no way to install, now DB is no longer running, can not download, and now upgraded to MDB2, but the source code inside All did not change, I spent 2 business days,

chinamore avatar Feb 23 '19 10:02 chinamore

What error do you obtain trying to install PEAR DB?

According to the official Pear / DB website, it

is still maintained for bugs and security fixes

and the last release was

1.9.3 (stable) was released on 2018-12-05 by ashnazg

You can install PEAR DB in the command line, just typing:

pear install DB

or, alternativelly:

php pyrus.phar install pear/DB

provided you have PEAR installed in your system.

Please, check and revert, we'll do our best to help you.

MiguelVis avatar Feb 23 '19 13:02 MiguelVis

@MiguelVis WDYT about:

  1. Adding clear install commands to the README at the top?
  2. Adding a .github template file so that when new issues are opened up we have these install commands instructions clearly pointed out - so it's like a quick FAQ before users open up an actual issue

lirantal avatar Feb 23 '19 13:02 lirantal

Another idea is that we can have an open issue about installation instructions and pin it as a top level issue that everyone would see immediately

lirantal avatar Feb 23 '19 13:02 lirantal

  1. Adding clear install commands to the README at the top?

I added recently a Requirements sections in README.md, including needed PEAR packages, but it's near the end of the document.

I'll move this section near to the top.

MiguelVis avatar Feb 23 '19 13:02 MiguelVis

  1. Adding clear install commands to the README at the top?

I added recently a Requirements sections in README.md, including needed PEAR packages, but it's near the end of the document.

I'll move this section near to the top.

Done with #86.

MiguelVis avatar Feb 23 '19 13:02 MiguelVis

example: https://github.com/chinamore/SoftEtherVPN_Stable/blob/master/install1.sh

Due to the complexity of the installation, I recommend writing a one-click installation package according to the system to ensure that the environment is installed correctly, because different people install different effects.

I believe that such an installation file will bring a lot of convenience to everyone, because everyone likes mysql more than MariaDB, and everyone's VPS will manage MYSQL database according to management tools such as: bt.cn or other convenient management tools.

#Debian and Ubuntu and centos7

chinamore avatar Feb 25 '19 02:02 chinamore

看看这个 This was done a long time ago, but it needs to be modified

CN-SaNDuo avatar Mar 07 '20 05:03 CN-SaNDuo