Ahoj,
php -v vypíše verzi a tak?
Ano, php -v vypíše verzi:
PHP 7.2.11-2+0~20181015120510.9+jessie~1.gbp8105e0 (cli) (built: Oct 16
2018 03:39:58) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.11-2+0~20181015120510.9+jessie~1.gbp8105e0,
Copyright (c) 1999-2018, by Zend Technologies
zkus: virtualmin / server configuration / website options / php script
execution mode - asi default tam je FCGId, tak to zkus
změnit na FPM
Zkusil jsem všechny možnosti, ale nezabralo, pořád se místo instalace
wordrpessu zobrazuje jen:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but
loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
Jindra
[image: GeoTrack]
<https://geotrack.email/?utm_source=gmail&utm_medium=signature&utm_campaign=viralSignature>
Sender
notified with GeoTrack
<https://geotrack.email/?utm_source=gmail&utm_medium=signature&utm_campaign=viralSignature>
čt 25. 10. 2018 v 12:00 odesílatel <community-list-request(a)lists.vpsfree.cz>
napsal:
Send Community-list mailing list submissions to
community-list(a)lists.vpsfree.cz
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.vpsfree.cz/listinfo/community-list
<https://geotrack.email/ext/l?idx=w4Rc0CQUowbU2uXBFlDw&ret=http%3A%2F%2Flists.vpsfree.cz%2Flistinfo%2Fcommunity-list>
or, via email, send a message with subject or body 'help' to
community-list-request(a)lists.vpsfree.cz
You can reach the person managing the list at
community-list-owner(a)lists.vpsfree.cz
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Community-list digest..."
Today's Topics:
1. {Disarmed} nefunguje php (MgA. Jindřich Klapetek)
2. Re: {Disarmed} nefunguje php (petr.bolf)
3. Re: {Disarmed} nefunguje php (Michal Pavel)
4. Re: {Disarmed} nefunguje php (Vaclav Dusek)
----------------------------------------------------------------------
Message: 1
Date: Thu, 25 Oct 2018 06:48:17 +0200
From: MgA. Jindřich Klapetek <info(a)studioosiris.cz>
To: community-list(a)lists.vpsfree.cz
Subject: [vpsFree.cz
<https://geotrack.email/ext/l?idx=w4Rc0CQUowbU2uXBFlDw&ret=http%3A%2F%2Fvpsfree.cz>:
community-list] {Disarmed} nefunguje php
Message-ID:
<CANFnmqgh4nH1B9E-BJHYVW_zCKwj3X=
QGft0mTHKZ5xYdhgzVA(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Ahoj,
mám nainstalovaný Virtualmin
<
https://geotrack.email/ext/l?idx=KqmNAgzO4FR1NOqWVtbd&ret=https%3A%2F%2…
na
debian8, všechno vypadá v pořádku, ale nevidí to php. Php 5.6, 7.0, 7.1,
7.2 je nainstalované, ale když chci nainstalovat wordpress (klasickým
způsobem) tak kvůli nefunkčnosti php to jen vypíše, místo načtení
instalačního scriptu:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but
loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/ /**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true); /** Loads the WordPress Environment and
Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
Když chci ve virtualmin nainstalovat SquirrelMail tak to hlásí chybu:
Failed to install script : Could not find PHP
version for
/home/"user"/public_html/squirrelmail
Při php -v to vypíše verzi:
php -v
PHP 5.6.38-0+deb8u1 (cli) (built: Sep 20 2018 02:32:02)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend
Technologies
Jak to teda rozchodit?
Jindra
[image: GeoTrack]
<
https://geotrack.email/?utm_source=gmail&utm_medium=signature&utm_c…
Sender
notified with GeoTrack
<
https://geotrack.email/?utm_source=gmail&utm_medium=signature&utm_c…
[image: 48]