Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Apache, Mysql si PHP pe FreeNAS-9.10.1-U2 (f045a8b)

Status
Not open for further replies.

Sekai

Newbie
Joined
Oct 17, 2016
Messages
1
Buna ziua.Am incercat sa fac un webserver prin jail cu apache24, mysql57 si php70, problema este ca apache24 functioneaza perfect in html doar ca php nu functioneaza deloc.Am incercat si phpinfo(); dar degeaba imi arata o pagina goala.Am urmarit 2 tutoriale cu acelasi rezultat. Primu: https://www.youtube.com/watch?v=RquofzAVvzk si https://www.iceflatline.com/2011/11/how-to-install-apache-mysql-php-and-phpmyadmin-on-freebsd/
Al doilea link dureaza mai mult la instalare dar cu acelasi rezultat.Faza este ca phpmyadmin imi arata ca am php.Ca si el functioneaza cu php.
Aici este in httpd.conf:
Code:
<FilesMatch "\.php$">
  SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
  SetHandler application/x-httpd-php-source
</FilesMatch>

Alias /phpmyadmin "/usr/local/www/phpMyAdmin"

<Directory "/usr/local/www/phpMyAdmin">
Options None
AllowOverride None
Require all granted
</Directory>
 
Status
Not open for further replies.
Top