Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004

    Unanswered: Problem running Apache 2.0.49 with PHP 4.3.3

    Hi, sorry if this is not the best place to post this problem.
    I am a beginner in Slackware and by default I had apache , php 4.3.3 and MySQL 4.0.15a installed. I removed apache cause I wanted to install newer version (2.0.49) I installed it with default options in usr/local/apache2.
    These are the modules installed.
    Compiled in modules:
    * core.c
    * mod_access.c
    * mod_auth.c
    * mod_include.c
    * mod_log_config.c
    * mod_env.c
    * mod_setenvif.c
    * prefork.c
    * http_core.c
    * mod_mime.c
    * mod_status.c
    * mod_autoindex.c
    * mod_asis.c
    * mod_cgi.c
    * mod_negotiation.c
    * mod_dir.c
    * mod_imap.c
    * mod_actions.c
    * mod_userdir.c
    * mod_alias.c
    * mod_so.c
    Now that the apache is up and running I want to add php support. I added a few lines in httpd.conf:
    LoadModule php4_module /usr/libexec/
    AddType application/x-httpd-php .php
    I copied my php.ini (was there by default) to /usr/local/apache2/lib (not sure why exactly there-read in a doc page)
    After all this the following error occurs when I start the apache.
    Cannot load /usr/libexec/ into server: cannot open shared object file: No such file or directory
    I suppose I need to add one more module mod_php4.c (again read it in a doc somewhere) but in the apache's documentation there is no such module and anyway I donno how to add a module.
    So I donno what the problem is? What is more I want to run MySQL as well (also installed by default with the OS).
    Someone, please help me fix this problem and tell me how to check if everything is running smoothly.
    Thanks in advance.

  2. #2
    Join Date
    May 2004

    can't quite remember

    jmut, there is one more "load module" line that must be inserted into the httpd.conf file. However I can't quite remember what it is and that file was recently corrupted on my computer. However you might want to check the documentation at or the php site.

    If you can't find it there, write back to me cause I have a book that explains how to do this but I loaned it to a classmate. I'll just call him and have him tell me.

    you can test php just by running a simple php site.

    good luck


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts