LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php (https://www.linuxquestions.org/questions/linux-software-2/php-749467/)

SolitudeSensus 08-22-2009 01:58 AM

php
 
Is it nescessary to install Apache in my Slackware 12.2.
Or I can directly access *.php files.

If I have to install Apache, then where to get it?
How to install it in SlackWare and how to configure it?

kris82 08-22-2009 02:07 AM

it is not neccessary to install apache, however you need to install PHP packages to execute PHP files.


If you want to install apache, check out httpd.apache.org. But note that even if you install apache, you will still have to install PHP. Check out www.php.net for more info.

sycamorex 08-22-2009 03:29 AM

You could also use php for administration of your system:
http://www.php-cli.com/

SolitudeSensus 08-22-2009 08:02 AM

re
 
When I save text file, its icon changes and becomes the icon of php,
but if I open the file with web browser the screen id blank. I think I have to install apache server

sycamorex 08-22-2009 08:27 AM

If you want to use it for system administration - see the link above. However, as far as I know, if you want php to be executed in a web browser you'd normally need a server like apache as PHP (unlike javascript, CSS, etc) runs on the server side and passes the result to a browser.

SolitudeSensus 08-22-2009 11:59 PM

xampp
 
I'm using xampp in my XP, I'm thinking to install it in my slackware also.
But I'm not getting installation file in .tgz format.

Is it possible to install it from source file?

Nylex 08-23-2009 02:31 AM

Do you need the source code? They seem to provide a tarball which you just extract, which is all you have to do. See http://www.apachefriends.org/en/xampp-linux.html#374.


All times are GMT -5. The time now is 08:30 PM.