Hi:
On two identicle computers - one has MySQL, php, Apache, phpMyAdmin that works fine.
On the other computer I have upgraded httpd-2.2.2 to httpd-2.2.3
MySQL from 5.0.20 to 5.0.24
and phpMyAdmin from 2.8.2 to 2.8.2.1
php-5.1.4 has stayed the same.
But even though:
httpd.conf
config.inc.php
and my.cnf
are the same on two identical computers running Linux OS
The upgraded programs give me only text on the Firefox browser pointing to a php program.
Is my only solution to go back to the older versions that work? Or is there something I have missed? How to get the graphical interface working in place of the text of the php program?
Thanks much
rf
Apache php MySQL phpMyAdmin
Moderators: Website/Forum Admins, Other/Off Topic Moderators
I don't understand the question
Further research reveals that I installed it using DSO (as a module during the ./configure stage). Re-installing (following Gilmore pg16 Beginning PHP 5 and MySQL) made no difference.is php compiled static into apache? or is it compiled using DSO?
I installed httpd-2.2.3.tar.gz and php-5.1.4.tar.bz2 and mysql-pro-gpl-5.0.24-linux-i686-glibc23.tar.gz in this order: first mysql, httpd-2.2.3 and then php-5.1.4
httpd -l (whether Apache is running or not i.e. /usr/local/apache2/bin/apachectl graceful ) returns "bash: httpd: command not found"
This is probably the answer to the problem.
So what did I not do or leave out in the installation/configuration? How do I get bash to recognize httpd -l?
(php -v returns "php 5.1.4(cli)"; php-cgi returns "command not found"; apache -v returns "bash: apache: command not found")
Thanks for your much appreciated help.
rf
read the INSTALL docs distributed with PHPrf wrote:
I don't understand the questionis php compiled static into apache? or is it compiled using DSO?
no, this is because you have to provide the path to httpd. `/usr/local/apache2/bin/httpd -l`rf wrote: httpd -l (whether Apache is running or not i.e. /usr/local/apache2/bin/apachectl graceful ) returns "bash: httpd: command not found"
This is probably the answer to the problem.
if you are going to administer a linux server, you are going to have to learn how to use it first.
In God we trust,
Everyone else must have an X.509 certificate.
Everyone else must have an X.509 certificate.
Who is online
Users browsing this forum: No registered users and 4 guests