Jump to content

Recommended Posts

Hey All,

I had a fully functional web server, and I attempted to install gd as well as libjpeg so that I could use some image manipulation functions. My php ./configure/make/make install didn't give any errors. When I attempt to start apache2, I get the following error:

$ ./apachectl start
httpd: Syntax error on line 425 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: Undefined symbol "php_write"
$

I have added the following lines at the end of httpd.conf (the line numbers are obviously not there :):

[line 425] LoadModule php5_module modules/libphp5.so
[line 426] AddHandler php5-script php
[line 427] AddModule mod_php5.c

I have also checked and modules/libphp5.so is there:

$ ls -l libphp5.so
-rwxr-xr-x  1 gudmunsn  wheel  979694 Aug  2 15:37 libphp5.so
$

Any idea how to fix this? I am stumped.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.