LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2006, 12:54 AM   #1
hanwi
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
PHP with SUSE 10


Hi All,

I installed PHP5 via YAST with RPM on SUSE10, everything ran fine, however after installation, how do i browse to localhost that has this PHP installed? How do i know for sure that PHP is installed, i ran RPM it said its installed, but on which address? Is there any way to find out? And how do i make sure that Apache2 sees it?

Thanks
han
 
Old 09-29-2006, 01:07 AM   #2
lavluda
Member
 
Registered: Jan 2006
Location: Dhaka, Bangladesh
Distribution: Debian sid, Suse 9.3 pro, Mandrake 10.0, Redhat 7-9, FC-2,3, Gentoo 2006,2006.1
Posts: 89
Blog Entries: 2

Rep: Reputation: 15
Code:
<?php
           phpinfo();
?>

save this code in a file called index.php in /var/www/

then open any browser, & give address http://localhost
if u see a phpinfo page, then everthing is ok. there u will get report, which version of php is installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Apache 2, PHP 5, SuSE 9.2 - cannot run php files dickohead Linux - Networking 6 06-28-2006 11:25 AM
Suse 9.3/apache2/php4 - Firefox tries to download index.php, other *php pages work stefanlasiewski SUSE / openSUSE 1 01-18-2006 07:12 PM
PHP on Suse 9.3 elliotfuller SUSE / openSUSE 2 06-22-2005 01:02 AM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 02:42 PM
suse 8.1 and apache/php davo111 Linux - Distributions 1 12-22-2002 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration