Hi there:
I have PHP 5.2.6 on Ubuntu 8.10
Recently, I installed swig 3.1.36 in order to run some C++ libraries from PHP
During compilation, the compile needs info about php include files, using php-config
I install php-config (1.10.11-1), still when I run
$ php-config --includes
I always receive the error message
command not found
I've read the manual on http://linux.die.net/man/1/php-config and it seems to be a very simple thing. Still I can't do anything.
I wonder if the package php-info I download is the same thing as the shell script mentioned in the manual? If not, where can I find that script?
Thank you very much
php-config
Moderator: General Moderators
Re: php-config
It turns out that the package I downloaded has nothing to do with the script I need. It's a PEAR package providing manipulation of PHP config to programmer.
So I still need to find out where to download the php-config script
So I still need to find out where to download the php-config script
Re: php-config
Finally, php-config is a script that come with PHP when you install it with an appropriate option (don't know what yet). So, the only way I can access to that is to reinstall php! I decide to wait a little bit. When I upgrade to the new version of PHP I will remember to install it. For a while, just forget about SWIG.