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

Installation Glitch - "enable PDO extensions in php.ini" #5630

Closed
lucanos opened this issue May 8, 2008 · 1 comment
Closed

Installation Glitch - "enable PDO extensions in php.ini" #5630

lucanos opened this issue May 8, 2008 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@lucanos
Copy link

lucanos commented May 8, 2008

Having gotten past BUG#202, I ran into another unexpected error – my lack of PDO extensions in PHP.

I managed to enable the extensions (after Googling for advice on how to), so my suggestions for this stage is this.
1. Use the PHPInfo data (through a buffer) to determine the Server Platform and whether PHP has been compiled with PDO extensions.
This will mean that the user need only be shown the instructions for their relevant platform – No point a Windows Server user seeing instructions for Unix.
2. [Unix](For) Extract the ‘php.ini’ file location from the PHPInfo data and advise the user to edit it using a command like

```
vi /…/php.ini
```

Tell the user to find the lines initialising other extensions and to add the following:

```
extension=“pdo.so”
extension=“pdo_mysql.so”
```

Providing this information straight-up and without expecting the User to investigate how to execute the steps described in somewhat misleading text (ie in Unix, you drup the “php_” prefix of the extensions) would be great.
Keywords: install

@mattab
Copy link
Member

mattab commented May 9, 2008

(In 468) – fix #5630 now displaying a user friendly error message

@lucanos lucanos added this to the RobotRock milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants