Jump to content

XAMPP for Linux


photoworks
 Share

Recommended Posts

Yes... I've installed it before, it's quite easy.

But I prefer the normal Apache/PHP/MySQL binaries, and webmin for controlling them.

 

i installed xampp on my computer and when i go to http://localhost. it seems to work

however, how do i set up the configuration file so that i can have access to the pages of my websites tests.

 

this is when i type http://localhost/mywebsite that it shows the file list instead of showing the index.htm page.

 

before i installed Xammp, the document root was var/www/html (where all my websites folder were located) but since i i installed Xammp, the document root seemed to have become, somehow, /opt/lampp/htdocs/. if i leave my websites folder in var/www/html and i type http://localhost/something, it says not present on the server. when i move the website folder in /opt/lampp/htdocs/ and i type http://localhost/something, then it display the directory contents of the folder without launching the index.htm file to display the page.

 

Furthrermore, i was able to enter in phpmyadmin, but when i want to create a new database, it tells me :

 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

 

any idea what is wrong ?

 

i tried to add privileges, but it is the same thing after that.

 

Is there any tutorial that explain how to setup the configuration files :

 

/opt/lampp/etc/httpd.conf The Apache configuration file.

/opt/lampp/etc/my.cnf The MySQL configuration file.

/opt/lampp/etc/php.ini The PHP configuration file.

/opt/lampp/etc/proftpd.conf The ProFTPD configuration file. (since 0.9.5)

/opt/lampp/phpmyadmin/config.inc.php The phpMyAdmin configuration file

 

Help please !!!!!!

 

 

 

MY configuration :

 

Linux Mandriva 2005

 

XAMPP Linux 1.4.13 (Apache 2.0.53, MySQL 4.1.11, PHP 5.0.4 & 4.3.11 & PEAR + SQLite 2.8.9/2.8.14 + multibyte (mbstring) support, Perl 5.8.6, ProFTPD 1.2.10, phpMyAdmin 2.6.1-pl3, OpenSSL 0.9.7d, GD 2.0.1, Freetype2 2.1.7, libjpeg 6b, libpng 1.2.7, gdbm 1.8.0, zlib 1.1.4, expat 1.2, Sablotron 1.0, libxml 2.4.26, Ming 0.2a, Webalizer 2.01, pdf class 009e, ncurses 5.8, mod_perl 2.0.0-RC4, FreeTDS 0.62.4, gettext 0.11.5, IMAP C-Client 2002b, OpenLDAP (client) 2.2.13, mcrypt 2.5.7, mhash 0.8.18, eAccelerator 0.9.2a, cURL 7.13.1, libxslt 1.1.8, phpSQLiteAdmin 0.2, libapreq 2.04-dev)

 

:wall:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...