Hi everybody, go easy at me as i'm am at my first attempt on using darwin ports. ;-) i'm trying to install php5 using darwinports and keeping the regular apache installation that comes with os x 10.3 server. I'm doing this installation in a fresh installation of 10.3 server (all updates) and a fresh installation of darwin ports. In order to use the regular apache i'm partly using some suggestion i found at this address: "http://www.netmusician.org/wiki/index.php/ Build_server_with_DarwinPorts" this is the process i go through: sudo -s # port -v install php5 +apache When the installation process is finished i (sort of) follow the advice to enable php in apache the difference is that i use the apxs that comes with the os x apache installation # cd /opt/local/libexec/apache/ # apxs -a -e -n "php5" libphp5.so then i create a symbolic link to libphp5.so # ln -s /opt/local/libexec/apache/libphp5.so /usr/libexec/httpd/ libphp5.so When i ran a configtest this is what i get: # apachectl configtest Processing config directory: /etc/httpd/sites/*.conf Processing config file: /etc/httpd/sites/virtual_host_global.conf Syntax OK dyld: /usr/sbin/httpd Undefined symbols: _checkpw /usr/sbin/apachectl: line 193: 18723 Trace/BPT trap $HTTPD -t I have attempted a few options but the result was identical: installing apache 1.3.x with darwin ports before installing php5 non installing apache 1.3.x (or as the case was uninstalling it) before installing php5 I have also attempted to make a few modification to the Portfile which was very instructive to the working of portfiles but didn't help solve my problem does anybody have suggestions (or even better solutions ;-)? Maybe i'm missing something very basic... anyway. thank you. Marco
On Nov 13, 2006, at 21:18, Marco Battistella wrote:
When i ran a configtest this is what i get:
# apachectl configtest Processing config directory: /etc/httpd/sites/*.conf Processing config file: /etc/httpd/sites/virtual_host_global.conf Syntax OK dyld: /usr/sbin/httpd Undefined symbols: _checkpw /usr/sbin/apachectl: line 193: 18723 Trace/BPT trap $HTTPD -t
I searched for that error message on Google and according to this page... http://blogs.montclair.edu/copelanda/archives/category/general/page/2/ ...this problem can occur with the Apache on Mac OS X Server depending on the load order of the modules. It seems that the apple_auth_module must be loaded *after* the php5 module. Can you try rearranging your LoadModule and AddModule directives?
That was it: changing the load order of the modules fixed everything. Thank you. Marco On Nov 14, 2006, at 12:54 PM, Ryan Schmidt wrote:
On Nov 13, 2006, at 21:18, Marco Battistella wrote:
When i ran a configtest this is what i get:
# apachectl configtest Processing config directory: /etc/httpd/sites/*.conf Processing config file: /etc/httpd/sites/virtual_host_global.conf Syntax OK dyld: /usr/sbin/httpd Undefined symbols: _checkpw /usr/sbin/apachectl: line 193: 18723 Trace/BPT trap $HTTPD -t
I searched for that error message on Google and according to this page...
http://blogs.montclair.edu/copelanda/archives/category/general/page/2/
...this problem can occur with the Apache on Mac OS X Server depending on the load order of the modules.
It seems that the apple_auth_module must be loaded *after* the php5 module. Can you try rearranging your LoadModule and AddModule directives?
Adding that information to the ui_msg's after the 'variant_isset apache' section would be a good idea. Mark Marco Battistella <macports.mb@makeko.com> on Tuesday, November 14, 2006 at 12:22 PM -0800 wrote:
That was it: changing the load order of the modules fixed everything. Thank you. Marco
On Nov 14, 2006, at 12:54 PM, Ryan Schmidt wrote:
On Nov 13, 2006, at 21:18, Marco Battistella wrote:
When i ran a configtest this is what i get:
# apachectl configtest Processing config directory: /etc/httpd/sites/*.conf Processing config file: /etc/httpd/sites/virtual_host_global.conf Syntax OK dyld: /usr/sbin/httpd Undefined symbols: _checkpw /usr/sbin/apachectl: line 193: 18723 Trace/BPT trap $HTTPD -t
I searched for that error message on Google and according to this page...
http://blogs.montclair.edu/copelanda/archives/category/general/page/2/
...this problem can occur with the Apache on Mac OS X Server depending on the load order of the modules.
It seems that the apple_auth_module must be loaded *after* the php5 module. Can you try rearranging your LoadModule and AddModule directives?
participants (3)
-
Marco Battistella
-
Mark Duling
-
Ryan Schmidt