General :: Unable More Php Extensions On Gentoo Server?
Feb 14, 2010I have working apache/php/mysql on my Gentoo server. But I have to enable some extensions in php (json, exif).
I did: USE="dev-lang/php json exif" emerge dev-lang/php
I have working apache/php/mysql on my Gentoo server. But I have to enable some extensions in php (json, exif).
I did: USE="dev-lang/php json exif" emerge dev-lang/php
I'm unable to mount any dvd on my HP 6735s laptop running Gentoo (with combined stable (+) and testing (~) ebuilds). Here's everything that I can come up with: $uname -a Linux aiur 2.6.32.6-aiur-r5 #6 SMP Thu Jan 28 17:02:59 CET 2010 x86_64 AMD Turion(tm)X2 Dual Core Mobile RM-70 AuthenticAMD GNU/Linux
NOTE: -aiur-r5 is my custom kernel name. I am having this problem with all the kernels since 2.6.31. I use the vanilla kernels from www.kernel.org and compile them with some custom settings using menuconfig.
$ ls -l /dev/{cd,dvd,scd,sr}*
lrwxrwxrwx 1 root root 3 Jan 28 17:37 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Jan 28 17:37 /dev/cdrw -> sr0
lrwxrwxrwx 1 root root 3 Jan 28 17:37 /dev/dvd -> sr0
[Code]...
I downloaded Gentoo and burnt it on CD.I did boot the livecd and the system passed starting stage and it recognised my hardware. After that, there islivecd login prompt, and obviously I tried to use root and no password but it says login incorrect. This is what I did:
Code:
livecd login: root
Password: [hit enter here]
[code]....
I'm trying to set up an NFS server on a Gentoo VM. I've installed nfs-utils-1.2.2 and added the following line to the /etc/exports file code...
It complains about not finding the /lib/modules/2.6.24-9-pve/modules.dep file, but the /lib/modules directory doesn't even exist on this machine.
Does anyone know how to get it to work?
I installed git and gitosis as described here in this guide Here are the steps I took:
Server: Gentoo
Client: MAC OS X
1) git install emerge dev-util/git
2) gitosis install
cd ~/src
git clone git://eagain.net/gitosis.git
cd gitosis
python setup.py install
[Code]....
SSH asked password for user git. Why ssh should allow me to login as user git? The git user doesn't have a password. The ssh key I created is for the user expert. How this should work?
Do I have to add some params to sshd_config?
I have a directory of a load of files without extensions. I know what the filetype should be, so is there any way of batch renaming the files to append a given extension onto it. i.e. text would be renamed as text.txt?
View 3 Replies View RelatedToday I did the Seamonkey 2.1 update. I found out that some of the add-ons or extensions did not work. They were disabled, due to incompatible versions. I found out a simple solution. I hope this helps some. This helped me with the Webdeveloper, fxif and Novell Moonlight extensions. In the file install.rdf is an element called MaxVersion. Change this to 2.1.* and the extensions work again.
The file install.rdf is to be found in ~/.mozilla/seamonkey/user-thingies.default/extensions/{extensioncode}
The changed code for Moonlight looks like this:
Code:
<Description>
<em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
<em:minVersion>2.0b1</em:minVersion>
<em:maxVersion>2.1.*</em:maxVersion>
</Description>
Good luck if you are a Seamonkey user.
few days ago i installed the newest opensuse 11.4 32bit system and all is working really fine.except when starting apache or doing a php -v on the CLI i receive the following error ->
php -v
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/extensions/intl.so' - /usr/lib/php5/extensions/intl.so:
undefined symbol: grapheme_extract_count_iter in Unknown on line 0
i know this bug has been reported earlier and i found quite a few results in google.i even found one result where the problem was fixed and updated in an additional opensuse repository -> Additional package repositories - openSUSE the repository with the fix is the following -> Index of /repositories/server:/php/openSUSE_11.4 so ... i added this repository via YAST to the repositories in my system without any problems but whenever i do a system update via YAST i don't receive new fixes and patches from the newly added repository!
if i directly browse to the /i586 folder in the repository i see all the PHP updates with version 5.3.7 and the latest updates were done 19 aug 2011 Index of /repositories/server:/php/openSUSE_11.4/i586 but my system still has PHP version 5.3.5 installed and somehow doesn't want to update from the newly added repository for the apache php modules so ... i just double checked and the repository is enabled in YAST ... but I still don't receive updates from there i would like to update to the new apache php modules, to get rid of that php '/usr/lib/php5/extensions/intl.so' warning, but somehow that doesn't seem to work
I'm trying to install a network printer to my Gentoo workstation, but have never used printing in Linux before and am unsure of how to proceed. I'm stuck in the CUPS web interface based printer adding process, at what device and device URI to set. I have looked through the properties and settings of the printer on the server machine, but couldn't find anything relevant.The printer model is Brother HL-1430, and it's attached with USB to the Windows XP powered printer server and shared to the network. Other (Windows) machines in the network can successfully reach the printer.
View 5 Replies View RelatedI am trying to bring up a third print server. I eventually want to remove printsrv1 since it is gentoo and on old hardware. . I've got the new ubuntu server all configured except for the print driver database.. IEE.. when I try to connnect to a printer from a Windows node it needs me to load the driver.. I've got about 35 printers so I dont' want to do this for each one and I want them to be mirrors of the other 2 with the drivers so there are no conflicts..My question is,,, is there a way to transfer the Samba printer database mappings from one box to another?
View 1 Replies View RelatedI installed Gentoo on my WD Mybook WE II and im forget/dont know the ssh password. I can access Public shared folder but there is no access to change it. Any idea? I need to log in to mybook via ssh to install anti virus on it.
View 1 Replies View RelatedI have installed apache 2 and php 5 on my server. It works great but what I need is to add few extensions to PHP so it supports my website:
PDO (with MySQL and PostgreSQL driver)
curl
GD2 or Imagick
How can I do that?
I have located my php.ini file. It's in the /etc/php5/apache2.php.ini. I have used nano /etc/php5/apache2/php.ini to open it and I searched for "curl", "pdo" etc but there is no mention of them in the php.ini file. No commented lines with these extensions.
Will it work if I just add this on the end of my php.ini?
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
I'm trying to create some PHP extensions. I have installed php-devel as well as the other preqs I thought were required. However I'm not able to find ext_skel. The file README.EXT_SKEL was installed, but not the actual program (find / -name ext_skel). My understanding was ext_skel was installed with php-devel. I know it is in the source code, but I'm not sure where to get the source for PHP 5.1.6 for my version of CentOS.
I'm running linux 5.3
2.6.18-128.1.10.el5
i386
want to use my flash drive. How do I get this working?
I logged in as the root user and tried the following:
mkdir usbflash
mount /dev/sdb1 /mnt/usbflash
ls usbflash
and
mkdir /mnt/usb
mount -t vfat /dev/sdb1 /mnt/usb
still can't get it working. What do I do?
I am doing a migration and where i face problem with few file formats . I have the list of acceptable file formats , now i need to find the rest of the file formats other than the acceptable file formats. is there any tool available for this ? or can some give me the VBA macro .. My VBA macro works to find the file extension in a particular folder but the problem is its ending when the count increases to 65000 (excel limit). How do i use If condition here to avoid the acceptable format and give me unique file formats .
[Code]....
I'm not very smart in informatic; I just bought a live DVD with gentoo on it, but I can't see any installer. Who did achieve a good installation?
View 3 Replies View RelatedI'm a PHP developer trying to switch from Windows to Linux. So I'm new with Linux. I tried to google for a solution and tried the suggested wiki FAQ but with no success.I wanted to install zend-server-ce-php-5.3 today with yum. This worked okay.After this I tried to install php-5.3-extra-extensions-zend-server. This seemed to work.
View 3 Replies View Relatedhow to backup gentoo updates (not the database)?
Currently im using Sabayon 5.3 (based on gentoo).
I searched the entire web I couldn't fin only broken scripts!
Ok this is not a question but more or less a small tutorial to help those who have had just as much trouble or more in getting the intel driver + DRI working.
View 2 Replies View RelatedI was installing "wine" last night and since I knew it was going to take a while I closed the lid of the laptop and turned it upside down on the floor. (I always turn the laptop upside down when not using it otherwise might overheat)When I woke up this morning roughly 8 hours after I went to sleep the machine was turned off.Using the "last -x | grep shutdown | head -1" it stated that it went down at roughly 6 hours from when I went to sleep.The program I was installing got finished installing but I never set up an auto-shutdown program or anything of the sort.If this isn't a problem with linux then its a problem with my bios. If its a problem with my bios I will just have to live with it because my bios is locked. /var/log/messages says this:
Code:
alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
alexslaptop shutdown[14933]: shutting down for system halt
[code]...
I am building gentoo through a fully installed Ubuntu system. My swap partition is in use by the Ubuntu system so when I use the mkswap command I get that the partition is already in use. I expected this but I was wondering if postponing the mount of swap until after I have booted into the gentoo system would cause any problems. Am I going to have to edit a bunch of files if I mount my swap later?? Also, I didn't see any manuals mentioning building a gentoo system from a fully installed system, is that going to cause any problems? This is my first gentoo installation, so I'm not really experienced with gentoo. I didn't think that building from a full install would be any different than a live cd other than more resources are already in use. I'm not actually having problems with install. I just want to make sure I wont.
View 4 Replies View RelatedI have a iMac G5 only with Gentoo installed on it and every time I turn it on, it plays the startup chime.
I already have my headset plugged in but this doesn't mute the sound.
Is there a way to turn it off using the Open Firmware or, if this isn't possible, could a script do this ?
All of the guides I could find online were from 2004 and they no longer work. someone create a step by step guide? I have Apache working, but PHP does not work.
View 1 Replies View RelatedI had GNOME DE but recently I've switched to Awesome WM.The only problem I have I can't set smooth fonts in Gnome-terminal.If I start gnome-settings-daemon, all the fonts in terminal become smooth, but is it possible to make it work without gnome-settings-daemon?I would change the terminal if in another smooth fonts were.
My ~/.fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
[code]....
I'm trying to install Gentoo on a virtual machine (VirtualBox installed on my debian squeeze).
My connexion at home is veeery slow, so I wanted to do it at work (don't judge me!), the thing is I' behinf a proxy.
I tried the command
Code:
export http_proxy="proxy:port"
but couldn't ping anything. On the other hand, when i use
Code:
links www.google.com -http-proxy host:port
that works...
So i was able to download the stage3 file and start preparing the system, but I have some troubles when it comes to use the provided tools (the tool to add a mirror can't retrieve the list for example, and I guess I could not emerge anything either)
gentoo linux starts but hangs after displaying some lines, no error message, no panic, just stops after about 20 lines
View 2 Replies View RelatedI have some directories with a varying numbers of files and subdirectories. All files that have no extensions have to be tared. Their names may change, thus they can not be hardcoded. Subdirectories may also contain a unspecified number of files and subdirectories that are not relevant and should not be included in the archive.
I'd like to be able to do this with a single line, not using any .sh scripts, so that this process could be reproduced as portably as possible.
Sample directory structure:
$ ls -1F
bar-dir/
bar.with.dots
foo-directory/
foo-no-ext
[Code].....
I've got a Gentoo box that I'm interested in switching over to an Ubuntu box.
I currently have the partitions laid out using a mixture of RAID (mdadm) and LVM2, as specified in this document [1].
Ideally I'd like to just wipe out the non /home partition, as it's got data I'd like to keep.
Is it possible to reuse the current setup, or do I need to restart? vgdisplay, vgchange -a y, etc don't yield any results from the Ubuntu LiveCD, and I'm wary to run any commands that might wipe my data.
[1] [url]
In my Debian installation I can type extended ASCII characters such as åäö by default using the terminus font, however in Gentoo I can't get it to work so far. Nothing happens when I hit those keys, like in this thread:Missing glyphs in Terminus font, how to setup a fallback font ? But in this case I know terminus supports those characters in at least some of its versions, since it's works in Debian. So what I want is to find out how to see and choose which of the many different terminus font files is being used. I set the font in the same way on both Debian and Gentoo, using URxvt*font: xft:terminus:size=xx in .Xdefaults. Both systems use en_US.UTF-8 as default locale.
View 1 Replies View RelatedI am working on a light version of linux for no particular reason other than to see how small I could make it. I was wondering if INIT was necessary, or if I could perform all of the INIT-related tasks (fsck, unmounting, etc) by hand/bash scripts?
I do not need multi-user functionality (Or much of anything for that matter). I started off with a Gentoo base 2.0.2 Install with kernel 2.6.38.