LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   installing php (https://www.linuxquestions.org/questions/linux-general-1/installing-php-74845/)

loadimmed 07-22-2003 09:15 AM

installing php
 
i know this question may seem redundant, but i've tried everything and I can't get php to work. i've unpacked the tar.gz file, used ./configure and make & make install, everything seems to work fine. i copied the php.ini file to usr/local/bin and edited the httpd.conf to reflect the addtype changes, restart the server, and no luck whatsoever. i changed documentroot to /var/www/html, and when i try to run php scripts there, it gives me the "save to disk" prompt, even though i'm certain that i have that AddType application/x-httpd-php .php tag written successfully. i've followed virtually every php linux tutorial on the web to no avail.

also, i've tried to update my version of php, but when i run php -v, it returns the old version.

nothing is working, please help.

thanks...

Rumblefish 07-22-2003 10:28 AM

How did you restart Apache? Using a script and a 'restart' directive, or an explicit start and then stop? Sometimes, from my experience, 'restart' doesn't always pick up config changes.

loadimmed 07-22-2003 10:36 AM

i did /usr/local/apache2/bin/apachectl restart, but i've also done the standard stop and start commands as well.


All times are GMT -5. The time now is 09:06 PM.