Problem sa instalacijom LAMPP na Mintu 17.3

2

Problem sa instalacijom LAMPP na Mintu 17.3

offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

Nasao sam http://stackoverflow.com/questions/5891802/how-do-.....che-server
folder
/etc/apache2/sites-available

u fajlu mydevsite.conf
sam ubacio putanju koja ne radi
DocumentRoot /home/linuxmint/websajt/public_html
mozda treba jos nesto negde
Kako da vratim kao sto je bilo, pozdrav



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

U medjuvremenu sam pitao sad cu da vidim, hvala



offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

Ovako izgleda
<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /home/linuxmint/websajt/public_html
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/linuxmint/websajt/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /home/linuxmint/websajt/logs/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /home/linuxmint/websajt/logs/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

Ovde sam pogresio u prethodnoj instalaciji pre ove i ovako stoji nisam nista drugo menjao, kako da je default da ispravim sigurno zato samo vrti connecting i nista

offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

Svuda sam ispravio sa /var/www/html mesto moje putanje
<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/html
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/www/html/logs/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/www/html/logs/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

opet nista

offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

zatim sam pokusao da restartujem apache2
sudo service apache2 restart
Rezultat fail
udo service apache2 restart
[sudo] password for linuxmint:
* Restarting web server apache2 [fail]
* The apache2 configtest failed.
Output of config test was:
env: apache2ctl: No such file or directory

offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

Evo u programu sve radi restartovao program


a kad restartujem u konzoli
sudo service apache2 restart
* Restarting web server apache2 [fail]
* The apache2 configtest failed.
Output of config test was:
env: apache2ctl: No such file or directory

Ovde ima verovatno vise ispetljanih stvari koje sam uradio nije valjda resenje da ponovo instaliram linux Smile izgleda

offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

Meni odavde cita xampp
http://linuxmint-ms-7680/dashboard/

phpmyadminn radi ali ne radi localhost

offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

Razlog zasto nemam localhost jeste da sam obrisao putanju root localhost tako da je to 100% razlog, ali sam obrisao jos neke vazne fajlove sada cu morati opet da instaliram linux

offline
  • Pridružio: 25 Mar 2015
  • Poruke: 548

Napisano: 19 Jan 2016 11:25

gksudo gedit /etc/php5/apache2/php.ini

nema
;extension=mysql.so

pa sam dodao
extension=mysql.so

sudo /etc/init.d/apache2 restart

* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[ OK ]

rezultat nista
If you get a 404 error upon visiting http://localhost/phpmyadmin: You will need to configure apache2.conf to work with Phpmyadmin.

sudo gedit /etc/apache2/apache2.conf

Kako sad da podesim ovo?
Hvala pozdrav

Ko je trenutno na forumu
 

Ukupno su 291 korisnika na forumu :: 2 registrovanih, 0 sakrivenih i 289 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 1567 - dana 15 Jul 2016 20:18

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: kovac9mm, Miroslav.Cvejic