Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed PHP5, Apache and MySql using Yast2. Since it handles all the install process, I never configured an admin user for MySql and I don't think PHP is working.
I've put a phpinfo() call in several files, including a HTML one where I did get back the html - but not the php info.
So how can I easily check to see if each of the three installs were succemssful?? I'm a relative newbie to Suse, although I've had it installed for close to a year on a server. I just don't use it that much directly. I want to do some web dev and be able to show folks on my laptop what the site will look like.
I've actually done quite a bit of searching to figure out the answers first, but it seems like a lot of the folks answering expect me to know more than I do. Can I check from a command line to see if each is working?
I'm pretty sure apache is running, I'm sure mysql is not (I tried to start mysqladmin and got errors) but it's php that I'm most concerned about right now. I have a small site done, but can't get anything to work because php doesn't seem to be running.
Sorry for the book, but I could really use some help!!!
Can I check from a command line to see if each is working?
I'm pretty sure apache is running, I'm sure mysql is not (I tried to start mysqladmin and got errors) but it's php that I'm most concerned about right now. I have a small site done, but can't get anything to work because php doesn't seem to be running.
Sorry for the book, but I could really use some help!!!
Hmm how did you check if apache is working? Surfed to 127.0.0.1 ?
From the commandline, you can check for apache using
What I'd really recommend to you is that you download, compile, and install all three these packages yourself. I've installed some other distros a few times (old RedHat 6.0, 9.0, FC3 and FC6) and in each of them so far the "stock" or package-supplied (i. e. "yasted") LAMP setups were totally broken, or installed obscurely and hard to configure. I do exactly what you do (e.g. host a machine that serves PHP pages for in-house PHP and dynamic website development) and I found that I had much more control (ok - it was the only way I could get ANYTHING to work too!) if I downloaded and compiled / installed the packages myself.
the rpm's for fedora (apache,php,mysql) will set up a working "default" system . but with files scattered through out the system ( a pain to configure) . i like to build and install everything in a "www" folder
/opt/www/apache
/opt/www/apache/http/( my CMS -- Geeklog)
/opt/www/php
/opt/www/phpMyAdmin
/opt/www/mysql
this way everything is in one place .Also building and installing by hand you WILL learn the inner workings of the software .
THEN after you get a good working knowledge of the insides of apache and mysql ,then take the easy way and install the rpm's, .deb ,... files
Sigh - and this is why I know I'm still a noob. Forgot to start the apache service. I agree that doing it all myself is much more informative and I'd learn more. In order to accomplish the task at hand, however, it pays to speed things up (and not completely hose my suse install). I have installed php, apache and mysql on another box where it all worked right off the bat and I could not figure out why it was different.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.