Dear all.
Just installed a everything from scratch.
- Installed Ubuntu 14.x
2.updated everything - Installed php following these instructions
http://www.cyberciti.biz/faq/ubuntu-linux-14-04-install-php7-using-apt-get-command/
so far so good ! - than installed (also from scratch) VM with the install.sh script. Everything went smootly as well
- Once everything installed i setup my first virtual domain
- Installed /phpmyadmin
- than in Server Configuration > Website Options i see this:
PHP versions installed 5.5.9, 7.0.5
Modules for PHP 5
bcmath bz2 calendar cgi-fcgi Core ctype date dba dom ereg exif fileinfo filter ftp gd gettext hash iconv json libxml mbstring mcrypt mhash mysql mysqli openssl pcntl pcre PDO pdo_mysql Phar posix Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib
Modules for PHP 7.0
calendar Core ctype date dom exif fileinfo filter ftp gd gettext hash iconv json libxml mcrypt mysqli mysqlnd
openssl pcntl pcre PDO pdo_mysql Phar posix readline Reflection session shmop SimpleXML sockets SPL standard sysvmsg sysvsem sysvshm
tokenizer wddx xml xmlreader xmlwriter xsl zlib
Now when switching a certain dir from php V 5.5.9 to 7.0.5 i get the following message
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.
Eventough i have set a dir to php 7.0.5
home/mydomain/public_html/myproject (joomla)
when running phpinfo()
i see he doesn´t change the php version it still says PHP Version 5.5.9-1ubuntu4.14
and the error log says:
[Mon Apr 18 21:26:02.443008 2016] [fcgid:warn] [pid 27307] (104)Connection reset by peer: [client 79.144.174.182:53372] mod_fcgid: error reading data from FastCGI server
[Mon Apr 18 21:26:02.443081 2016] [core:error] [pid 27307] [client 79.144.174.182:53372] End of script output before headers: index.php
[Mon Apr 18 21:43:21.683022 2016] [fcgid:warn] [pid 29096] (104)Connection reset by peer: [client 79.144.174.182:53556] mod_fcgid: error reading data from FastCGI server
[Mon Apr 18 21:43:21.683094 2016] [core:error] [pid 29096] [client 79.144.174.182:53556] End of script output before headers: index.php
So from what I see here I think that the mod_fcgid is not installed?
Location of php
phpv5.5.9 = /etc/php5
php7 = /etc/php/7.0
and in that dir I see this:
/cli
/fpm
/mod-available
In this post Eric says that you can ad a location to the php-cgi
https://www.virtualmin.com/node/39609
locate php-cgi
/etc/alternatives/php-cgi
/etc/alternatives/php-cgi-bin
/etc/alternatives/php-cgi.1.gz
/usr/bin/php-cgi
/usr/share/man/man1/php-cgi.1.gz
/var/lib/dpkg/alternatives/php-cgi
/var/lib/dpkg/alternatives/php-cgi-bin
root@ubuntu:/home/myproject/public_html/phpmyadmin#
but not sure which to use
Can anyone help me out here what I am missing?
Hoping to hear from anybody.
help is much appriciated and I hope that my question is clear
Thanks in advance,
Regards,
Paco