freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] OSX PHP freetds MAMP install question...
- From: Daniel Fazekas <fdsubs AT t-online.hu>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] OSX PHP freetds MAMP install question...
- Date: Tue, 11 May 2010 15:16:07 +0200
On May 11, 2010, at 15:00, Cole McDonald wrote:
> This PHP is the code I'm currently using to test my install
> troubleshooting... I get functions not available, not loaded and not listed
> in the loaded extensions:
What is it that you saw in the phpinfo() output then?
I'd recommend you to try the command-line cli interface of php, executing
"php -m" and checking if it complains about anything. Except I have no idea
what and where this weird MAMP thing you use installs.
If you can figure out where your Apache error log is, that will probably
contain the same kind of error messages.
On a stock Mac OS X system, it would be in /var/log/apache2/error_log, and
you could also browse it using the Console utility.
Or you could try turning
display_startup_errors on
in your php.ini.
My hunch is that when you built the PHP mssql extension, you used the copy of
phpize provided by Apple which then resulted in a module compatible with the
default Apple installation of PHP, rather than the newer or older MAMP
version of it. You'd have to rebuild the module using MAMP's copy of phpize.
The PHP startup warning you would see in this case would look like this:
PHP Warning: PHP Startup: mssql: Unable to initialize module
Module compiled with module API=200XXXXX
PHP compiled with module API=200YYYYY
These options need to match
-
[freetds] OSX PHP freetds MAMP install question...,
Cole McDonald, 05/10/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Robert Gonzalez, 05/10/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Luciano Pacheco, 05/10/2010
- <Possible follow-up(s)>
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Cole McDonald, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Daniel Fazekas, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Cole McDonald, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Daniel Fazekas, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Cole McDonald, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Daniel Fazekas, 05/11/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Cole McDonald, 05/11/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Daniel Fazekas, 05/11/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Cole McDonald, 05/11/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Daniel Fazekas, 05/11/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Cole McDonald, 05/11/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Robert B Carter, 05/18/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Daniel Fazekas, 05/19/2010
- Re: [freetds] OSX PHP freetds MAMP install question..., Robert B Carter, 05/19/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Daniel Fazekas, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Cole McDonald, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Daniel Fazekas, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Cole McDonald, 05/11/2010
-
Re: [freetds] OSX PHP freetds MAMP install question...,
Daniel Fazekas, 05/11/2010
Archive powered by MHonArc 2.6.24.