Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP 5 Install problem with Apache 2

Status
Not open for further replies.

awingnut

Programmer
Joined
Feb 24, 2003
Messages
759
Location
US
I am trying to install php5 for Apache 2. I tried followng the instructions but obviously messed up somewhere. When I try to start Apache with the 'LoadModule php5_module libexec/httpd/libphp5.so' line uncommented I get the following error:
Code:
Syntax error on line 273 of /opt/apache2/conf/httpd.conf:
Cannot load /opt/apache2/libexec/httpd/libphp5.so into server: dyld: /opt/apache2/bin/httpd Undefined symbols:
/opt/apache2/libexec/httpd/libphp5.so undefined reference to _ap_block_alarms expected to be defined in the executable
/opt/apache2/libexec/httpd/libphp5.so undefined reference to _ap_group_id expected to be defined in the executable
/opt/apache2/libexec/httpd/libphp5.so undefined reference to _ap_unblock_alarms expected to be defined in the executable
/opt/apache2/libexec/httpd/libphp5.so undefined reference to _ap_user_id expected to be defined in the executable
/opt/apache2/libexec/httpd/libphp5.so undefined reference to _ap_user_name expected to be defined in the executable
/opt/apache2/libexec/httpd/libphp5.so undefined reference to _top_module expected to be defined in the executable
To be complete this is installed on OS X. I downloaded the Apache2 binaries for OS X and not the source. I thought maybe it was because there is some includes missing or something but the 'make's did not show any errors.

Can someone see what I might have done wrong or where I should be looking? TIA.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top