[MacPorts] #25941: php52 fastcgi doesn't work. can't find native php functions
MacPorts
noreply at macports.org
Tue Aug 3 17:52:42 PDT 2010
#25941: php52 fastcgi doesn't work. can't find native php functions
-------------------------------+--------------------------------------------
Reporter: axolx@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 1.9.1
Keywords: php | Port: php52
-------------------------------+--------------------------------------------
I've upgraded by older php52 port to:
php52 @5.2.14_0+fastcgi+mysql5+pear+postgresql83+sqlite+tidy
The regular php binary works fine, but php-cgi cannot find native php
functions. I thought I upgrade may have left some libs behind, so I wiped
out /opt/local/lib/php and /opt/local/etc and recompiled to no avail.
Illustration of the problem:
Running CLI php:
{{{
[beast] /opt/local/bin/php -a
Interactive mode enabled
<?php phpinfo(); ?>
[regular phpinfo output]
}}}
Running the FastCGI binary php:
{{{
[beast] /opt/local/bin/php-cgi -a
Interactive mode enabled
<?php phpinfo(); ?>
PHP Fatal error: Call to undefined function phpinfo() in - on line 1
Status: 500 Internal Server Error
X-Powered-By: PHP/5.2.14
Content-type: text/html
}}}
'''Versions:'''
{{{
[beast] /opt/local/bin/php -v
PHP 5.2.14 (cli) (built: Aug 3 2010 17:19:43)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
}}}
{{{
[beast] /opt/local/bin/php-cgi -v
PHP 5.2.14 (cgi-fcgi) (built: Aug 3 2010 17:19:42)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
}}}
MacPorts 1.9.1
OS X 10.6.4
--
Ticket URL: <http://trac.macports.org/ticket/25941>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list