php命令行执行出错怎么办

不言
Release: 2023-02-28 11:02:02
Original
1567 people have browsed it

php命令行执行出错怎么办

php命令行执行出错怎么办?

Windows

问题描述:提示是找不到模块php_oci.dll等等

问题分析:应该是没有装oracle就开了这个扩展.

问题解决:关掉相关oracle的扩展

Linux

问题描述:whereis php 没有内容

问题分析:应该是没有装php,但是apache能执行,就是说明安装了.只是少了可以命令行执行的部分.

问题解决: php-cli,安装上之后,可以了.ps:我用的是ubuntuserver,直接apt-get install php-cli,~~OK

更多相关知识,请访问PHP中文网

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!