Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizGeneral Tech Bugs & Fixes 2 years ago
Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
/usr/lib/php//.so
/etc/php/7.0/mods-available
simply map to one of the above .so files ie they contain a single line of real importance extension=
phpenmod
does nothing more than creating a reference file in the /etc/php/7.0/apache/conf.d
& /etc/php/7.0/cli/conf.d
folder.So in short.. you need to ensure the .so file exists, the ini file in mods available exists and that it is being referenced in the relevant place, eg apache, fpm or cli.
Hope this helps anyone in the same pos i was.
As mentioned in one of the comments there is a posisble bug regarding php and mysql... it is in the load order. The alphabetical ordering of the reference files in say /etc/php/7.0/apache/conf.d
is actually the order the modules will be loaded by php. If you get mysqli issues, try ensuring the mysqlnd module is loaded before the mysqli module... this fixed things for me.
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
General Tech 10 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 9 Answers
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.
manpreet
Best Answer
2 years ago
OK has something fundamentally changed with ubuntu 16 and php7 regarding installing php extensions?
I just upgraded a server from ubuntu 14 to 16. The server needs to run own cloud. I also cannot rebuild it from scratch :/
apt-cache search php- | less
It lists as expected the available extentions.. eg here is a snippet:
So i went ahead and installed php ImageMagick:
apt-get install php-imagick
The last line of the installation was
WARNING: Module imagick ini file doesn't exist under /etc/php/7.0/mods-available
Sure enough under
.../mods-available
there is no ini file for imagik.What is the cause of this does anyone know?
I am toying with either, php is not installed properly or the system somehow has multiple php versions installed and there is some kind of collision going on somewhere.. in
usr/bin
i can seephp@
andphp7.0*
I'm completely stuck though.