Ask Your Question

Create new site

asked 2013-07-17 18:16:12 -0500

Lubomyr gravatar image

updated 2013-07-17 22:40:56 -0500

FranciscoD_ gravatar image

I'm just new at fedora, today start read documentation, so match to learn. But I can't work with out my php sites, nead to use apache and mysql, after Windows 7/8 experience of using it's so hard to work with fedora, can anybody help with getting start.

  1. How to create new empty site, and where they located?
  2. Can I work on fedora with Zend Framework like in Windows?

P.S. Try to install XAMPP and get some errors 'post-install errors...', at result xampp can't start.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-07-17 21:33:03 -0500

pajafumo gravatar image

Hi there, great you are new to Fedora. I think I can help you. Just Follow these steps:

Open a new terminal (Apps -> System Tools -> Terminal ) type: su then enter your root password Then copy an paste line by line and press enter after copy each line:

yum -y install httpd service httpd start chkconfig --levels 235 httpd on

yum -y install mysql mysql-server mysql-devel mysql-bench mysql-libs mysql-workbench chkconfig --levels 235 mysqld on /etc/init.d/mysqld start

choose a password for mysql and replace ${MYSQL_PASS} on the next 2 lines

mysqladmin -u root password ${MYSQL_PASS} mysqladmin -h localhost -u root password ${MYSQL_PASS}

yum -y install php php-cli php-common php-devel php-eaccelerator php-gd php-imap php-ldap php-magickwand php-magpierss php-mapserver php-mbstring php-mcrypt php-mhash php-mssql php-mysql php-mysql php-odbc php-pdo php-pear php-pear-Image-Canvas php-pear-Image-Color php-pear-Image-Graph php-pear-Numbers-Roman php-pear-Numbers-Words php-shout php-snmp php-soap php-tidy php-xml php-xmlrpc t1lib php-adodb

Sites normally at located at /etc/var/www You have to access to that folder as root, then you can create your sites there. You can manage your mysql databases with MySQL Workbench which we installed before.

I think you can use Zend Framework without a problem... may be you have to install some particular library but you can find help on Zend site.

let me know if I can help you with another thing.


edit flag offensive delete link more


Everything work, thanks Paul.

Lubomyr gravatar imageLubomyr ( 2013-07-18 15:12:07 -0500 )edit

great! let me know if you need more help.

pajafumo gravatar imagepajafumo ( 2013-07-19 21:30:30 -0500 )edit

answered 2013-07-19 14:04:32 -0500

Lubomyr gravatar image

When I just copy all my web sites from windows xampp, Zend Framework sites get error 404 on site navigate, to fix that problem just find httpd.conf in and change "AllowOverride None" to "AllowOverride All".

edit flag offensive delete link more


@Lubomyr If got a problem, post it in a comment. What you did here was to post an answer.

dnlsrl gravatar imagednlsrl ( 2013-07-19 15:49:10 -0500 )edit

Question Tools


Asked: 2013-07-17 18:16:12 -0500

Seen: 232 times

Last updated: Jul 19 '13