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.
Hi,
I must ask the obvious. Did you install PHP on your machine?
If yes, then, do you have a web server running on your box?
if yes, then, try this: make a file called info.php in the root dir
of your web server. the contents of the file should be as follows:
<?
phpinfo();
?>
go to this file with your web browser, if you see a page with lots of info
about your php installation, then you know that php is installed
correctly on your machine.
Hello
and thanks for your answers . this forum never fails !
I tried the php info test page and I get no result !
There is something wrong but what ?
how come phpMyAdmin works correctly as well as php nuke or coppermine photo gallery.?
all my php aplications seem to work apart from the ones i did myself.
I know httpd and mysqld are running but what about php.
about my instalation .
RH 8
php was selected at the install and i afterwards downlowded and installed
php-mysql-4.3.2-alt0.cvs20030405.i586.rpm
Without this phpMyAdmin does not run
something to do with the mysql.so file......
OK I just realised !!!
I checked the phpinfo in phpMyAdmin and It works
It Statesthat I have PHP4.2.2
Funny the rpm I installed says 4.3.2
Itsalso says that
Virtual Directory is disabled
as well as thread safety
I have a page called index.php
sitting at
/var/www/html
with this code;
<html>
<head>
<title>php info test</title>
</head>
<body>
<center><b>php info test</b></center>
<br>
<? phpinfo(); ?>
</body>
</html>
ONLINE it works perfect !!
but locally
It gives no reading at all no info, no error messages!
One would say that PHP is not installed .
but I also have phpMyAdmin running php-nuke and coppermine photo galery.
in the same directory..
/var/www/html
So How come they work
I use RH 8 and apache and mysql all work fine but what can I do to fix this php Problem
Sometimes we look for complicated answers
I admit that it is not always evident to explain problems especially for a novice like myself.
Its such a big migration from the easy buggy world of windows to
Linux and GPL .
Its like having to learn dos again with win3.1
Aargh!
Anyway I have been using the Oreilly php -mysql book but it talks too much about cgi and xml I am only interested in dynamic content management using php and mysql databases. And it is probably out of date.
So I ordered
PHP and MySQL Web Development
by
Luke Welling, Laura Thomson http://admin.acrea81.com/test/book.gif
I will read this during the summer vacations.
I enjoyed your site
I wonder if Hunter s Thomson uses windows or linux ?
cheers
Phil
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.