I have a linux server CentOS Linux release 8.5.2111 .
I'm trying to compile PDO_IBM extension .
I have php 7.4.
I have installed ibm driver package
tar -xvzf ibm_data_server_driver_package_linuxx64_v11.5.tar.gz
mv dsdriver /opt/ibm/
cd /opt/ibm/dsdriver
./installDSDriver
After that
export IBM_DB_HOME=/opt/ibm/dsdriver
pecl install ibm_db2
Everything is good: I can see the new ext with pecl list
After that (PDO_IBM 1.5.0)
pecl download PDO_IBM
cd to PDO dir
phpize --clean
phpize
./configure
make
make install
The first error is
/bin/sh /home/PDO_IBM-1.5.0/libtool --mode=link cc -DPHP_ATOM_INC -I/home/PDO_IBM-1.5.0/include -I/home/PDO_IBM-1.5.0/main -I/home/PDO_IBM-1.5.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -o pdo_ibm.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/PDO_IBM-1.5.0/modules pdo_ibm.lo ibm_driver.lo ibm_statement.lo -Wl,-rpath, -L -ldb2
libtool: error: require no space between '-L' and '-ldb2'
If i try to edit MakeFile and correct the space
libtool: error: cannot determine absolute directory name of '-ldb2'
Where I'm wrong ?
Find the solution: the compiler expect to found lib X64 file in /opt/ibm/lib64 but from default dsdriver setup create two folder: lib32 for X32 and lib for X64. just create a copy and the compiler works well.
Also i need to add:
./configure --with-pdo-ibm=/opt/ibm/dsdriver
Related
Trying to deploy a PHP Azure "App Service" app, which connects to a SQL Server database
I have to add the sqlsrv and sqlsrv_pdo packages by running pecl install pdo_sqlsrv and pecl install sqlsrv`
Other threads have mentioned adding apt-get install unixodbc-dev, I have done so, but it does not help
Here is the error I'm getting below
creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-rootiNpTPo/pdo_sqlsrv-5.10.1/libtool --mode=compile g++ -I. -I/tmp/pear/temp/pdo_sqlsrv -I/tmp/pear/temp/pear-build-rootiNpTPo/pdo_sqlsrv-5.10.1/include -I/tmp/pear/temp/pear-build-rootiNpTPo/pdo_sqlsrv-5.10.1/main -I/tmp/pear/temp/pdo_sqlsrv -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/tmp/pear/temp/pdo_sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -I/usr/local/include/php/ext -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/pdo_sqlsrv/pdo_dbh.cpp -o pdo_dbh.lo -MMD -MF pdo_dbh.dep -MT pdo_dbh.lo
g++ -I. -I/tmp/pear/temp/pdo_sqlsrv -I/tmp/pear/temp/pear-build-rootiNpTPo/pdo_sqlsrv-5.10.1/include -I/tmp/pear/temp/pear-build-rootiNpTPo/pdo_sqlsrv-5.10.1/main -I/tmp/pear/temp/pdo_sqlsrv -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/tmp/pear/temp/pdo_sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -I/usr/local/include/php/ext -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/pdo_sqlsrv/pdo_dbh.cpp -MMD -MF pdo_dbh.dep -MT pdo_dbh.lo -fPIC -DPIC -o .libs/pdo_dbh.o
In file included from /tmp/pear/temp/pdo_sqlsrv/php_pdo_sqlsrv_int.h:23,
from /tmp/pear/temp/pdo_sqlsrv/pdo_dbh.cpp:24:
/tmp/pear/temp/pdo_sqlsrv/shared/core_sqlsrv.h:48:10: fatal error: config.h: No such file or directory
48 | #include "config.h"
| ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:205: pdo_dbh.lo] Error 1
ERROR: `make' failed
I was expecting the pecl package to run... actually I was expecting the Microsoft App Service linux box to support MS Sql Server by default, but you get what I'm saying
Okay, after 3 days of messing around with this, I found a solution
Azure doesn't have sudo command... but in order to install pecl packages, you MUST run su -
su -
pecl install pdo_sqlsrv
pecl install sqlsrv
cp /home/site/wwwroot/azure/custom_php.ini /usr/local/etc/php/conf.d/;
exit;
service nginx reload;
The contents of my custom_php.ini file are
extension=pdo_sqlsrv.so
extension=sqlsrv.so
NOTE:
For Azure, I had to create a .sh file in my project and run all this from Home > My App > Configuration > General Settings > Startup Command - so that it'd be ran every time a new server is instantiated
NOTE 2: I also had to make changes to the nginx /etc/nginx/sites-enabled/default file, which moved the root of my project to /home/site/wwwroot/public - but that's laravel specific
I'm trying to start existing php application in azure App Service.
Application is using apcu extension.
I'm trying to istall extension to the app service.
I connect via ssh and try to install the extension via
pecl install apcu
But I'm getting following error:
creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-rootdX8M2c/apcu-5.1.19/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootdX8M2c/a
pcu-5.1.19/include -I/tmp/pear/temp/pear-build-rootdX8M2c/apcu-5.1.19/main -I/tmp/pear/temp/apcu -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/u
sr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc.c -o apc.lo
cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootdX8M2c/apcu-5.1.19/include -I/tmp/pear/temp/pear-build-rootdX8M2c/apcu-5.1.19/main -I/tmp
/pear/temp/apcu -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -c /tmp/pear/temp/apcu/apc.c -fPIC -DPIC -o .libs/apc.o
In file included from /tmp/pear/temp/apcu/apc.c:32:
/tmp/pear/temp/apcu/apc.h:64:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
make: *** [Makefile:194: apc.lo] Error 1
ERROR: `make' failed
I think it's a bug in php 7.4 version. I switch it to 7.2 and 7.3, and it works for me.
Tips
If you insist on using version 7.4, you can try to install apcu and then switch the version back to 7.4. I haven't tested this solution with a project, it's just an alternative solution, I hope it helps you.
You can raise a support ticket to confirm this.
Change the php version to 7.2 or 7.3 first,
and run command pecl install apcu .
it works for me.
Step 1. Change php version.
Step 2. Open SSH.
Step 3. Run command pecl install apcu
I use my Mac to develop three projects: a Android app, a iPhone app, and a Symfony project.
My Symfony project uses Redis and APCu extensions. This was installed (6 months ago) via PECL using:
sudo pecl install redis
and
sudo pecl install apcu
Yesterday, after update my mac to Mojave, and try to start my PHP's built-in Web Server as usual, I get the following error:
Attempted to load class "Redis" from the global namespace. Did you
forget a "use" statement?
I also noticed that php.ini was removed during the installation, so I used the php.ini-previous to generate the php.ini again.
Also re-installed the Command Line Tools (was removed during installation):
xcode-select --install
And finally, I tried to install the redis extenison via PECL, again:
sudo pecl install redis
This time PECL throws an error:
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/temp/pear-build-root1vQ0zO/redis-4.1.1/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/redis -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-root1vQ0zO/redis-4.1.1/include -I/private/tmp/pear/temp/pear-build-root1vQ0zO/redis-4.1.1/main -I/private/tmp/pear/temp/redis -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/redis/redis.c -o redis.lo
mkdir .libs
cc -I. -I/private/tmp/pear/temp/redis -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-root1vQ0zO/redis-4.1.1/include -I/private/tmp/pear/temp/pear-build-root1vQ0zO/redis-4.1.1/main -I/private/tmp/pear/temp/redis -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/redis/redis.c -fno-common -DPIC -o .libs/redis.o
In file included from /private/tmp/pear/temp/redis/redis.c:27:
/private/tmp/pear/temp/redis/common.h:1:10: fatal error: 'php.h' file not found
#include "php.h"
^~~~~~~
1 error generated.
make: *** [redis.lo] Error 1
ERROR: `make' failed
How can solve this issue?
Running the following command will reinstall the developer tools header files and fix the issue.
$ sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
You'll want to do
$ locate php.h
results should be something like:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/php/main/php.h
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/php/main/php.h
Next, you'll want to disable SIP so you can create a folder in /usr/include and symlink the php dev dependencies to this folder, You have to boot into recovery to do this; restart you machine then hold cmd + R while it restarts, select terminal from the utilities menu.
run # csrutil disable && shutdown -r now
this will disable SIP and restart your machine.
Once your booted in, you'll want to create that folder we talked about like so sudo mkdir /usr/include
next we create a symlink to where the php dev files are located
$ ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/php /usr/include
You'll still have to enable SIP back, so boot back into recovery mode this time around you'll run
# csrutil enable && shutdown -r now, and thats it.
I'm trying to install the RabbitMQ PECL extension but after running
sudo pecl install amqp
I get the following cryptic error message, which extensive googling hasn't helped resolve.
I have these packages installed:
librabbitmq - RabbitMQ C client itself)
librabbitmq-dev - dev headers etc.
and RabbitMQ running successfully on localhost
Maybe it could be a mismatch in the version of the C client and what the PECL extension expects, anybody else come across this one?
Make output below....
Cheers
running: make
/bin/bash /tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/libtool --mode=compile cc -I. -I/tmp/pear/temp/amqp -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootZNUmac/amqp- 1.0.0/include -I/tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/main -I/tmp/pear/temp/amqp - I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/amqp/amqp.c -o amqp.lo
libtool: compile: cc -I. -I/tmp/pear/temp/amqp -DPHP_ATOM_INC -I/tmp/pear/temp/pear- build-rootZNUmac/amqp-1.0.0/include -I/tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/main - I/tmp/pear/temp/amqp -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/amqp/amqp.c -fPIC -DPIC -o .libs/amqp.o
/bin/bash /tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/libtool --mode=compile cc -I. -I/tmp/pear/temp/amqp -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootZNUmac/amqp- 1.0.0/include -I/tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/main -I/tmp/pear/temp/amqp - I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/amqp/amqp_exchange.c -o amqp_exchange.lo
libtool: compile: cc -I. -I/tmp/pear/temp/amqp -DPHP_ATOM_INC -I/tmp/pear/temp/pear- build-rootZNUmac/amqp-1.0.0/include -I/tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/main - I/tmp/pear/temp/amqp -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/amqp/amqp_exchange.c -fPIC -DPIC -o .libs/amqp_exchange.o
/bin/bash /tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/libtool --mode=compile cc -I. -I/tmp/pear/temp/amqp -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootZNUmac/amqp- 1.0.0/include -I/tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/main -I/tmp/pear/temp/amqp - I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/amqp/amqp_queue.c -o amqp_queue.lo
libtool: compile: cc -I. -I/tmp/pear/temp/amqp -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/include -I/tmp/pear/temp/pear-build-rootZNUmac/amqp-1.0.0/main - I/tmp/pear/temp/amqp -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/amqp/amqp_queue.c -fPIC -DPIC -o .libs/amqp_queue.o
/tmp/pear/temp/amqp/amqp_queue.c: In function 'read_message_from_channel':
/tmp/pear/temp/amqp/amqp_queue.c:316:11: error: 'AMQP_FIELD_KIND_U64' undeclared (first use in this function)
/tmp/pear/temp/amqp/amqp_queue.c:316:11: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/amqp/amqp_queue.c: In function 'zim_amqp_queue_class_nack':
/tmp/pear/temp/amqp/amqp_queue.c:1020:2: error: unknown type name 'amqp_basic_nack_t'
/tmp/pear/temp/amqp/amqp_queue.c:1039:3: error: request for member 'delivery_tag' in something not a structure or union
/tmp/pear/temp/amqp/amqp_queue.c:1040:3: error: request for member 'multiple' in something not a structure or union
/tmp/pear/temp/amqp/amqp_queue.c:1041:3: error: request for member 'requeue' in something not a structure or union
/tmp/pear/temp/amqp/amqp_queue.c:1046:3: error: 'AMQP_BASIC_NACK_METHOD' undeclared (first use in this function)
make: *** [amqp_queue.lo] Error 1
ERROR: `make' failed
I had to install it applying following steps found here:
# Download the rabbitmq-c library # version 0-9-1
git clone git://github.com/alanxz/rabbitmq-c.git
cd rabbitmq-c
# Enable and update the codegen git submodule
git submodule init
git submodule update
# Configure, compile and install
autoreconf -i && ./configure && make && sudo make install
After that, sudo pecl install amqp did the work.
Using Ubuntu 12.10 with PHP 5.4.3.
this is what I did to install it successfully on debian wheezy:
apt-get install pkg-config librabbitmq-dev librabbitmq0
git clone https://github.com/alanxz/rabbitmq-c
cd rabbitmq-c/
autoreconf -i
./configure
make
make install
pecl install amqp
It looks like the PECL extension is newer than the the libraries that you have got installed.
Install RabbitMQ directly from the their website, using their packages and not the ones that have come with your distribution as they seems to be out of date.
The dev lib from repo is broken (as usually....). You have to clone (from GIT or HG) and make the lib, from php.net :
hg clone http://hg.rabbitmq.com/rabbitmq-c/rev/b01825ecc112 rabbitmq-c
cd rabbitmq-c
# Add the codegen requirement. To find the full list, go here: http://hg.rabbitmq.com/rabbitmq-codegen/tags
# and copy the URL for the appropriate broker version.
hg clone http://hg.rabbitmq.com/rabbitmq-codegen/rev/16bbcb711380 codegen
# Configure, compile and install
autoreconf -i && ./configure && make && sudo make install
Then run "pecl install amqp", worked in my ubuntu 12 with Php 5.3
This is what I did to install it successfully on debian wheezy: I had to use version 0.5.2 of rabbitmq-c
git clone https://github.com/alanxz/rabbitmq-c
cd rabbitmq-c
git checkout tags/v0.5.2
git submodule init
git submodule update
autoreconf -i && ./configure && make && make install
pecl install amqp
This is because your rabbitmq is older than the version the php extension requires.
You can install newer version of rabbitmq or lower version of the extension like:
pecl install amqp-1.2.0
But I think using latest versions is better choice.
Installing rabbitmq's AMQP with pecl with PHP7.0
Just follow few these steps, this will install all its dependencies and amqp library. It works for me with bento/ubuntu-16.04 with php7.0
apt-get update
wget http://in.archive.ubuntu.com/ubuntu/ubuntu/pool/universe/libr/librabbitmq/librabbitmq1_0.5.2-2_amd64.deb
dpkg -i librabbitmq1_0.5.2-2_amd64.deb
wget http://in.archive.ubuntu.com/ubuntu/ubuntu/pool/universe/libr/librabbitmq/librabbitmq-dev_0.5.2-2_amd64.deb
dpkg -i librabbitmq-dev_0.5.2-2_amd64.deb
apt-get install php7.0 php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-xml php7.0-dev
pecl install amqp
echo "extension=amqp.so" >> /etc/php/7.0/cli/php.ini
echo "extension=amqp.so" >> /etc/php/7.0/fpm/php.ini
Librabbitmq-dev and its dependencies of different versions it can be downloaded from
http://in.archive.ubuntu.com/ubuntu/ubuntu/pool/universe/libr/librabbitmq/
I am running OS X 10.7 Lion with Zend Server CE 5.5 (and therefore PHP 5.3.8). When I try to setup a new Symfony2 project the configuration checker warns me to upgrade the intl extension to ICU 4+.
I followed the instructions I found in another StackOverflow Post, mainly this blog post about upgrading intl on Lion. But when I try to compile the extension with PHP 5.3.8. I get the following error:
$ make
/bin/sh /Users/Florian/Downloads/php-5.3.8/ext/intl/libtool --mode=compile cc -I/usr/local/include -I. -I/Users/Florian/Downloads/php-5.3.8/ext/intl -DPHP_ATOM_INC -I/Users/Florian/Downloads/php-5.3.8/ext/intl/include -I/Users/Florian/Downloads/php-5.3.8/ext/intl/main -I/Users/Florian/Downloads/php-5.3.8/ext/intl -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /Users/Florian/Downloads/php-5.3.8/ext/intl/php_intl.c -o php_intl.lo
mkdir .libs
cc -I/usr/local/include -I. -I/Users/Florian/Downloads/php-5.3.8/ext/intl -DPHP_ATOM_INC -I/Users/Florian/Downloads/php-5.3.8/ext/intl/include -I/Users/Florian/Downloads/php-5.3.8/ext/intl/main -I/Users/Florian/Downloads/php-5.3.8/ext/intl -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /Users/Florian/Downloads/php-5.3.8/ext/intl/php_intl.c -fno-common -DPIC -o .libs/php_intl.o
/Users/Florian/Downloads/php-5.3.8/ext/intl/php_intl.c:490: error: ‘PHP_FE_END’ undeclared here (not in a function)
make: *** [php_intl.lo] Error 1
I was able to compile intl.so with PHP 5.3.6 but when I put that file in my php_extensions directory, PHP does not recognize intl at all. I think in my last attempt I tried to compile it with ICU 4.0.1, but I also tried some other versions like 4.8.1 or 4.6.1. Is there any possibility to compile ICU with PHP 5.3.8 on 10.7 at the moment?
How much do you need Zend Server? If not at all, then you could try http://php-osx.liip.ch/ which comes with ext/intl and everything else you need for Symfony2