PHP 4.0 Bug #6856: Some incorrect information in the INSTALL file of php-4.0.2.tar.gz

From: Date: Fri, 22 Sep 2000 22:39:38 +0000
Subject: PHP 4.0 Bug #6856: Some incorrect information in the INSTALL file of php-4.0.2.tar.gz
Groups: php.dev 
Request: Send a blank email to php-dev+get-33689@lists.php.net to get a copy of this message
From: chr@abelard.de Operating system: SuSE Linux 6.4 PHP version: 4.0.2 PHP Bug Type: Documentation problem Bug description: Some incorrect information in the INSTALL file of php-4.0.2.tar.gz 1.) The INSTALL file says (about line 45 ff. and 136 ff.) that one can prove enabling of mod_so from apache by typing httpd -l That's not quite right, because this output appear even apache was compiled with "--enable-shared=so" only - but in this case mod_so is _not_ enabled (says apache's dokumentation and is my test result)! To enable mod_so you _must_ configure apache with both: "--enable-module=so --enable-shared=so". (Note: The same mistake appears in documentation of apache in file README.configure. But in the INSTALL file of apache about line 336 ff. you can read in Notes 2,3 and 4 that both parameters for configure are neccessary for DSO-support. And for me it works only in this way.) 2.) At least unclear is the documentation for the configure parameter "--with-mysql" about lines 189 ff. in INSTALL. Although given for static compilation only I needed it for my DSO installation, too. What really is needed are not sources from MySQL or a path with a library but a path, from which exists a directory "lib/" or "lib/mysql/" in which reside the MySQL client library "libmysqlclient.so". So since I have "/usr/lib/libmysqlclient.so" I had to use "--with-mysql=/usr" for success. (Note: The pur "--with-mysql" has given a warning because use of PHP-internal MySQL source, with isn't compatible for use with additionally modules.) 3.) A special note for use of a SuSE apache: There is enabled for apache per default "-D EAPI". PHP will only work with this when configured with "--with-eapi" or when EAPI was disabled for apache. (I can't find this hint in the PHP documentation anywhere.) So far. Greetings Christian Schmidt-Guetter

« previous php.dev (#33689) next »