Web Hosting Talk







View Full Version : installing PHP4, can you please help?


anotherchris
10-15-2001, 12:59 PM
Hello,

I did just try to install PHP4 onto my private virtual server. The virtual server is a FREEBSD.

I did install all the modules but when trying to embed the LOADMODULE line into httpd.conf I get the following error:

Syntax error on line 1 of /usr/local/etc/httpd/conf/httpd.conf: Cannot load
/usr/local/etc/httpd/modules/mod_php4-4.0.4-module-msql-mcrypt-freetype-gd.s
o into server:
/usr/local/etc/httpd/modules/mod_php4-4.0.4-module-msql-mcrypt-freetype-gd.s
o: Undefined symbol "ap_block_alarms"
Fix configuration problem and "touch httpd.conf" to restart httpd


I've tripple checked, but there is now typo. I do also get this error after restarting apache. Where can I look to find the solution?

Thanks a lot!

Badone
10-15-2001, 07:42 PM
How did you install it? Did you download the source and compile it or did you use the ports collection?

anotherchris
10-16-2001, 03:32 AM
Hi Matt,

thanks a lot for helping me. Well I'm hosting at iserver and there is a tool...

vinstall PHP4-dso

Installation went fine, no error message, and the modules are inside the modules directory.

But when using LoadModule the think becomes spoky....

CagedTornado
10-16-2001, 11:59 AM
Check out the Apache Toolbox at http://www.apachetoolbox.com

Dan

Badone
10-17-2001, 12:14 AM
I personally love freebsd and one of the reasons is because of the port collection. All you have to do is "cd /usr/ports/www/mod_php4;make install clean" and it will install automatically for you. I'm not sure how the Virtual Servers work though. I would check just to make sure that file is there and if everything looks right, then I would have to suggest trying to contact their support. I'm sorry, I have just never dealt with their company or virtual server accounts in general.