Hello, Can you please help me with this : $ sudo pkg add phpMyAdmin-2.11.7.1.tgz Can't install php5-gd-5.2.6: lib not found X11.11.1 Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6, t1lib-5.1.0p1, png-1.2.28 Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5- core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28 Can't install php5-gd-5.2.6: lib not found Xpm.8.0 Can't install php5-gd-5.2.6: lib not found freetype.16.1 Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6 FYI box is 4.4 fresh install, i386, working as a server, so graphic support. Thanks. J-F
Looks like you're missing xbase44.tgz. -- Cezary Morga "If everything seems under control, you're not going fast enough" (Mario Andretti)
On Tue, 14 Apr 2009 18:14:35 +0200, Jean-Francois wrote I assume "so graphic" means "no graphic" You need to install the X libraries. Based on your lack of experience, , I recommend you follow the step-by-step instructions for installing xbase44.tgz in FAQ 4.10.
Not again! Can't people read?????????????? When buying something you don't know how it works. Do you wait someone to come home and fix it for you or do you read the manual? -- Antoine
Hi, That's why i asked the man ref / link, i could'nt find anything. But i see some do not understand what being patient with begininers mean. It's only few months i now use this system but it's really not easy thought theres a lot of documentations sometimes it's not easy to find where, is'nt it ?! Regards.
Common, it has nothing to do with being a beginner. Did you read the FAQ, i.e Frequently Asked Questions? You call me impatient but you have been using this system "only few months". How much time should I wait? A couple of years? This pissed me off because there are very talented people writing very fine documentation and there are other people translating it into most major languages. I'm sorry but there is no excuse not to read or at least refer to the FAQ when you encounter an issue. People give their time for this. -- Antoine
Hi, I totally agree. I think I just missed it from where the info is available either in the man pages or directly in the FAQ itself.
No. It's all here: http://www.openbsd.org/faq/index.html. -- Cezary Morga "Indecision may or may not be my problem." (Jimmy Buffett)
On Tue, 14 Apr 2009 18:14:35 +0200 rtfm it's in the faq you dont have xbase44.tgz installed - Robert
phpMyAdmin needs php5 and the php5 GD extension. There are two versions of that extension, one that needs X libraries and one that doesn't. By I'll assume here you meant "no graphic support", and by that you mean that you did not install the X sets. Since pkg_add picked the GD extension package that needs X libraries, you get the error. Use: $ sudo pkg_add -i phpMyAdmin and pkg_add will recognize that there are two versions of the php5 GD extension package available and ask you which one to install. Use the one whose name includes "no_x11". Alternatively, you can install package php5-gd-5.2.6-no_x11.tgz manually first, then install phpMyAdmin. Matt. -- "With your own code to haunt you, who needs users?" -- Maarten Wiltink
It looks like right after installing there is a problem : at http://<localhost>/phpMyAdmin/index.php : a red line with "phpMyAdmin - Erreur" "Erreur lors du do?=marrage de la session, veuillez vo?=rifier les erreurs indiquo?=es par PHP ou dans le fichier to?=moin du serveur web, et configurer PHP correctement." Then from apache error log : [Wed Apr 15 00:17:04 2009] [error] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp//sess_kt447gtf9i2qj3f74b3jve2abdf8fgi8, O_RDWR) failed: Permission denied (13) in /phpMyAdmin/libraries/session.inc.php on line 87 [Wed Apr 15 00:17:04 2009] [error] PHP Warning: Unknown: open(/tmp//sess_kt447gtf9i2qj3f74b3jve2abdf8fgi8, O_RDWR) failed: Permission denied (13) in Unknown on line 0 [Wed Apr 15 00:17:04 2009] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 I made the sym link as stated - did I miss something ? What are basic tests to find the root ? any idea ? Thank you.
You need to give write permissions to your webserver on the /var/www/tmp directory. -- Antoine
On Wed, Apr 15, 2009 at 12:24 AM, Jean-Francois <jfsimon1981@gmail.com> Man, have you at least looked at the output of pkg_add?!? The error message is pretty clear... $ pkg_info -M php5-core [...] "Don't forget that the default OpenBSD httpd is chrooted into /var/www by default, so you may need to create support directories such as /var/www/tmp for PHP to work correctly." -- Mattieu Baptiste "/earth is 102% full ... please delete anyone you can."
