Linux - SoftwareThis 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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.