Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Location
    Tor-NY-BJ
    Posts
    330

    PHP5 preinstalled, but not working with Apache2

    I got a new self managed machine. PHP is working from command line, but not configured in apache.
    Enviroment
    PHP is 5.0.2
    Apache 2.0.53
    FreeBSD 5.3

    I added 3 lines to the httpd.conf

    LoadModule php5_module libexec/apache/libphp5.so
    #apparently the default on the machine put libphp5 in a wired location in apache install of apache2
    AddType application/x-httpd-php .php .phtml
    AddType application/x-httpd-php-source .phps


    When I run apachectl stop, I got this error
    " Undefined symbol "ap_block_alarms"

    I am not sure if I need to remake both PHP5 and Apache2 to solve this problem.

  2. #2
    Join Date
    May 2004
    Location
    Lansing, MI, USA
    Posts
    1,548
    It looks like php5 may have been incorrectly compiled... do you use a control panel or is this all self-managed? You may try installing your own copy.

    By the way, your php version is out of date... the latest version is 5.0.4
    Jacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong!
    Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
    Powered By JAM - Professional Website Development - PHP, MySQL, JavaScript, AJAX - Projects Small & Large

Posting Permissions

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