![]() ![]() How To Install Ubuntu 16.04 LAMP server with Apache 2.4, PHP 7 and PHP 5.6 (Active PHP 5.localhost/phpmyadmin is not working after the update of ubuntu 16.04/16.10.Reindex Magento 2 – Command Line Indexer.How To Install Composer on Ubuntu Server (16-04 or 16-10).How to Install Magento 2 on Ubuntu (16-04 or 16-10). ![]() How to Create Admin Grid,edit/add in Magento 2.What is docker mask and how to unmask docker service?.Note: You can visit complete information in debian bug details.Īdd firstname and lastname in magento newsletter subscription adesh adeshsuryan Adesh Suryan call a static block from template files cron jobs cron jobs in Magento design-patterns-in-magento design patterns Design patterns of Magento Drupal enable error enable exception gang-of-four-design-patterns-in-magento-core get base url in magento improving-magento-performance install extensions MAgento magento-singleton-design-patterns magento2 magento base url phtml magento base_url magento change base url magento cms base url Magento cron magento cron job Magento extensions magento get base url magento installation base url Magento install extensions magento newsletter subscription Magento Static block Magento store URL magento xampp base url MySql Query Cache for Magento Query Cache set cron job in custom module set cron job in custom module of magento Singleton in magento staic block any XML Static block static block in CMS unsubscribe link in magento unsubscribe link in newsletter template URL Recent Thoughts Solution: Run the below command and restart server. Sudo ln -sfn /usr/bin/php5.6 /etc/alternatives/phpįailed opening required ‘/usr/share/php/php-gettext/gettext.inc Sudo a2dismod php7.0 & sudo a2enmod php5.6 & sudo service apache2 restart Sudo ln -sfn /usr/bin/php7.0 /etc/alternatives/php Sudo a2dismod php5.6 & sudo a2enmod php7.0 & sudo service apache2 restart If you are using different version of php then update the php configuration with the help of “Step 2: Install PHP and add PPA” from setup blog like below ![]() Solution: Please check the setup with setup blog. Same for php_soap.dll php_pdo_mysql.dll php_mysql.dll ![]() Shared object file: No such file or directory in # Type 1: PHP Warning: PHP Startup: Unable to load dynamic This addressed the issue at least for me.Phpmyadmin is not working. Every things are working fine like but while accessing it is giving HTTP ERROR 500 The localhost page isn’t working.Įrror: Check the error.log (/var/log/apache2/error.log ) and fix the issue like below To resolve the problem, update your openbasedir setting in php.ini (or possibly in Apache's configuration) to contain the new path. htaccess files from disabling it.Īs you can see if you want enable php you just have to comment the code so that it looks something like this - # Running PHP scripts in user directories is disabled by default It looks like the location of your PHP gettext directory changed with the upgrade, and you are using openbasedir to restrict which directories PHP files are loaded from. # To re-enable PHP in user directories comment the following lines The php.conf file contents are as follows - # Running PHP scripts in user directories is disabled by default It depends on a lot of things but in my case the problem lied in the nf file which resides in etc/apache2/mods-enabled/php5-conf. The real problem was to find why localhost/phpmyadmin was returning php code. I want to thank HeadCode for taking interest in my question. Try going back through all those steps and double checking everything. When you were going through the steps of installing your LAMP stack did you do the test of creating the info.php file? I just created an Ubuntu 14.4 VM and followed all the steps and it worked for me the first time. It gives Apache a clue for what file to try to serve if you navigate to a directory instead of a file: ĭon't forget to restart Apache after changing your nf file.įor your installation specifically make sure you have the following files: /etc/apache2/mods-enabled/nf You also might want to look to make sure this directive is in place. Make sure you have this: AddHandler php5-script. Much further down you'll see some AddHandler lines. In your nf file make sure you have this line and that it is not commented out: LoadModule php5_module modules/libphp5.so OK, this isn't really an answer but it's more than a comment. ![]()
0 Comments
Leave a Reply. |