LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-16-2005, 10:19 AM   #1
nevarlen
Member
 
Registered: Feb 2005
Distribution: Debian 3.x & Fedora Core 3, Debie on IBM Thinkpad
Posts: 68

Rep: Reputation: 15
PHP install problem on Debian


I am running on Debian 3.x, apache 2.xx
Everything was just fine until I upgraded to apache 2.xx from 1.3. I had a working php&apache. After the upgrade, I tried adding php to apache, but I never got them working. Then I decided to upgrade php 4.3 to php 5.0 thinking that newer versions of both would work, that failed too.
Just to give you as much info as possible, before upgrading I removed all of the php folders to do fresh install.
All of my installation attempts had mysql, apsx and imap included. While installing php5 and php4(later), script never created a make file, configure script ended by complaining about libxml package. I checked my libxml version, found that it was 2.x, which should be okay. Anyhow, last thing I tried was installing it through debain apt-get method. Apt-get did not have php5, so I went ahead and installed php4 again. Installation was not successful, errors I get::::
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20020429/
imap.so' - /usr/lib/php4/20020429/imap.so: cannot open shared object file: No su
ch file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20020429/
mysql.so' - /usr/lib/php4/20020429/mysql.so: cannot open shared object file: No
such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20020429/
ldap.so' - /usr/lib/php4/20020429/ldap.so: cannot open shared object file: No su
ch file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20020429/
curl.so' - /usr/lib/php4/20020429/curl.so: cannot open shared object file: No su
ch file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20020429/
odbc.so' - /usr/lib/php4/20020429/odbc.so: cannot open shared object file: No su
ch file or directory in Unknown on line 0
PHP 4.3.4 (cli) (built: Mar 27 2004 08:04:22)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies


Last thing, if you noticed the version info it says the package was built on Mar 27 2004, which I find it to be odd.
Also, I am sure that I have these modules but php just does not like them.
I am getting ready to give another shot at reinstalling php again, could you all please tell me what I should do prior to anything.
I would like to remove any existing php package and install a new one that would work with apache 2 and mysql, at least.
Thanks very much in advance..
 
Old 03-16-2005, 05:21 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
The errors are not errors, only warnings. They may be here, but it's better to get rid of them...Please check if you really have them in the exact location the messages mention.
Also, which packages have you installed?
 
  


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
Cannot get PHP to install in debian testing MissMetal Linux - Newbie 2 10-22-2004 10:54 AM
PhP 4.3.9 install problem Dannydy Linux - Software 1 10-15-2004 03:21 PM
dhcp problem in Debian netinst install..Help !! install. copter Linux - Networking 11 06-30-2004 02:14 PM
Apache / PHP / Mysql config problem - debian bandit Linux - Software 14 09-03-2003 10:04 AM
problem to install php in redhad 7 ashis Linux - Software 3 06-14-2001 03:35 AM


All times are GMT -5. The time now is 06:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration