LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2009, 01:58 AM   #1
SolitudeSensus
Member
 
Registered: May 2009
Posts: 73

Rep: Reputation: 15
Smile 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?
 
Old 08-22-2009, 02:07 AM   #2
kris82
LQ Newbie
 
Registered: Dec 2008
Distribution: Fedora 10/11
Posts: 10

Rep: Reputation: 1
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.
 
Old 08-22-2009, 03:29 AM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
You could also use php for administration of your system:
http://www.php-cli.com/
 
Old 08-22-2009, 08:02 AM   #4
SolitudeSensus
Member
 
Registered: May 2009
Posts: 73

Original Poster
Rep: Reputation: 15
Smile 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
 
Old 08-22-2009, 08:27 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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.
 
Old 08-22-2009, 11:59 PM   #6
SolitudeSensus
Member
 
Registered: May 2009
Posts: 73

Original Poster
Rep: Reputation: 15
Smile 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?
 
Old 08-23-2009, 02:31 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update PHP on CentOS - missing dependency php-common AndyMillne Linux - Server 7 05-21-2013 06:34 AM
php/shell script to install mysql,apache and php automatically stranger_6_7 Linux - General 2 08-11-2009 02:07 AM
php page displaying text that is supposed to be part of php code DragonM15 Programming 9 07-31-2008 04:58 PM
Adding users with PHP (pass php variables to Expect script) Jayla Programming 1 10-20-2006 10:44 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration