Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-03-2014, 12:49 PM
|
#1
|
LQ Newbie
Registered: Dec 2013
Posts: 12
Rep: 
|
php5-devel
Hello,
I have installed PHP5 and Apache together on Suse Linux Enterprise Server.
I try to run some phpinfo code on /srv/www/htdocs/index.html as
<?php phpinfo(); ?>
It return PHP version information.
When I try to install php5-devel, it does not work by using the following command.
zypper install php5-devel
client:/ # zypper install php5-devel
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
Loading repository data...
Reading installed packages...
Package 'php5-devel' not found.
Resolving package dependencies...
Nothing to do.
I need to install the php5-devel and php-pear to run pecl on db2 database driver.
Thanks in advance for help. 
|
|
|
08-03-2014, 03:38 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,780
|
Quote:
Originally Posted by eshl
Hello,
I have installed PHP5 and Apache together on Suse Linux Enterprise Server. I try to run some phpinfo code on /srv/www/htdocs/index.html as
<?php phpinfo(); ?>
It return PHP version information.
When I try to install php5-devel, it does not work by using the following command.
zypper install php5-devel
client:/ # zypper install php5-devel
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
Loading repository data...
Reading installed packages...
Package 'php5-devel' not found.
Resolving package dependencies...
Nothing to do.
I need to install the php5-devel and php-pear to run pecl on db2 database driver.
|
Well, there is one thing you can do in this case: Call SuSE support....SuSE enterprise Linux is a commercial, PAY-FOR distribution. Unless you pay for it, you don't get access to the repositories, which is what the error is telling you. If you're paying and have that problem, they can help you get it resolved quickly. If you're NOT paying, there's not much you can do...aside from the VERY arduous task of compiling/installing that from source, along with ALL the dependencies (and all THEIR dependencies too...), one by one. And when you're done doing that, you'll be left with a system that's not stable, since you're mixing/matching things that are tested and certified together, with stuff that's not.
|
|
1 members found this post helpful.
|
08-04-2014, 06:35 AM
|
#3
|
LQ Newbie
Registered: Dec 2013
Posts: 12
Original Poster
Rep: 
|
Thank you TBone Guru.
It works now.
|
|
|
08-04-2014, 09:00 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,780
|
Quote:
Originally Posted by eshl
Thank you TBone Guru.
It works now.
|
Glad it's working...why don't you tell us what you did to GET it working?? Since you came here for help, others may also, so posting the solution is a good thing to do.
|
|
|
08-04-2014, 10:10 PM
|
#5
|
LQ Newbie
Registered: Dec 2013
Posts: 12
Original Poster
Rep: 
|
Hello TBOne Guru,
I follow the instructions from http://www.linuxfromscratch.org to configure, make test, make install for the following sources.
1) php-5.5.15.tar.bz2
2) libxml2-2.9.1.tar.gz
3) libffi-3.1.tar.gz
4) Python-2.7.8.tar.xz
5) zlib-1.2.8.tar.gz
Then I execute sudo pecl install ibm_db2
It will download and install ibm_db2.
|
|
|
08-05-2014, 12:35 AM
|
#6
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,700
|
WHY the "bleep" are you using tarbals???
call novell
pay for the license
use zypper
Code:
su -
zypper se php5
-------- and to see what repo it is in -----------
zypper info php5-devel
it will be in the Operating system base repo
|
|
|
08-05-2014, 01:33 AM
|
#7
|
LQ Newbie
Registered: Dec 2013
Posts: 12
Original Poster
Rep: 
|
Hello John Guru,
I have change my linux software repository to my company internal ftp server which has SLES 11 SP3.
I could not find php5-devel repo.
client:~/Desktop # zypper se php5
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-------------------+------------------------------------------+-----------
i | apache2-mod_php53 | PHP5 Module for Apache 2.0 | package
i | php53 | PHP5 Core Files | package
| php53 | PHP5 Core Files | srcpackage
| php53-bcmath | PHP5 Core Files | package
| php53-bz2 | PHP5 Core Files | package
| php53-calendar | PHP5 Core Files | package
i | php53-ctype | PHP5 Extension Module | package
| php53-curl | PHP5 Extension Module | package
| php53-dba | PHP5 Extension Module | package
i | php53-dom | PHP5 Extension Module | package
| php53-exif | PHP5 Extension Module | package
| php53-fastcgi | FastCGI PHP5 Module | package
| php53-fileinfo | PHP5 Extension Module | package
| php53-ftp | PHP5 Extension Module | package
| php53-gd | PHP5 Extension Module | package
| php53-gettext | PHP5 Extension Module | package
| php53-gmp | PHP5 Extension Module | package
i | php53-iconv | PHP5 Extension Module | package
| php53-intl | PHP5 Extension Module | package
i | php53-json | PHP5 Extension Module | package
| php53-ldap | PHP5 Extension Module | package
| php53-mbstring | PHP5 Extension Module | package
| php53-mcrypt | PHP5 Extension Module | package
| php53-mysql | PHP5 Extension Module | package
| php53-odbc | PHP5 Extension Module | package
| php53-openssl | PHP5 Extension Module | package
| php53-pcntl | PHP5 Extension Module | package
| php53-pdo | PHP5 Extension Module | package
| php53-pear | PHP Extension and Application Repository | package
| php53-pgsql | PHP5 Extension Module | package
| php53-pspell | PHP5 pspell extension | package
| php53-shmop | PHP5 Extension Module | package
| php53-snmp | PHP5 Extension Module | package
| php53-soap | PHP5 Extension Module | package
| php53-suhosin | PHP5 Extension Module | package
| php53-sysvmsg | PHP5 Extension Module | package
| php53-sysvsem | PHP5 Extension Module | package
| php53-sysvshm | PHP5 Extension Module | package
i | php53-tokenizer | PHP5 Extension Module | package
| php53-wddx | PHP5 Extension Module | package
i | php53-xmlreader | PHP5 Extension Module | package
| php53-xmlrpc | PHP5 Extension Module | package
i | php53-xmlwriter | PHP5 Extension Module | package
| php53-xsl | PHP5 Extension Module | package
| php53-zip | PHP5 Extension Module | package
| php53-zlib | PHP5 Extension Module | package
client:~/Desktop # zypper info php5-devel
Loading repository data...
Reading installed packages...
package 'php5-devel' not found.
Thanks in advance for help.
|
|
|
08-05-2014, 02:22 AM
|
#8
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,700
|
to see what repos are installed
you might also want to refresh the database of software
|
|
|
08-05-2014, 04:34 AM
|
#9
|
LQ Newbie
Registered: Dec 2013
Posts: 12
Original Poster
Rep: 
|
Hello John Guru,
Here is the result of the repo
client:~/Desktop # zypper ls
# | Alias | Name | Enabled | Refresh | Type
--+-----------+-----------+---------+---------+------
1 | suse_repo | suse repo | Yes | Yes | yast2
client:~/Desktop # zypper refs
All services have been refreshed.
client:~/Desktop # zypper search php5-devel
Retrieving repository 'suse repo' metadata [done]
Loading repository data...
Reading installed packages...
No packages found.
Thank you
|
|
|
All times are GMT -5. The time now is 11:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|