weird php error when using php-mysql-4.2.3 from ports

weird php error when using php-mysql-4.2.3 from ports

Post by backbon » Fri, 25 Apr 2003 07:28:18


I'm trying to get the usual IDS combo; snort+mysql+acid+apache+mod_ssl up
and running on my openbsd 3.2 box, however when opening the acid_main.php i
get the following "make no sense" error;

PHP ERROR: Incompatible version: Version 4.2.3 of PHP is too old. Please
upgrade to version 4.0.4 or later

I'm obviously using a more recent version the required, or am I missing
someting quite essential?



1. Apache w/ PHP and SSL: w/ PHP OK - w/out PHP NOK


        I've been assigned the task of building an Apache server with
support for Sybase, PHP4, OpenSSL 0.9.6/mod_ssl ?, and apache 1.3.14.

I followed Israel Denis Jr/Eugene Otto's "The Soothingly Seamless
Setup of Apache, SSL, MySQL, and PHP" at DevShed, but compilation of
apache fails if I add PHP.  The same procedure w/out PHP works OK
(either port 80 or port 443.) As a non-developper, I'm totally in the

[/home/samba/temp/Apache/apache_1.3.14]# SSL_BASE=../openssl-0.9.6
/configure --enable-module=ssl
--activate-module=src/modules/php4/libphp4.a --enable-module=php4

Configuring for Apache, Version 1.3.14
-L/home/samba/temp/Apache/openssl-0.9.6  -o helpers/dummy
helpers/dummy.c   -rdynamic -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lpam  -ldl -lresolv -lm -ldl -lcrypt
-lnsl  -lresolv   -lm -lcrypt  -lssl -lcrypto
/usr/bin/ld: cannot find -lmodphp4
collect2: ld returned 1 exit status
make: *** [dummy] Error 1

Any idea?


2. Reading an IDE drive without putting it in the cmos

3. PHP+MySQL vs. PHP+PostgreSQL

4. How to handle file uploads in forms with apache 1.2?

5. Error using MySQL command over PHP!

6. Multiple USB cameras

7. PHP "make" error with php-4.0.1pl2 and slackware

8. Serious problem after changing password

9. PHP/MySQL "mysql.sock" not found ???

10. PHP + MySQL - apparently installed OK - but no MySQL support!

11. Apache PHP MySQL and mod_auth_mysql compilation error

12. Apache-php-mysql compile error.

13. make php error 1 filename mysql.h