-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant find php.h where zephir build #1653
Comments
You need to install
The path you provided for php-config is wrong. Or well you missed |
Hi, thanks for you reply.
It compile success.
thanks for your reply, and it solve my problem. |
sudo /usr/local/bin/zephir build --with-php-config=/usr/local/php81/bin/php-config ll /usr/local/php81/bin/ What is this? Zephir 0.15.2 |
@jiangshengxin See more info here - #2255 |
|
Hello. Can you help me, please? Ubuntu 20.04
compile-errors.log:
Which direction should I look? |
php5.6-dev is installed |
The "--with-php-config" option does not exist |
@Jurigag, can you help me, please? |
@Syatsura Zephir 0.16 is only for PHP7.4 or above. |
@Jeckerson, thank you for your reply. But I have PHP 7.4.3. |
|
Can you help me, please? Which direction should I look? Thank you in advance. @Jurigag, @Jeckerson, @sergeyklay, @andresgutierrez, @ovr, @AlexNDRmac, @sjinks, @steffengy, @carvajaldiazeduar, @nkt, @dreamsxin, @gsouf |
Take a look at this |
cd /data/install
wget https://www.php.net/distributions/php-8.1.1.tar.gz
tar -zxvf ./php-8.1.1.tar.gz
cd /usr/include/php
# Backing up original files
sudo mkdir .bak
sudo mv * ./.bak/
# Introducing new source code
sudo ln -s /data/install/php-8.1.1/ext /usr/include/php/
sudo ln -s /data/install/php-8.1.1/include /usr/include/php/
sudo ln -s /data/install/php-8.1.1/main /usr/include/php/
sudo ln -s /data/install/php-8.1.1/sapi /usr/include/php/
sudo ln -s /data/install/php-8.1.1/TSRM /usr/include/php/
sudo ln -s /data/install/php-8.1.1/Zend /usr/include/php/
# install zephir
git clone https://github.com/zephir-lang/zephir.git
composer install
chmod +x zephir
sudo ln -s /data/www/jsx/zephir/zephir /usr/local/bin/
✔> zephir
_____ __ _
/__ / ___ ____ / /_ (_)____
/ / / _ \/ __ \/ __ \/ / ___/
/ /__/ __/ /_/ / / / / / /
/____/\___/ .___/_/ /_/_/_/
/_/ |
@Syatsura please do not tag people like this who are not related to an issue, thanks :) |
@jiangshengxin, thank you for your help :) |
I have successfully installed in this way, using Pecl.
Adding a repository
|
I am a rookie in zephir and github
My php release is 5.6.31 and zephir release is 0.10.0
I have install zephir success, but when I build, cli report 'cant find php.h' as below
'没有那个文件或目录' mean 'No such file or directory'
SO WHAT SHOULD I DO ??? (●'◡'●)ノ
The text was updated successfully, but these errors were encountered: