NYCPHP Meetup

NYPHP.org

[nycphp-talk] installing PHP extensions

Hans Zaunere zaunere at yahoo.com
Sat Mar 15 14:19:29 EST 2003


--- Nicholas Noor <nnconcerts at msn.com> wrote:
> What is the cleanest way to install php,
> 
> I know I do have to add a
> LoadModule php_module libexec/libphp4.so
> AddType application /x-httpd-php .php

This should work:

LoadModule php4_module        libexec/libphp4.so
AddType application/x-httpd-php .php


> Syntax error on line 253 of /usr/local/apache/conf/httpd.conf:
> Can't locate API module structure `php_module' in file 
> /usr/lib/apache/libphp4.so: /usr/local/apache/bin/httpd: undefined symbol: 
> php_module
> /apachectl start: httpd could not be started
> 
> This is the message I get..
> Without these lines I get the code on the webpage. I also tried module as 
> DSO and another time I compiled with Module Static but with DSO support.
> 
> These are the compiled-in modules. Please let me know what could I do next?
> 
> Compiled-in modules:
>   http_core.c
>   mod_env.c
>   mod_log_config.c
>   mod_mime.c
>   mod_negotiation.c
>   mod_status.c
>   mod_include.c
>   mod_autoindex.c
>   mod_dir.c
>   mod_cgi.c
>   mod_asis.c
>   mod_imap.c
>   mod_actions.c
>   mod_userdir.c
>   mod_alias.c
>   mod_access.c
>   mod_auth.c
>   mod_so.c
>   mod_setenvif.c
>   mod_auth_cookie_file.c
>   mod_monitor.c
>   mod_php4.c
> 
> 
> In either case it doesn't seem to work
> ><?php
> >     phpinfo();
> >?>
> >
> 
> 
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 




More information about the talk mailing list