LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-02-2004, 11:20 PM   #1
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Rep: Reputation: 20
php question


hello all its me again lol i have done everything in this post http://www.linuxquestions.org/questi...20#post1326320 and have mysql and apache with webmin running .. now was wondering how to add php and config php apache and mysql so they all talk to each other so i can run a bulliten site thanks



kwick
 
Old 12-03-2004, 07:20 AM   #2
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
I find it easier to just install the php package right from mandrake. They do all the config for you. Just make sure you get the mod_php for apache or whatever it is called, and it'll say you need php and a couple other packages. Also, get the php-sql package, you should be able to communicate with mySQL from php.

Hope that helps
 
Old 12-03-2004, 04:52 PM   #3
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
i cant do this i have tryed and it asked for cd4 and i only have 3 lol so this is why i have to do a manual install



kwick
 
Old 12-03-2004, 06:06 PM   #4
rokka
Member
 
Registered: Feb 2004
Location: .se
Distribution: Ubuntu, debian
Posts: 124

Rep: Reputation: 15
Quote:
Originally posted by kwickcut
i cant do this i have tryed and it asked for cd4 and i only have 3 lol so this is why i have to do a manual install
kwick
Then add web sources from here: http://easyurpmi.zarb.org/#third

And then goto mandrake control center->programs->media and uncheck your CD-sources.
 
Old 12-03-2004, 08:58 PM   #5
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
thanks i have done that but cant get it to work



kwick
 
Old 12-04-2004, 09:24 AM   #6
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
Have you checked to make sure mod_php was installed? When you go to a page that doesn't exist, if you look towards the bottom, it has 'Apache Server...blah blah...mod PHP' or something like that if PHP is indeed installed.
 
Old 12-04-2004, 10:53 AM   #7
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
when i goto http://loclahost/ i see this message at the top of the screen

Welcome to localhost


This site is powered by: Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6.8.100mdk) mod_perl/1.99_11 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.4!


Note: If you are seeing this instead of the webpage you expected, it's most likely because the server is not yet fully configured, or is under an upgrade. Come again tomorrow and your usual content should be back.


i dont see php what doi need to do hear to get this up thanks



kwick
 
Old 12-05-2004, 10:39 AM   #8
greenmeanie
Member
 
Registered: Sep 2004
Distribution: FreeBSD5.4
Posts: 82

Rep: Reputation: 15
php

first you need to make a test.php file and then type LOCALHOST/test.php to see if PHP is even running.

if it is not follow the instructions on PHP's webpage you cant go wrong with them.
 
Old 12-05-2004, 04:55 PM   #9
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
put

Code:
<?php phpinfo(); ?>
in a test.php file and open it on your server. It should work because I see PHP 4.3.4 installed on the server.
 
Old 12-05-2004, 06:04 PM   #10
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
thanks for the info now i found the php root/ect/php is this wear i place the test file sorry but i just dont know. i will go look at php in the meantime thanks



kwick
 
Old 12-05-2004, 08:32 PM   #11
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
i got it thanks for all your help guys



kwick
 
  


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
PHP Question Hockeyfan Programming 5 09-13-2004 07:33 AM
PHP Question Hockeyfan Programming 3 08-01-2004 02:10 AM
PHP Question duerra Linux - Newbie 6 01-22-2004 07:37 PM
PHP question guild Programming 2 09-30-2003 10:31 PM
Another PHP question pkoebbe Debian 2 07-14-2003 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:24 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