Docker PHP71 curl有效PHP72不起作用

时间:2018-08-17 13:10:18

标签: php docker nginx php-7.2 fpm

我有一个Docker容器,我已将Dockerfile从class Provider extends Component { state = { placeName: 'hello', image: 'https://images.unsplash.com/photo-1534075786808-9b819c51f0b7?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=4dec0c0b139fb398b714a5c8264b4a9a&auto=format&fit=crop&w=934&q=80', places: [], } textInputHandler = (text) => { this.setState({ placeName: text, }) } searchInputHandler = (text) => { const SearchedPlace = this.state.places.filter(place => { return place.name.includes(text) }) this.setState(prevState => { return { places: SearchedPlace, } }) } placeSubmitHandler = () => { if (this.state.placeName) { this.setState(prevState => { return { places: [...prevState.places, { name: prevState.placeName, image: prevState.image, }], placeName: '', } }) } else { return; } } placeDeleteHandler = (id, deleteModal) => { const newPlaces = this.state.places.filter((place, index) => { return index !== id }) this.setState({ places: newPlaces, }) deleteModal(); } render() { return ( <GlobalContext.Provider value={{ state: this.state, textInputHandler: this.textInputHandler, placeSubmitHandler: this.placeSubmitHandler, placeDeleteHandler: this.placeDeleteHandler, searchInputHandler: this.searchInputHandler, }}> {this.props.children} </GlobalContext.Provider> ) } } 更改为php:7.1-fpm。我没有进行任何其他更改,但是无法执行HTTPS cURL,对于所有HTTPS请求,我都收到以下curl错误。 HTTP可以正常工作。

  

错误:140770FC:SSL例程:SSL23_GET_SERVER_HELLO:未知协议

有什么想法吗?

0 个答案:

没有答案