我已经安装了 php 7.3 和 apache2,但是当我尝试启动 apache2 时,出现以下错误:
service apache2 start
apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.3.load: Cannot load /usr/lib/apache2/modules/libphp7.3.so into server: /usr/lib/apache2/modules/libphp7.3.so: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我真的不知道如何解决这个问题,我尝试删除并重新安装但没有成功。
我是本机反应的新手,这不是我编写此应用程序的人。
有人可以帮助我解决此错误吗,我认为是导致此问题的单位列表,因为仅当我加载页面或在列表中搜索某些内容时,它才会发生。我知道有关此错误的问题很多,但我没有找到解决方案。
Warning: Encountered two children with the same key,%s. Keys should be unique so that components maintain their identity across updates.
ContactScreen.js
import React from 'react';
import { Button, View, FlatList, Alert, StyleSheet, KeyboardAvoidingView } from 'react-native';
import { ListItem, SearchBar } from 'react-native-elements';
import Ionicons from 'react-native-vector-icons/Ionicons';
import { Contacts } from 'expo';
import * as Api from '../rest/api';
import theme from '../styles/theme.style';
import { Contact, ContactType } from '../models/Contact';
class ContactsScreen extends React.Component {
static …Run Code Online (Sandbox Code Playgroud)