WebJun 23, 2016 · 本文章给大家介绍configure: error: Cannot find php-config. Please use --with-php-config=PATH错误解决办法。 configure: error: Cannot find php-config. … WebMar 20, 2008 · Please use --with-php-config=PATH even when explicitly specifying the php-config location, the ./configure --with-php-config=/usr/bin/php-config command still throws an identical error. The file is there, accessible and not empty: $ ls -l /usr/bin/php-config -r-xr-xr-x 1 root wheel 3031 22 mrt 21:44 /usr/bin/php-config $ head /usr/bin/php …
Where is the php.ini file on a Linux/CentOS PC?
WebJun 6, 2015 · Please use --with-php-config=PATH I have confirmed the path to php-config and tried both with and without the php-config filename. – David Patterson Jun 6, 2015 at 15:16 You are right the enable-debug option is not necessary (and wrong) when configuring the extension. The --with-php-config is important. Where did you build php in debugging … WebJul 24, 2024 · Please use --with-php-config=PATH ... point to the fact, that you missed to install the corresponding " dev " - PHP - packages. For CentOS, @IgorG already pointed out: IgorG said: yum install plesk-php56-devel ... while on Debian/Ubuntu - based systems, this command would be for example: Code: aptitude install plesk-php56-dev D DC2024 … shwetool
安装php扩展时报错Cannot find php-config. Please use
WebSep 17, 2024 · To use php-config you will need to have the PHP development package installed, in Ubuntu you can install the PHP5 development package using: sudo apt- get install php5- dev After … WebJul 25, 2013 · And it will show you something like this Loaded Configuration File => /etc/php.ini. ALTERNATIVE METHOD You can make a php file on your website, which run: , and you can … Web1 Answer Sorted by: 14 An earlier error message (because of a typo) led me down a rabbit hole and I changed --with-libdir=lib64 to libdir=\usr\lib64, which somehow triggered this current error. By fixing my original typo (a missing "--") and reverting to with-libdir=lib64, everything worked as expected. Share Improve this answer Follow the pass training