write to a file using php

$myFile = “testFile.txt”; $fh = fopen($myFile, ‘a’) or die(“can’t open file”); $stringData = “New Stuff 1\n”; fwrite($fh, $stringData); $stringData = “New Stuff 2\n”; fwrite($fh, $stringData);…

PHP basic compile options when buidling from source

  ./configure  –prefix=/usr –sysconfdir=/etc –with-config-file-path=/etc/ –localstatedir=/var –with-apxs2 –with-openssl –with-zlib –enable-calendar –with-gd –with-jpeg-dir=/usr/lib –with-png-dir=/usr/lib –with-imap –with-imap-ssl –with-kerberos –enable-sysvsem –enable-sysvshm –enable-sockets –with-curl –enable-mbstring –with-mcrypt –with-mysql –with-mysqli –with-gettext…