hi im trying to install PHP as an Apache module but im having problems. I use:
wget http://www.php.net/get/php-5.1.4.tar.gz/from/this/mirror
perl -pi -e 's/PHP_VER=4.4.2/PHP_VER=5.1.4/' build
./build php_ap2
which installs it fine, but when I type php -v it shows:
PHP 5.1.4 (cgi) (built: Jul 15 2006 17:34:41)
This means its installed as a CGI program i take it? mod_php5.c is not anywhere on my system after the above install.
**UPDATE**
ok I installed it correctly now, but I get the following warnings on startup:
[Sun Jul 16 01:34:55 2006] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
[Sun Jul 16 01:34:55 2006] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
httpd: Could not reliably determine the server's fully qualified domain name, using <domain name here> for ServerName
[Sun Jul 16 01:34:55 2006] [warn] NameVirtualHost <ip here>:443 has no VirtualHosts
Is there something I can do to clean these up?
Thanks
Tom
wget http://www.php.net/get/php-5.1.4.tar.gz/from/this/mirror
perl -pi -e 's/PHP_VER=4.4.2/PHP_VER=5.1.4/' build
./build php_ap2
which installs it fine, but when I type php -v it shows:
PHP 5.1.4 (cgi) (built: Jul 15 2006 17:34:41)
This means its installed as a CGI program i take it? mod_php5.c is not anywhere on my system after the above install.
**UPDATE**
ok I installed it correctly now, but I get the following warnings on startup:
[Sun Jul 16 01:34:55 2006] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
[Sun Jul 16 01:34:55 2006] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
httpd: Could not reliably determine the server's fully qualified domain name, using <domain name here> for ServerName
[Sun Jul 16 01:34:55 2006] [warn] NameVirtualHost <ip here>:443 has no VirtualHosts
Is there something I can do to clean these up?
Thanks
Tom
Last edited: