exodus4d / pathfinder

Mapping tool for EVE ONLINE
https://www.pathfinder-w.space
MIT License
375 stars 242 forks source link

Error with PHP 7.2 #904

Open CST-100 opened 4 years ago

CST-100 commented 4 years ago

Trying to set up Pathfinder on a server. Followed all steps, yet this seems to be occurring:

Error 500:
Internal Server Error
Fatal error: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/20170718/mysqli (/usr/lib/php/20170718/mysqli: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/mysqli.so (/usr/lib/php/20170718/mysqli.so: undefined symbol: mysqlnd_global_stats))

My phpinfo: https://www.spacescout.info/phpinfo.php Pathfinder install: https://www.spacescout.info/pathfinder/

There is already a website running Wordpress on the root directory doing just fine.

KagurazakaNyaa commented 4 years ago

sudo apt install php-mysql

CST-100 commented 4 years ago

Unfortunately, no dice. Same error, even after reboot.

CptPlastic commented 4 years ago

@CST-100 Good luck ive had a hard time getting the SSO stuff to work.

Caffe1neAdd1ct commented 4 years ago

@CST-100 do you get this error if you use PHP from the commandline?

php -v

sounds like a server configuration issue rather than an issue with pathfinder

exodus4d commented 4 years ago

@CST-100 have you seen this post: https://www.linuxquestions.org/questions/slackware-14/php-7-1-in-testing-%BB-unable-to-load-dynamic-library-mysqli-so-4175618544/

The fix could be to change the order in php.ini how modules get loaded: Bad:

extension=mysqli.so
extension=mysqlnd.so

Solution:

extension=mysqlnd.so
extension=mysqli.so