LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-02-2013, 01:13 PM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Rep: Reputation: 28
No LAMP on Suse12.2


I have loaded Suse12.2. I have a notebook HP635. I am dual booting with
Mint 13 which now works with the help of linux gurus on this forum alas,
the mints software manager doesn't work and so I am left with no distro that
works properly.

I have Suse12.2 and I am trying to get LAMP to work. I have MYSQL working
but no php. The apache and php have been reloaded several times but no php
even though apache works. Is there a command like the lamp-server on Mint?

I am told the apache and php are loaded on installation, I can see them with Yast
and reloaded several times but no php appears to work.
 
Old 01-02-2013, 02:41 PM   #2
angryfirelord
Member
 
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
Assuming that nothing has been changed in the Apache directory, what happens when you point your browser to 127.0.0.1?

To test PHP, you can make a .php file with the following:
PHP Code:
<?php
    phpinfo
();
?>
You can then put it in your public folder and point your browser to that. If PHP is loaded, you'll get the information from that page.
 
Old 01-02-2013, 04:20 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Also of note is that novell royally changed things on suse ,in regards to the apache stack .
really changed things around
the apache documentation will be of very little use
http://httpd.apache.org/docs/2.4/
and in no way reflect what was done to the apache stack on suse
see the SUSE docs
http://en.opensuse.org/SDB:Apache_installation
http://en.opensuse.org/SDB:Linux_Apache_MySQL_PHP

Last edited by John VV; 01-02-2013 at 04:25 PM.
 
Old 01-03-2013, 12:45 PM   #4
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
No php

Quote:
Originally Posted by angryfirelord View Post
Assuming that nothing has been changed in the Apache directory, what happens when you point your browser to 127.0.0.1?

To test PHP, you can make a .php file with the following:
PHP Code:
<?php
    phpinfo
();
?>
You can then put it in your public folder and point your browser to that. If PHP is loaded, you'll get the information from that page.
I have done that it works. I have pointed the browser to localhost and 127.0.0.1 /info.php "it works" shows, followed by the php info page.

Thanks for your help .

Last edited by bscho; 01-03-2013 at 01:43 PM.
 
Old 01-03-2013, 01:43 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
seeing as SUSE royally changed things around
there is no real "httpd.conf" file
instead there a bunch of small config files in /etc/apache2
some of those then point to other config files
in"default-server.conf"
you set the "Docroot" folder
---------
<Directory "/srv/www/htdocs">
-------------

in "listen.conf" is the port and ip and the Vhost settings
in "mod_userdir.conf" you set the "public" folder in yoour home user folder
-----------
<Directory /home/*/public_html>
-----------

did you install mod-php ?
it is in the suse repos
and Novell split everything up into small packages
use the yast GUI ( add and remove software) or zypper to search

or
did you manually build the Apache stack , by hand, and manually install it

if so then there is a in the install folder there is a full and very well documented default "httpd.conf" file
 
Old 01-03-2013, 02:05 PM   #6
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Lamp on suse

[QUOTE=John VV;4862292]seeing as SUSE royally changed things around
there is no real "httpd.conf" file
instead there a bunch of small config files in /etc/apache2
some of those then point to other config files
in"default-server.conf"
you set the "Docroot" folder
---------
<Directory "/srv/www/htdocs">
-------------

in "listen.conf" is the port and ip and the Vhost settings
in "mod_userdir.conf" you set the "public" folder in yoour home user folder
-----------
<Directory /home/*/public_html>
-----------

did you install mod-php ?
it is in the suse repos
and Novell split everything up into small packages
use the yast GUI ( add and remove software) or zypper to search

or
did you manually build the Apache stack , by hand, and manually install it

if so then there is a in the install folder there is a full and very well documented default "ht
I have at last got it working thanks for your help I would not have got to make it
work without all your help.
 
  


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
suse12.1,dual SndCrds, all fine Excpt youtube isn't thru SB Live! crd.(Dell x64) Gnu2Me Linux - Newbie 0 10-02-2012 10:54 AM
A few queries about LAMP. My LAMP is not burning! autophil Linux - Networking 7 07-20-2011 12:31 PM
LXer: Enterprise LAMP Summit & Big LAMP Camp LXer Syndicated Linux News 0 09-21-2009 01:51 AM
LXer: LAMP vs. LAMP Rematch LXer Syndicated Linux News 0 11-08-2006 03:03 AM
LXer: LAMP vs. LAMP LXer Syndicated Linux News 0 08-22-2006 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:10 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
Open Source Consulting | Domain Registration