Hi,
I am using Redhat 8.0 which also includes Apache and PHP installed. I have also installed MySQL-Max-3.23.53a-1.i386.rpm. It seems everything goes well except that I can't connect MySQL with using PHP.
I have downloaded php-4.2.2-8.0.5.src.rpm which is a module for PHP applications that use MySQL databases. I downloaded it from http://www.redhat.com/swr/i386/php-mysql-4.2.2-8.0.5.i386.html.
After I got php-4.2.2-8.0.5.spec from the source, I tried to run the following command and got an error.
[root@localhost SPECS]# rpmbuild php-4.2.2-8.0.5.spec
cat: /usr/include/httpd/.mmn: 沒有此一檔案或目錄
error: line 144: Version required: Requires: httpd-mmn =
Could you tell me how to solve the problem? In my situation, should I use another method so that I can use PHP to connect MySQL under Redhat 8.0?
Many thanks!