LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-03-2005, 09:54 AM   #31
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Original Poster
Rep: Reputation: 15
ok


Let me first say i really appreciate your time.....i hope i can repay you in some way...
now i applied the code and php did not parse the page
 
Old 11-03-2005, 10:13 AM   #32
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Okay, can you make an exact copy of the file and call it testfail.htm
run the following command from the /var/www/html directory.
Code:
cp test.php testfail.htm
Then I can have a look at the script you are using.

graeme
 
Old 11-03-2005, 10:48 AM   #33
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Original Poster
Rep: Reputation: 15
done

what next???
 
Old 11-03-2005, 12:17 PM   #34
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Original Poster
Rep: Reputation: 15
when i open up my browser to run the .htm file i get the same reaction that is just the first lettering "Hello this is my first php page " and the rest blank
 
Old 11-03-2005, 12:28 PM   #35
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 278

Rep: Reputation: 41
This May Sound Stoopid, But...

When contemplating getting apache and php running on my own box I read the very fine tutorials available on this site. The one for PHP5 had a lot of pages, with "dependency this..." and "config file that..." and "compile from source". The tutorial for PHP4 was basically "yum install php4". I went with PHP4. Is there some compelling reason why it must be PHP5?
 
Old 11-03-2005, 01:12 PM   #36
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Original Poster
Rep: Reputation: 15
no i could go with php 4
should i uninstall php 5 first??
let me post this
i did a php -v
and this came up
PHP Warning: PHP Startup: Unable to load dynamic library './bcmath.so' - ./bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './dba.so' - ./dba.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './dom.so' - ./dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './ldap.so' - ./ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './mbstring.so' - ./mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './mysqli.so' - ./mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './ncurses.so' - ./ncurses.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './odbc.so' - ./odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './pgsql.so' - ./pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './snmp.so' - ./snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './soap.so' - ./soap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './xmlrpc.so' - ./xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './xsl.so' - ./xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
 
Old 11-03-2005, 01:23 PM   #37
DavidChipman
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 9

Rep: Reputation: 0
Hi John,

I hate to say it, but your PHP install is rather seriously b0rked. I have no idea *why*, but it sure seems like it is. Please uninstall php (and its dependent packages) then reinstall (best bet for that is "yum install php-\*"). Best of luck!

-David Chipman

Last edited by DavidChipman; 11-03-2005 at 01:24 PM.
 
Old 11-03-2005, 01:37 PM   #38
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Original Poster
Rep: Reputation: 15
ok thanks david

should i go with php4?
 
Old 11-03-2005, 01:58 PM   #39
DavidChipman
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 9

Rep: Reputation: 0
Hi John,

Sure, go with php4 (unless, of course, you need something in PHP 5). Best of luck getting things working!

-David Chipman
 
Old 11-03-2005, 02:04 PM   #40
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Sorry I had to go away for a meeting.

Okay the script works on my set up but not yours...

So looking at the .ini file that you posted I see one alarm bell.
I have the following set up
Code:
extension_dir = "/usr/lib/php/modules"
You may need a different path value but it will have to link to the modules that you have installed, I belive that path is teh default path. The ini file for the loadable modules reside in the /etc/php.d directory.

graeme
 
Old 11-03-2005, 03:04 PM   #41
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Original Poster
Rep: Reputation: 15
Troubleshoot

Can someone please post a php.ini on here so that i can compare to my configuration
i need a working php 5
 
Old 11-03-2005, 03:14 PM   #42
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
The file is too long to post here but I'm happy to email it to you, so please contact me and I'll send it to you
 
Old 11-03-2005, 09:59 PM   #43
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Original Poster
Rep: Reputation: 15
still in hell

After all of that i am still not parsing the pages.......i dont know what to do and i am at a total loss
is there anything else that i can check???????????
 
Old 11-03-2005, 11:34 PM   #44
DavidChipman
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 9

Rep: Reputation: 0
Hi John,

What file extension are you using? Did you reinstall the php software, and retry the command line interpreter (To make sure it's working now)? are there *no* errors showing up in the error_log file? Just some more questions to answer, nothin special
 
Old 11-04-2005, 08:22 AM   #45
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Original Poster
Rep: Reputation: 15
im not sure its right

im not sure im useing the command line interpreter properly.......since im a new user to fedora how should i use the command line??
 
  


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
rpm hell installing php-imap boardtc Mandriva 11 07-08-2005 05:01 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
PHP cURL dependency hell Rotwang Linux - Software 1 08-26-2004 05:43 AM
What the hell is this?! navarre9 Linux - General 5 04-27-2004 01:12 PM
hell with it.... Chijtska Linux From Scratch 5 02-15-2002 08:01 AM

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

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