Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ezalp

macrumors newbie
Original poster
Dec 7, 2010
3
0
In the beginning i would like to inform that im new to mac os x system and its hard to get used to it.

I've tried to setup php symfony environment since i have problems with XSL module.

Few facts :

My config mode from phpinfo()
"'./configure' '--with-pgsql' '--with-apxs2'"

My symfony configuration check
********************************
* *
* symfony requirements check *
* *
********************************

php.ini used by PHP: /usr/local/lib/php.ini


** Mandatory requirements **

OK PHP version is at least 5.2.4 (5.3.3)

** Optional checks **

OK PDO is installed
OK PDO has some drivers installed: sqlite, sqlite2, pgsql
OK PHP-XML module is installed
[[WARNING]] XSL module is installed: FAILED
*** Install and enable the XSL module (recommended for Propel) ***
OK The token_get_all() function is available
[[WARNING]] The mb_strlen() function is available: FAILED
*** Install and enable the mbstring extension ***
OK The iconv() function is available
OK The utf8_decode() is available
OK The posix_isatty() is available
[[WARNING]] A PHP accelerator is installed: FAILED
*** Install a PHP accelerator like APC (highly recommended) ***
OK php.ini has short_open_tag set to off
OK php.ini has magic_quotes_gpc set to off
OK php.ini has register_globals set to off
OK php.ini has session.auto_start set to off
OK PHP version is not 5.2.9

in 'php -m' i get information that xsl is already installed.

Except that i have in both php.ini's removed the '#' from Loadmodule=php_xsl.dll

I had problem with PD_PGSQL.dll extension , but i managed to download via Zend framework the pg_pgsql.so file mv to extension php folder changed it name and it works for now ok.

The 2nd question is how to install the modules for xcode php engine.I have really no idea , tried via PEAR , but no clue.


Additional info from PEAR :

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/php_xsl.dll' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20090626/php_xsl.dll, 9): image not found in Unknown on line 0
 
Last edited:
hey i'm new Mac user too

check for macports and Porticus a GUI frontend for macports

is really easy install php5 with all need for work with symfony.

macports download, compile and install for you
 
In the beginning i would like to inform that im new to mac os x system and its hard to get used to it.

I've tried to setup php symfony environment since i have problems with XSL module.

Few facts :

My config mode from phpinfo()


My symfony configuration check


in 'php -m' i get information that xsl is already installed.

Except that i have in both php.ini's removed the '#' from Loadmodule=php_xsl.dll

I had problem with PD_PGSQL.dll extension , but i managed to download via Zend framework the pg_pgsql.so file mv to extension php folder changed it name and it works for now ok.

The 2nd question is how to install the modules for xcode php engine.I have really no idea , tried via PEAR , but no clue.


Additional info from PEAR :

Ok, your biggest problem is that you are trying to use .DLL files and you are on a Mac. DLL files are for Windows. You want to always use the .so versions of the files.

Second, you have to compile that XSL module or whatever, which it looks like you aren't. Readd the # to the line in php.ini and and add --with-xsl to the configure command (if you are indeed compiling from source)

At the end of the day, with your experience, you will be better off installing a precompiled version as mentioned by the prior poster.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.