Submitted by moimichel on Tue, 06/27/2017 - 11:11
In single php version (7.0) everything works just fine.
I want both version of php(5.6 and 7.0) working together.
I have installed php 5.6
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5.6
I have made a Re-check Configuration
I get this error when trying to load index.php with only phpinfo() in it.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
I have noticed that in the directory /home/virtualserver/etc/ php.ini is pointing to php5.6/php.ini but it does nort exists.
Thanks for your help.
Status:
Active
Comments
Submitted by andreychek on Tue, 06/27/2017 - 11:54 Comment #1
Howdy -- when that happens, what do you see in the Apache error log for that domain?
You can find the error log in $HOME/logs/error_log.