Through yum, rpm commands I've got php53 and other 53 versions common pdo cli mysql pdo
I can't tell what version of apache I have, or how to integrate this php into apache.
[root@server1 httpd]# yum list installed | grep 'apache'
vzdummy-apache.noarch 1.0-1.swsoft installed
Am I on Apache 1.x or 2.x ? Will I need to update or compile Apache from source, to compile PHP module in it ? or can I use DSO ? Build and Install Apache (with DSO support)
I've found my configuration files, for apache and php and I can do which php ( and it shows /usr/bin/php ) but I'm not sure, any other directories that are used, or where php.ini-recommended is ??
php -r "phpinfo();" | grep Configuration
I see that my php.ini is located at /etc/php.ini
Also reading through the httpd.conf, I'm guessing I'm on 1.2, with this text
# See <URL:http://httpd.apache.org/docs/2.2/> for // and I see this also - Including the php configuration files Include conf.d/*.conf
And my php.conf has the
I would next need to track down the modules that are referenced, to confirm they exist.
I've also reviewed my logs ( access and error ) and can't find anything terribly wrong; It just seems that Apache will ignore any requests for a .php resource.
Suggestions welcome; I must be missing something silly. TIA, for your help.