Difference between revisions of "Php"

From KeegansWiki
Jump to navigation Jump to search
(Created page with '=CLI= ==Running code from command line== <pre> php -r "echo date('Y-m-d H:i:s');"; 2011-04-20 11:49:55 </pre>')
 
Line 5: Line 5:
 
2011-04-20 11:49:55
 
2011-04-20 11:49:55
 
</pre>
 
</pre>
 +
=Compiling Issues=
 +
==ltdl==
 +
/usr/bin/ld: cannot find -lltdl
 +
collect2: ld returned 1 exit status
 +
make: *** [libphp5.la] Error 1
 +
yum install libtool-ltdl libtool-ltdl-devel

Revision as of 10:33, 8 December 2011

CLI

Running code from command line

php -r "echo date('Y-m-d H:i:s');";
2011-04-20 11:49:55

Compiling Issues

ltdl

/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

yum install libtool-ltdl libtool-ltdl-devel