PHP 5 on Solaris 5.9

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary

    PHP 5 on Solaris 5.9

    All seems to have installed OK but when I add the lines to Apache as below
    it gives errors.

    LoadModule php5_module libexec/libphp5.so
    AddModule mod_php5.c


    Syntax error on line 241 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp5.so into server: ld.so.1:
    /usr/local/apache/bin/httpd: fatal: /usr/local/apache/libexec/libphp5.so:
    open failed: No such file or directory
    /usr/local/apache/bin/apachectl start: httpd could not be started

    AND

    Syntax error on line 247 of /usr/local/apache/conf/httpd.conf:
    Cannot add module via name 'mod_php5.c': not in list of loaded modules
    /usr/local/apache/bin/apachectl start: httpd could not be started


    PHP seemed to install OK and I search for these modules but they cannot be
    found. Apache is 1.3.27

    An help appreciated.

    Gary


Working...