LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i turn php and mysql on? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-turn-php-and-mysql-on-230590/)

jp2 09-14-2004 03:28 PM

How do i turn php and mysql on?
 
Hello again,

Just wondering how i turn php and mysql on?
They are both installed as far as i am aware, but when i try and view a php page using localhost, i just get a download prompt.

Any ideas?
Thanks,
Jon

irfanhab 09-14-2004 03:42 PM

I'm not sure about PHP, it's a scripting language and I think that you can only use it in conjunction with a web-server like Apache, I'm not sure, I hope someone elaborates on this one.
You can use the commandline intepreter for PHP called php check in man page of php
man php

About mysql, if it's installed you need to start the rc.mysqld script from /etc/rc./

jp2 09-14-2004 05:42 PM

Thanks for the reply, i have sorted it now. Thank you!


All times are GMT -5. The time now is 01:12 AM.