Just installed a everything from scratch.
- Installed Ubuntu 14.x
- Installed php following these instructions
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
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 220.127.116.11:53372] mod_fcgid: error reading data from FastCGI server
[Mon Apr 18 21:26:02.443081 2016] [core:error] [pid 27307] [client 18.104.22.168: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 22.214.171.124:53556] mod_fcgid: error reading data from FastCGI server
[Mon Apr 18 21:43:21.683094 2016] [core:error] [pid 29096] [client 126.96.36.199: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:
In this post Eric says that you can ad a location to the php-cgi
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,