Main Menu
Search
Login
Username:

Password:


Lost Password?

Register now!
Daniel's Wiki - Installation Fedora Core 4 (en)

HomePage > Installation (en) > Installation Fedora Core 4 (en)


Installation Fedora Core 4

Theese notes are addition to install documentation recently on vhcs web documentation section Installation Fedora Core 4. stuff I added to sections is marked green

PHP

# cd /usr/local/
# lynx http://www.php.net/get/php-4.3.10.tar.bz2/from/a/mirror
Download the source from a local mirror
# bunzip2 php-4.3.10.tar.bz2
# tar xvf php-4.3.10.tar
# mv php-4.3.10 php
# cd php
# ./configure \
    --with-mysql --with-pgsql --with-mcrypt=/usr/lib \
    --build=i386-redhat-linux --target=i386-redhat-linux-gnu \
    --with-jpeg --with-openssl --with-png \
    --with-pear --with-calendar --with-xml \
    --with-ftp --with-freetype --with-bz2 --with-iconv \
    --sysconfdir=/etc --mandir=/usr/share/man \
    --enable-sockets --enable-calendar  --enable-bcmath \
    --enable-ctype --enable-exif --enable-filepro \
    --enable-ftp --enable-memory-limit \
    --enable-sigchild --enable-magic-quotes \
    --enable-yp --enable-track-vars \
    --with-apxs2=/usr/sbin/apxs
# make ; make install
(note: use "make clean" if configuration changes)
# vi /etc/httpd/conf/httpd.conf
remove new LoadModule libphp4.so entry
# service httpd restart

Note by amldc: I had to add a slash to the specified libraries DIR and used a newly installed MySQL, thus modified the --with-mysql option. Also added support for mhash library, required for some cryptography functions of PEAR library.

--with-mcrypt=/usr/lib/
--with-mhash=/usr/lib/
--with-mysql=/usr/local/mysql/
there is many options, theese two are for oscommerce and galerry
--with-zlib
--with-gd


Post installation stuff

  • stop sendmail service #chkconfig –levels 235 sendmail off
  • start postfix service #chkconfig -levels 235 postfix on
  • edit /etc/proftpd.conf, line 50 change User and Group to ftp
  • start vhcs2 service – in /etc/rc.local add line, when service started another way it doesn’t work properly

/var/www/vhcs2/daemon/vhcs2_daemon

  • edit /etc/httpd/conf/httpd.conf

    • set server name
    • comment one of lines containing Load Module php5
  • switchmail -> postfix
  • edit /etc/postfix/master.cf, set all options where is N in chroot column to n when postfix not in chroot as in this documentation
  • copy php.ini.dist to /usr/local/lib/php.ini – edit and set session path /tmp/phpsession

    • set magic quotes GPC to ON
  • edit /var/www/vhcs2/gui/tools/webmail/folders.php

edit line 156 to

      if (is_array($personal)) {$umFolderList =
      array_merge($system, $personal);}
  • edit /var/www/vhcs2/gui/tools/filemanager/functions_ftp.php

edit line 535 to

                  mcrypt_generic_deinit($td);