freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] OSX PHP freetds MAMP install question...
- From: Cole McDonald <knightscape AT charter.net>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] OSX PHP freetds MAMP install question...
- Date: Tue, 11 May 2010 09:06:20 -0500
I very specifically see this:
http://www.yafiunderground.com/Files/phpinfo.doublet.html
The instructions I linked in my original mail seemed straightforward enough to me, but didn't get me up and running. I'll take a look at the non-system php logs to see what it's saying now... hold please ... and I'm back:
[07-May-2010 20:16:27] PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php5/lib/php/extensions/no- debug-non-zts-20060613/mssql.so' - (null) in Unknown on line 0
I'll assume then that either the compile failed, but produced a module anyway, or my environment is somehow not right for the extension to work correctly, even though relatively standard, with no funny Terminal based configuration until needing to install this plug-in.
MAMP is an application that makes install of the LAMP world (but Mac rather than Linux) easier for the user (me) who would rather not have to go through the rigamarole of building and compiling everything anymore... I grew tired of that with punch cards and minicomputers in the mid-late 70s (personal rant). I'd rather check a box to turn a service on than spend (what is getting on to 4 days) to get it working... Fixing them may have bought me a house and two cars, but wasn't the original dream of computers to make life simpler?</rant>
---------------------------------------------------------
Cole McDonald (320)310-7791
Producer/Director
Y.A.F.I.:Underground Productions
---------------------------------------------------------
http://www.yafiunderground.com
---------------------------------------------------------
On May 11, 2010, at 8:16 AM, Daniel Fazekas wrote:
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 mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
-
[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..., Cole McDonald, 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.